platform/upstream/linaro-gcc.git
22 years agoExpect the compilation to fail because the COFF format does not support the
nickc [Wed, 6 Feb 2002 12:15:53 +0000 (12:15 +0000)]
Expect the compilation to fail because the COFF format does not support the
weak attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49544 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Paolo Carlini <pcarlini@unitus.it>
paolo [Wed, 6 Feb 2002 12:13:00 +0000 (12:13 +0000)]
2002-02-06  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (money_get::do_get(string)):
In case money_base::symbol deal properly with multi-char sign
for patterns {X,Y,Z,symbol} and {X,Y,symbol,none}.
* testsuite/22_locale/money_get_members_char.cc: Add test07.
* testsuite/22_locale/money_get_members_wchar_t.cc: Add test07.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49543 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoAccept LABEL_REFs as well as SYMBOL_REFs from the constant pool.
nickc [Wed, 6 Feb 2002 09:08:19 +0000 (09:08 +0000)]
Accept LABEL_REFs as well as SYMBOL_REFs from the constant pool.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49542 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Wed, 6 Feb 2002 08:16:45 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49540 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
aoliva [Wed, 6 Feb 2002 07:40:38 +0000 (07:40 +0000)]
* dbxout.c (dbxout_parms): Apply DEBUGGER_ARG_OFFSET to parameters
passed by invisible reference.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49539 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.
rth [Wed, 6 Feb 2002 06:58:31 +0000 (06:58 +0000)]
    * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): No stack bias.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49538 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoOops, forgot these in last check-in.
bryce [Wed, 6 Feb 2002 05:45:23 +0000 (05:45 +0000)]
Oops, forgot these in last check-in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49537 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago Implement using "base addresses" in insn operands as default.
hp [Wed, 6 Feb 2002 05:13:12 +0000 (05:13 +0000)]
Implement using "base addresses" in insn operands as default.
* config/mmix/mmix.c (mmix_conditional_register_usage): if
-mabi=gnu, modify fixed_regs to fit the GNU ABI.
(mmix_extra_constraint): Use 'R' to indicate that GETA should be
used to read the rtx value.
(mmix_target_asm_function_epilogue): Fix spacing.
(mmix_constant_address_p): Handle TARGET_BASE_ADDRESSES.
(mmix_legitimate_address): Ditto.
(mmix_encode_section_info): Set SYMBOL_REF_FLAG on rtx:es that
should be loaded with a GETA insn.  Don't allocate needless extra
char for nul termination and fix misleading comment.
(mmix_print_operand_address): Handle constants if
TARGET_BASE_ADDRESSES.
(mmix_output_register_setting): Use base addressing if
TARGET_BASE_ADDRESSES and the number of insns is 3.
* config/mmix/t-mmix (MULTILIB_EXTRA_OPTS): New.
* config/mmix/mmix.md ("movdi"): Change the alternative with GETA
to use R as constraint, add LDA to match s.
* config/mmix/mmix.h (TARGET_BASE_ADDRESSES): New.
(TARGET_DEFAULT): Add TARGET_MASK_BASE_ADDRESSES.
(TARGET_SWITCHES): Add -mbase-addresses, -mno-base-addresses.
(FIXED_REGISTERS): Make registers $231..$246 fixed by default.
(MMIX_MMIXWARE_ABI_REG_ALLOC_ORDER): Move $231..$246 last, in
order with other fixed registers.
(MMIX_GNU_ABI_REG_ALLOC_ORDER): Put forward $231, in order with
other parameter/call-clobbered registers.
* doc/invoke.texi (Option Summary) <MMIX Options>: Add
-mbase-addresses, -mno-base-addresses.
(MMIX Options): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49536 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Eric Christopher <echristo@redhat.com>
echristo [Wed, 6 Feb 2002 02:50:09 +0000 (02:50 +0000)]
2002-02-05  Eric Christopher  <echristo@redhat.com>

* config/mips/crti.asm: Add changes for mips16. mips16 uses
register 7 as RA instead of $31.
* config/mips/crtn.asm: Ditto.
* config/mips/mips.c (mips_move_2words): Add case for
TARGET_MIPS16 when HOST_BITS_PER_WIDE_INT >= 64.
(compute_frame_size): Fix typo.
(save_restore_insns): Ditto.  Make documentation about using
register $7 as return register more precise.
(mips_expand_epilogue): Fix comment. Add code to work around not
being able to add to the stack pointer directly.
* config/mips/mips.h (EH_RETURN_DATA_REGNO): Change register number
to 2 for TARGET_MIPS16 as we need 6 and 7 as clobbers in the
epilogue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49535 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
bryce [Wed, 6 Feb 2002 01:46:46 +0000 (01:46 +0000)]
* configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
Symlink PLATFORMH to platform.h.
* Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
PLATFORMOBJS.
* java/lang/natSystem.cc: #include platform.h not posix.h.
* Makefile.in: Rebuilt with libgcj automake.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49534 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.h (PREDICATE_CODES): Add reg_before_reload_operand.
danglin [Wed, 6 Feb 2002 00:21:26 +0000 (00:21 +0000)]
* pa.h (PREDICATE_CODES): Add reg_before_reload_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49533 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-06 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 23:19:13 +0000 (23:19 +0000)]
2002-02-06  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h: Change elem to _S_elem.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49532 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Tue, 5 Feb 2002 22:34:37 +0000 (22:34 +0000)]
2002-02-05  David Billinghurst <David.Billinghurst@riotinto.com>

* g77.dg/pr5473.f:  New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49531 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/netbsd.h (WCHAR_TYPE): Define.
thorpej [Tue, 5 Feb 2002 19:01:56 +0000 (19:01 +0000)]
* config/netbsd.h (WCHAR_TYPE): Define.
(WCHAR_TYPE_SIZE): Ditto.
(WINT_TYPE): Ditto.
* config/alpha/netbsd.h (WCHAR_TYPE): Remove.
(WCHAR_UNSIGNED): Ditto.
(WCHAR_TYPE_SIZE): Ditto.
(WINT_TYPE): Ditto.
* config/arm/netbsd.h: Likewise.
* config/i386/netbsd-elf.h: Likewise.
* config/i386/netbsd.h: Likewise.
* config/m68k/netbsd-elf.h: Likewise.
* config/m68k/netbsd.h: Likewise.
* config/ns32k/netbsd.h: Likewise.
* config/sparc/netbsd.h: Likewise.
* config/vax/netbsd.: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49528 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* class.c: Include target.h.
aoliva [Tue, 5 Feb 2002 18:01:51 +0000 (18:01 +0000)]
* class.c: Include target.h.
(check_bitfield_decl): Disregard EMPTY_FIELD_BOUNDARY,
BITFIELDS_NBYTES_LIMITED and PCC_BITFIELD_TYPE_MATTERS for MS
bit-field layout.
* Make-lang.in: Adjust deps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49527 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* target.h (struct gcc_target): Added ms_bitfield_layout_p.
aoliva [Tue, 5 Feb 2002 17:56:34 +0000 (17:56 +0000)]
* target.h (struct gcc_target): Added ms_bitfield_layout_p.
* target-def.h (TARGET_MS_BITFIELD_LAYOUT_P): New.  Added to...
(TARGET_INITIALIZER): this.
* doc/tm.texi (TARGET_MS_BITFIELD_LAYOUT_P): Document.
(BITFIELD_NBYTES_LIMITED): Markup fix.
* tree.h (default_ms_bitfield_layout_p): Declare.
(record_layout_info): Added prev_field.
* tree.c (default_ms_bitfield_layout_p): New fn.
* c-decl.c (finish_struct): Disregard EMPTY_FIELD_BOUNDARY and
PCC_BITFIELD_TYPE_MATTERS for MS bit-field layout.
* stor-layout.c: Include target.h.
(start_record_layout): Initialize prev_field.
(place_field): Handle MS bit-field layout, and disregard
EMPTY_FIELD_BOUNDARY, BITFIELD_NBYTES_LIMITED and
PCC_BITFIELD_TYPE_MATTERS in this case.  Update prev_field.
* Makefile.in (stor-layout.o): Adjust dependencies.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49526 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * demangle.h (cplus_demangle_v3): Add "options" parm.
jason [Tue, 5 Feb 2002 16:33:31 +0000 (16:33 +0000)]
    * demangle.h (cplus_demangle_v3): Add "options" parm.
        (cplus_demangle_v3_type): Remove prototype.
        (DMGL_VERBOSE): New macro.
        (DMGL_TYPES): New macro.

        * cplus-dem.c (flags): Add DMGL_VERBOSE
        (cplus_demangle_v3_p): Remove.
        (demangle_it): Add DMGL_TYPES to passed flags.
        * cp-demangle.c (cplus_demangle_v3_all): Remove.
        (cplus_demangle_v3_type): Remove.
        (cplus_demangle_v3): Add options parm.

        * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49525 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Paolo Carlini <pcarlini@unitus.it>
paolo [Tue, 5 Feb 2002 11:35:48 +0000 (11:35 +0000)]
2002-02-05  Paolo Carlini  <pcarlini@unitus.it>

* include/bits/locale_facets.tcc (money_get::do_get(string)):
First construct a tentative returned string, then, only if the
parsing succeeds, copy it into the string passed by reference.
* testsuite/22_locale/money_get_members_char.cc: Add test06.
* testsuite/22_locale/money_get_members_wchar_t.cc: Add test06.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49523 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * crtstuff.c: Fix comments.
aj [Tue, 5 Feb 2002 10:31:06 +0000 (10:31 +0000)]
* crtstuff.c: Fix comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49522 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR fortran/3393
rth [Tue, 5 Feb 2002 09:49:31 +0000 (09:49 +0000)]
    PR fortran/3393
        * loop.c (loop_iv_add_mult_emit_before): Copy multiplier as well.
        (loop_iv_add_mult_sink, loop_iv_add_mult_hoist): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49521 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR fortran/3392
rth [Tue, 5 Feb 2002 09:27:15 +0000 (09:27 +0000)]
    PR fortran/3392
        * config/mips/mips.c (function_arg): Handle TImode.
        (function_arg_advance): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49520 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Undo munging last change.
rth [Tue, 5 Feb 2002 08:38:02 +0000 (08:38 +0000)]
    * Makefile.in: Undo munging last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49519 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 08:28:23 +0000 (08:28 +0000)]
2002-02-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h (vec_step_help): Rename to
        __vec_step_help.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49518 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Tue, 5 Feb 2002 08:18:42 +0000 (08:18 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49517 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 08:12:31 +0000 (08:12 +0000)]
2002-02-05  Aldy Hernandez  <aldyh@redhat.com>

        * gcc.dg/altivec-4.c: AltiVec builtin predicates changed format.
        Fix testcase accordingly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49515 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoUndo munging last update.
rth [Tue, 5 Feb 2002 08:05:41 +0000 (08:05 +0000)]
Undo munging last update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49514 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 07:56:33 +0000 (07:56 +0000)]
2002-02-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/altivec.h: Fix typos.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49513 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/built-in-setjmp.c: Prototype stuff.
rth [Tue, 5 Feb 2002 06:37:02 +0000 (06:37 +0000)]
    * gcc.c-torture/execute/built-in-setjmp.c: Prototype stuff.
        (buf): Change to be an array of pointers, not ints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49512 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/arm/netbsd.h: Correct a comment.
thorpej [Tue, 5 Feb 2002 02:39:31 +0000 (02:39 +0000)]
* config/arm/netbsd.h: Correct a comment.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49511 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Tue, 5 Feb 2002 02:18:55 +0000 (02:18 +0000)]
2002-02-05  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (altivec_init_builtins): Fix typo
        building void typed builtins.

        * config/rs6000/altivec.h (vec_ld*): Fix typos.
        (vec_step): Implement for C++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49510 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-04 Adam Megacz <adam@xwt.org>
megacz [Tue, 5 Feb 2002 02:08:16 +0000 (02:08 +0000)]
2002-02-04  Adam Megacz <adam@xwt.org>

        * win32.cc: Created it.
          configure.in: Added PLATFORM_SPECIFIC_SOURCES,
          which is set to posix.cc or win32.cc.
          Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49509 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-04 Adam Megacz <adam@xwt.org>
megacz [Tue, 5 Feb 2002 02:05:05 +0000 (02:05 +0000)]
2002-02-04  Adam Megacz <adam@xwt.org>

        * configure.in: Corrected mingw case branches; added * before
          and after.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49508 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-04 Adam Megacz <adam@xwt.org>
megacz [Tue, 5 Feb 2002 02:04:15 +0000 (02:04 +0000)]
2002-02-04  Adam Megacz <adam@xwt.org>

        * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
          if compiling for win32

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49507 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-04 Adam Megacz <adam@xwt.org>
megacz [Tue, 5 Feb 2002 01:59:44 +0000 (01:59 +0000)]
2002-02-04  Adam Megacz <adam@xwt.org>

        * win32-threads.cc: #undef STRICT after gc.h inclusion

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49506 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * error.c (dump_type): Be more helpful about VECTOR_TYPE.
jason [Tue, 5 Feb 2002 01:46:01 +0000 (01:46 +0000)]
    * error.c (dump_type): Be more helpful about VECTOR_TYPE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49505 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.
kenner [Tue, 5 Feb 2002 00:29:01 +0000 (00:29 +0000)]
* final.c (final_scan_insn): Add case for NOTE_INSN_LOOP_END_TOP_COND.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49503 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-04 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 5 Feb 2002 00:14:37 +0000 (00:14 +0000)]
2002-02-04  Phil Edwards  <pme@gcc.gnu.org>

* docs/doxygen/TODO:  Impl-defined behavior now documented...
* docs/html/17_intro/howto.html:  ...here.
* docs/doxygen/mainpage.doxy:  Remove, rename...
* docs/doxygen/mainpage.html:  ...to this.  Tweak HTML, add license.
* docs/doxygen/style.css:  Add small text.
* docs/doxygen/run_doxygen:  Adjust for new mainpage.
* docs/doxygen/user.cfg.in:  Likewise.

2002-02-04  Stephan Buys  <s.buys@icon.co.za>

* include/bits/stl_map.h:  Initial doxygen markup.
* include/std/std_fstream.h:  Initial doxygen markup.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49502 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * combine.c (nonzero_bits): Re-introduce special case for
rth [Mon, 4 Feb 2002 23:06:04 +0000 (23:06 +0000)]
    * combine.c (nonzero_bits): Re-introduce special case for
        sp/fp/ap wrt REGNO_POINTER_ALIGN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49501 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-01-31 Aldy Hernandez <aldyh@redhat.com>
aldyh [Mon, 4 Feb 2002 22:50:56 +0000 (22:50 +0000)]
2002-01-31  Aldy Hernandez  <aldyh@redhat.com>

        * doc/extend.texi: Warn about unsupported usage of altivec
        builtins.

        * config/rs6000/rs6000.md (altivec_vcmp*_p): Remove.
        (altivec_predicate_*): New.

        * config/rs6000/altivec.h: Rewrite predicates to use new builtins.
        Add C++ version of vec_*() functions.

        * config/rs6000/rs6000.c (bdesc_altivec_preds): New.
        (bdesc_2arg): Remove altivec predicates.
        (altivec_expand_builtin): Handle predicates.
        (altivec_init_builtins): Handle predicates.
        (altivec_expand_predicate_builtin): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49500 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.c (DO_FRAME_NOTES): Move forward.
danglin [Mon, 4 Feb 2002 22:41:59 +0000 (22:41 +0000)]
* pa.c (DO_FRAME_NOTES): Move forward.
(store_reg): Revise handling of frame notes.
(load_reg): Likewise.
(set_reg_plus_d): Likewise.
(hppa_expand_prologue): Likewise.
(hppa_expand_epilogue): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49499 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.
danglin [Mon, 4 Feb 2002 22:21:12 +0000 (22:21 +0000)]
* unwind-dw2-fde-glibc.c: Define _GNU_SOURCE if not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49498 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago PR c/4475, c++/3780:
jakub [Mon, 4 Feb 2002 22:05:15 +0000 (22:05 +0000)]
PR c/4475, c++/3780:
* c-common.def (SWITCH_STMT): Add SWITCH_TYPE operand.
* c-common.h (SWITCH_TYPE): Define.
* c-typeck.c (c_start_case): Set SWITCH_TYPE.
* stmt.c (all_cases_count): Set lastval to thisval at end of loop.
Rename spareness variable to sparseness.
(expand_end_case_type): Renamed from expand_end_case, use orig_type
if non-NULL instead of TREE_TYPE (orig_index).
* tree.h (expand_end_case_type): Renamed from expand_end_case.
(expand_end_case): Define using expand_end_case_type.
* c-semantics.c (genrtl_switch_stmt): Pass SWITCH_TYPE
to expand_end_case_type.
* doc/c-tree.texi (SWITCH_STMT): Document SWITCH_TYPE.

* semantics.c (begin_switch_stmt): Clear SWITCH_TYPE.
(finish_switch_cond): Set SWITCH_TYPE.

* gcc.dg/Wswitch.c: Fix typos.  Don't return unconditionally
before all tests.  Move warning one line above to match where it
C frontend emits.
* gcc.dg/Wswitch-2.c: New test.
* g++.dg/warn/Wswitch-1.C: New test.
* g++.dg/warn/Wswitch-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49497 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
danglin [Mon, 4 Feb 2002 21:37:14 +0000 (21:37 +0000)]
* pa.h (PREFERRED_STACK_BOUNDARY): Define to match standard rounding.
(BIGGEST_ALIGNMENT): Change to 128.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49496 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa32-linux.h (LINK_COMMAND_SPEC): Define.
danglin [Mon, 4 Feb 2002 21:16:51 +0000 (21:16 +0000)]
* pa32-linux.h (LINK_COMMAND_SPEC): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49492 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * pa.md (call_internal_reg_64bit): Remove unused variable.
danglin [Mon, 4 Feb 2002 21:05:25 +0000 (21:05 +0000)]
* pa.md (call_internal_reg_64bit): Remove unused variable.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49491 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoReplace current_function_anonymous_args with cfun->machine->uses_anonymous_args
nickc [Mon, 4 Feb 2002 20:23:07 +0000 (20:23 +0000)]
Replace current_function_anonymous_args with cfun->machine->uses_anonymous_args

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49490 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-04 Paolo Carlini <pcarlini@unitus.it>
paolo [Mon, 4 Feb 2002 19:51:32 +0000 (19:51 +0000)]
2002-02-04  Paolo Carlini  <pcarlini@unitus.it>

        libstdc++/5579
        * include/bits/locale_facets.tcc (money_get::do_get(string)):
        Deal correctly with !(__io.flags() & ios_base::showbase)
        for case money_base::symbol.
        * testsuite/22_locale/money_get_members_char.cc: Add test05.
        * testsuite/22_locale/money_get_members_wchar_t.cc: Add test05.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49489 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
bernds [Mon, 4 Feb 2002 19:19:04 +0000 (19:19 +0000)]
    * cfgrtl.c (force_nonfallthru_and_redirect): Don't try to redirect
         the entry block.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49488 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * g++.dg/abi/offsetof.C: Fix size comparison.
rth [Mon, 4 Feb 2002 18:27:59 +0000 (18:27 +0000)]
    * g++.dg/abi/offsetof.C: Fix size comparison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49487 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * combine.c (force_to_mode): Remove STACK_BIAS code.
rth [Mon, 4 Feb 2002 18:16:07 +0000 (18:16 +0000)]
    * combine.c (force_to_mode): Remove STACK_BIAS code.
        (nonzero_bits): Likewise.  Replace sp/fp special case with
        REGNO_POINTER_ALIGN.

        * config/sparc/sparc.h (FRAME_POINTER_REGNUM): Change to SFP.
        (HARD_FRAME_POINTER_REGNUM): New.
        (FIRST_PSEUDO_REGISTER, REG_CLASS_CONTENTS): Update.
        (FIXED_REGS, CALL_USED_REGS): Update.
        (REG_ALLOC_ORDER, REGISTER_NAMES): Update.
        (CONDITIONAL_REGISTER_USAGE): Update for HFP.
        (HARD_REGNO_NREGS): Update for SFP.
        (STACK_POINTER_OFFSET): Include bias here ...
        (FIRST_PARM_OFFSET): ... not here.
        (STACK_BIAS): Remove.
        (INIT_EXPANDERS): New.
        (STARTING_FRAME_OFFSET): Do not include bias.
        (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
        (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P): Update for SFP.
        (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Likewise.
        * config/sparc/aout.h (DBX_REGISTER_NUMBER): Update for HFP.
        * config/sparc/litecoff.h, config/sparc/sol2.h: Likewise.
        * config/sparc/sparc.c (mem_min_alignment): Update for HFP.
        (sparc_nonflat_function_prologue, epilogue_renumber): Likewise.
        (MUST_SAVE_REGISTER): Likewise.
        (sparc_flat_function_prologue): Likewise.
        (sparc_flat_function_epilogue): Likewise.
        (HARD_FRAME_POINTER_MASK): Rename from FRAME_POINTER_MASK.
        (sparc_init_modes): SFP is GENERAL_REGS.
        (sparc_builtin_saveregs): SFP does not have bias applied.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49486 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoReindent.
rth [Mon, 4 Feb 2002 17:58:08 +0000 (17:58 +0000)]
Reindent.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49485 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/alpha/alpha.c (current_function_is_thunk): Don't check
rth [Mon, 4 Feb 2002 17:44:26 +0000 (17:44 +0000)]
    * config/alpha/alpha.c (current_function_is_thunk): Don't check
        current_function_is_thunk.
        (alpha_sa_mask): Distinguish between current_function_is_thunk
        called from ASM_OUTPUT_MI_THUNK and not.
        (alpha_does_function_need_gp): Thunks always need gp.
        (alpha_start_function, alpha_output_function_end_prologue): Likewise.
        (alpha_output_mi_thunk_osf): New.
        * config/alpha/alpha-protos.h: Update.
        * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): New.

cp/
        * method.c (use_thunk): Always initialize the block tree.  Reindent.
        * semantics.c (expand_body): Emit thunks after function, not before.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49484 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* gcc.pot: Regenerate.
zack [Mon, 4 Feb 2002 17:05:24 +0000 (17:05 +0000)]
* gcc.pot: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49483 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/cast-qual-2.c: New test.
rsandifo [Mon, 4 Feb 2002 17:02:39 +0000 (17:02 +0000)]
* gcc.dg/cast-qual-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49482 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * c-typeck.c (build_c_cast): Warn when qualifiers are added to
rsandifo [Mon, 4 Feb 2002 17:01:30 +0000 (17:01 +0000)]
* c-typeck.c (build_c_cast): Warn when qualifiers are added to
function types, not when they're taken away.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49481 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * decl.c (start_function): Call cplus_decl_attributes immediately
jason [Mon, 4 Feb 2002 16:28:40 +0000 (16:28 +0000)]
    * decl.c (start_function): Call cplus_decl_attributes immediately
        after grokdeclarator.

        * decl.c (start_function): Combine DECL_RESULT handling code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49480 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoUpdate copyright dates.
pthomas [Mon, 4 Feb 2002 16:07:59 +0000 (16:07 +0000)]
Update copyright dates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49479 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
law [Mon, 4 Feb 2002 16:03:14 +0000 (16:03 +0000)]
    * cfgrtl.c (try_redirect_by_replacing_jump): Remove associated
        CODE_LABEL and jump table when replacing a table jump with a
        simple jump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49478 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-04 Philipp Thomas <pthomas@suse.de>
pthomas [Mon, 4 Feb 2002 15:58:51 +0000 (15:58 +0000)]
2002-02-04  Philipp Thomas  <pthomas@suse.de>

* bad.def com.c expr.c implic.c lex.c stb.c ste.c stu.c:
Insert comments to mark messages as not being printf style
where appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49477 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/s390/s390-protos.h (legitimize_la_operand,
uweigand [Mon, 4 Feb 2002 15:51:18 +0000 (15:51 +0000)]
* config/s390/s390-protos.h (legitimize_la_operand,
s390_secondary_input_reload_class, s390_plus_operand,
s390_expand_plus_operand): Add prototypes.

config/s390/s390.c (s390_secondary_input_reload_class,
s390_plus_operand, s390_expand_plus_operand): New functions.

(struct s390_address): New member 'pointer'.
(s390_decompose_address): Compute it.
(legitimate_la_operand_p): Use it.
(legitimize_la_operand): New function.
(movti, movdi, movdf splitters): Call it.

config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS): Define.
(PREDICATE_CODES): Add s390_plus_operand.

config/s390/s390.md (adddi3_inv_64, addaddr_ccclobber): Delete.
(la_ccclobber): Allow GENERAL_REGS as output operand.

(reload_load_address, *reload_load_address_reg_0, *la, *do_la_reg_0,
*reload_la_64, *reload_la_31 and splitters): Delete, replace by ...
(*la_64, *la_31, reload_indi, reload_insi): ... these.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49476 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
uweigand [Mon, 4 Feb 2002 15:43:02 +0000 (15:43 +0000)]
* gcc/config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Fixed
register names for regular asm () construct.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49475 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/i386/i386.md (movsf_1): Allow moving SF values in MMX
jakub [Mon, 4 Feb 2002 09:48:34 +0000 (09:48 +0000)]
* config/i386/i386.md (movsf_1): Allow moving SF values in MMX
registers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49474 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * combine.c (recog_for_combine): Create a dummy insn with PATTERN
jakub [Mon, 4 Feb 2002 09:40:57 +0000 (09:40 +0000)]
* combine.c (recog_for_combine): Create a dummy insn with PATTERN
pat for recog.

* gcc.dg/20020201-4.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49473 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * xref.c: Remove.
jason [Mon, 4 Feb 2002 08:55:43 +0000 (08:55 +0000)]
    * xref.c: Remove.
        * Make-lang.in (CXX_OBJS): Remove cp/xref.o
        (cp/xref.o): Remove dependencies.
        * class.c (finish_struct_1, check_methods): Don't call xref fns.
        (finish_struct_1): Likewise.
        * friend.c (make_friend_class): Likewise.
        * lex.c (cxx_init, cxx_finish, extract_interface_info): Likewise.
        * spew.c (read_process_identifier): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49472 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
hpenner [Mon, 4 Feb 2002 08:29:08 +0000 (08:29 +0000)]
 * varasm.c (decode_rtx_const): Allow unspec (symbol_ref) in
     constant pool to be identical by string address and index.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49471 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * lib/gcc.exp (gcc_init): Check that the need_status_wrapper
bje [Mon, 4 Feb 2002 05:00:25 +0000 (05:00 +0000)]
* lib/gcc.exp (gcc_init): Check that the need_status_wrapper
target_info attribute != 0, in addition to the empty string.
(gcc_target_compile): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49470 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-04 Anthony Green <green@redhat.com>
bryce [Mon, 4 Feb 2002 03:03:44 +0000 (03:03 +0000)]
2002-02-04  Anthony Green  <green@redhat.com>

* output.h (SECTION_OVERRIDE): Define.
* varasm.c (named_section): Obey SECTION_OVERRIDE.

java:
2002-02-04  Anthony Green  <green@redhat.com>

* class.c (build_utf8_ref): Put UTF-8 constants into merged
sections if available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49469 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * parse.y (java_expand_classes): Fix typo in static field loop.
bryce [Mon, 4 Feb 2002 02:38:16 +0000 (02:38 +0000)]
* parse.y (java_expand_classes): Fix typo in static field loop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49468 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
thorpej [Sun, 3 Feb 2002 21:52:34 +0000 (21:52 +0000)]
* config.gcc (arm*-*-netbsdelf*): Placeholder to prevent match
by existing arm*-*-netbsd* (a.out) target.
(ns32k-*-netbsdelf*): Likewise.
(sparc-*-netbsdelf*): Likewise.
(vax-*-netbsdelf*): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49467 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoFix typo in date of most recent entry.
thorpej [Sun, 3 Feb 2002 21:36:46 +0000 (21:36 +0000)]
Fix typo in date of most recent entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49466 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* gthr-win32.h: Protect against conflicting typedef for BOOL in windows headers
cgf [Sun, 3 Feb 2002 20:58:51 +0000 (20:58 +0000)]
* gthr-win32.h: Protect against conflicting typedef for BOOL in windows headers
and libobjc headers.
* gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++.
(_mingw.h): Remove duplicate include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49465 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config.gcc: Set cpu_type to m68k for 68010, as well.
thorpej [Sun, 3 Feb 2002 20:53:44 +0000 (20:53 +0000)]
* config.gcc: Set cpu_type to m68k for 68010, as well.
(m68010-*-netbsdelf*): New...
(m68k*-*-netbsdelf*): ...targets.
* config/m68k/netbsd-elf.h: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49464 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* gcc.dg/Wswitch.c: New test.
cagney [Sun, 3 Feb 2002 15:58:08 +0000 (15:58 +0000)]
* gcc.dg/Wswitch.c: New test.
PR gcc/4475. PR gcc/3780.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49462 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agominor typo
dj [Sun, 3 Feb 2002 13:10:29 +0000 (13:10 +0000)]
minor typo

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49461 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-03 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 3 Feb 2002 12:57:21 +0000 (12:57 +0000)]
2002-02-03  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/5122.f: New test for regressions
against PR fortran/5122.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49460 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-03 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 3 Feb 2002 12:54:09 +0000 (12:54 +0000)]
2002-02-03  Toon Moene  <toon@moene.indiv.nluug.nl>

* expr.c (ffeexpr_sym_impdoitem_): Allow other than
default INTEGER implied-do loop counts.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49459 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * class.c (add_field): Mark static fields external.
rth [Sun, 3 Feb 2002 06:23:37 +0000 (06:23 +0000)]
    * class.c (add_field): Mark static fields external.
        (build_class_ref): Remove redundant set.
        * parse.y (java_expand_classes): Mark static fields of classes
        to be compiled as local.
        * jcf-parse.c (parse_class_file): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49458 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-02 H.J. Lu (hjl@gnu.org)
hjl [Sun, 3 Feb 2002 04:00:36 +0000 (04:00 +0000)]
2002-02-02  H.J. Lu  (hjl@gnu.org)

* cp-demangle.c (cp_demangle_type): Do not protect with
IN_LIBGCC2.
(cplus_demangle_v3_all): New.
(cplus_demangle_v3): Call cplus_demangle_v3_all.
(cplus_demangle_v3_type): Call cplus_demangle_v3_all.

* cplus-dem.c (cplus_demangle_v3_p): New function pointer.
Initialized to cplus_demangle_v3.
(cplus_demangle_with_style): Call cplus_demangle_v3_p instead
of cplus_demangle_v3.
(main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
command line symbol.

* testsuite/regress-demangle: Pass the mangled name at the
command line.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49456 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-02 H.J. Lu (hjl@gnu.org)
hjl [Sun, 3 Feb 2002 03:59:23 +0000 (03:59 +0000)]
2002-02-02  H.J. Lu  (hjl@gnu.org)

* demangle.h (cplus_demangle_v3_type): New prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49455 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (hand_list): Move inside function_arg.
kazu [Sun, 3 Feb 2002 01:36:13 +0000 (01:36 +0000)]
* config/h8300/h8300.c (hand_list): Move inside function_arg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49454 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (h8_push_ops): Move inside
kazu [Sun, 3 Feb 2002 01:29:16 +0000 (01:29 +0000)]
* config/h8300/h8300.c (h8_push_ops): Move inside
h8300_init_once.
(h8_pop_ops): Likewise.
(h8_move_ops): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49453 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c (os_task): Make it static.
kazu [Sun, 3 Feb 2002 01:24:11 +0000 (01:24 +0000)]
* config/h8300/h8300.c (os_task): Make it static.
(monitor): Likewise.
(pragma_saveall): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49452 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago* config/sh/sh.md (ic_invalidate_line): Make sure the immediate
aoliva [Sun, 3 Feb 2002 00:50:50 +0000 (00:50 +0000)]
* config/sh/sh.md (ic_invalidate_line): Make sure the immediate
constant is a valid sign-extension for Pmode.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49451 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-03 David Billinghurst <David.Billinghurst@riotinto.com>
billingd [Sun, 3 Feb 2002 00:43:23 +0000 (00:43 +0000)]
2002-02-03  David Billinghurst <David.Billinghurst@riotinto.com>

* g77.f-torture/compile/pr3743.f: Delete
* g77.dg/pr3743-1.f: New test.
* g77.dg/pr3743-2.f: New test.
* g77.dg/pr3743-3.f: New test.
* g77.dg/pr3743-4.f: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49450 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.c: Fix formatting.
kazu [Sat, 2 Feb 2002 21:38:49 +0000 (21:38 +0000)]
* config/h8300/h8300.c: Fix formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49449 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.md: Fix formatting.
kazu [Sat, 2 Feb 2002 21:15:24 +0000 (21:15 +0000)]
* config/h8300/h8300.md: Fix formatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49448 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.in: Rebuilt.
tromey [Sat, 2 Feb 2002 21:14:29 +0000 (21:14 +0000)]
* Makefile.in: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49447 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.md (one_cmpl patterns): Tighten the
kazu [Sat, 2 Feb 2002 20:57:06 +0000 (20:57 +0000)]
* config/h8300/h8300.md (one_cmpl patterns): Tighten the
predicates of operands[1].  Split the patterns for each
processor variant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49446 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * config/h8300/h8300.md (xor patterns): Tighten the predicates
kazu [Sat, 2 Feb 2002 20:48:38 +0000 (20:48 +0000)]
* config/h8300/h8300.md (xor patterns): Tighten the predicates
of operands[1] to register_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49445 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
neil [Sat, 2 Feb 2002 18:56:37 +0000 (18:56 +0000)]
* cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
* cpphash.c (_cpp_init_hashtable): Similarly.
* cppinit.c (cpp_create_reader): Default the signed_char flag.
(init_builtins): Define __CHAR_UNSIGNED__ appropriately.
(COMMAND_LINE_OPTIONS): Recognise -f{un,}signed-char.
(cpp_handle_option): Handle the new options.
* cpplex.c (cpp_interpret_charconst): Use new flag.
* cpplib.h (struct cpp_options): New member signed_char.
* gcc.c (cpp_unique_options): Remove %c spec and documentation.
(cpp_options): Handle -fsigned-char and -funsigned-char.
(static_specs): Remove signed_char_spec.
(do_spec1): Don't handle %c.
* system.h: Poison SIGNED_CHAR_SPEC.
* tradcif.y (yylex): Use flag_signed_char.
* tradcpp.h (flag_signed_char): New.
* tradcpp.c (flag_signed_char): New.
(main): Handle new command-line options.
(initialize_builtins): Define __CHAR_UNSIGNED__ if appropriate.
config:
* alpha/alpha.h (SIGNED_CHAR_SPEC): Remove.
* avr/avr.h: Remove old comments.
* i960/i960.h (CPP_SPEC): Pass -fsigned-char if -mic*.
(CC1_SPEC): Pass -fsigned-char if -mic*.
(SIGNED_CHAR_SPEC): Remove.
doc:
* tm.texi (SIGNED_CHAR_SPEC): Remove documentation.
testsuite:
* gcc.dg/cpp/uchar-1.c, uchar-2.c, uchar-3.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49444 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * Makefile.am (clean-nat): New target.
jason [Sat, 2 Feb 2002 18:23:02 +0000 (18:23 +0000)]
    * Makefile.am (clean-nat): New target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49443 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/991118-1.c: Revert 2002-01-29 change.
rth [Sat, 2 Feb 2002 17:57:33 +0000 (17:57 +0000)]
    * gcc.c-torture/execute/991118-1.c: Revert 2002-01-29 change.
        * gcc.c-torture/execute/bf64-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49442 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-02 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 2 Feb 2002 13:46:47 +0000 (13:46 +0000)]
2002-02-02  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/22_locale/operators.cc
(gnu_collate::do_compare()): Add return statement to
suppress "no return statement" warning.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49441 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-01 Paolo Carlini <pcarlini@unitus.it>
paolo [Sat, 2 Feb 2002 13:13:00 +0000 (13:13 +0000)]
2002-02-01  Paolo Carlini  <pcarlini@unitus.it>

* testsuite/27_io/ostream_manip.cc: Enable test02.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49440 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago2002-02-02 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sat, 2 Feb 2002 11:42:19 +0000 (11:42 +0000)]
2002-02-02  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.texi proj.h com.c bugs.texi: Change last update date
and/or copyright year.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49439 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.c-torture/execute/bitfld-2.c: New test.
jakub [Sat, 2 Feb 2002 09:28:25 +0000 (09:28 +0000)]
* gcc.c-torture/execute/bitfld-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49438 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * gcc.dg/20020201-3.c: New test.
jakub [Sat, 2 Feb 2002 09:22:00 +0000 (09:22 +0000)]
* gcc.dg/20020201-3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49437 138bc75d-0d04-0410-961f-82ee72b054a4

22 years agoDaily bump.
gccadmin [Sat, 2 Feb 2002 08:16:46 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49436 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/io/natFile.cc: Removed old "FIXME" comments.
tromey [Sat, 2 Feb 2002 07:45:50 +0000 (07:45 +0000)]
* java/io/natFile.cc: Removed old "FIXME" comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49434 138bc75d-0d04-0410-961f-82ee72b054a4

22 years ago * java/lang/natPosixProcess.cc (myclose): New function.
tromey [Sat, 2 Feb 2002 07:43:16 +0000 (07:43 +0000)]
* java/lang/natPosixProcess.cc (myclose): New function.
(fail): Use it.
(startProcess): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49433 138bc75d-0d04-0410-961f-82ee72b054a4