OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago * config/mips/mips-protos.h (mips_sign_extend): Declare.
rsandifo [Wed, 17 Jul 2002 09:24:08 +0000 (09:24 +0000)]
* config/mips/mips-protos.h (mips_sign_extend): Declare.
* config/mips/mips.h (MASK_DEBUG_H, TARGET_DEBUG_H_MODE): Remove.
(TARGET_SWITCHES): Remove debugh.
(ISA_HAS_TRUNC_W): New macro.
(CLASS_CANNOT_CHANGE_MODE): Include FP_REGS if TARGET_FLOAT64.
(PREDICATE_CODES): Remove se_nonimmediate_operand.
* config/mips/mips.c (movdi_operand): Allow sign-extensions of
any SImode move_operand.
(se_nonimmediate_operand): Remove.
(mips_sign_extend): New.
(mips_move_2words): Use it for sign-extended source operands.
(override_options): Allow integers to be put into single FPRs.
(mips_secondary_reload_class): Handle integers in float registers.
* config/mips/mips.md (extendsidi2): Turn into a define_expand.
(fix_truncsfsi2, fix_truncdfsi2): Likewise.
(fix_truncdfsi2_insn, fix_truncdfsi2_macro): New.
(fix_truncsfsi2_insn, fix_truncsfsi2_macro): New.
(fix_truncdfdi2): Provide only a single alternative, in which the
integer is in a float register.  Depend on TARGET_FLOAT64 rather
than TARGET_64BIT.
(fix_truncsfdi2, floatdidf2, floatdisf2): Likewise.
(floatsidf2, floatsisf2): Likewise, but no TARGET_FLOAT64 dependency.
(movdi_internal2): Don't allow the source operand to be sign-extended.
Add alternatives for float registers.
(*movdi_internal2_extend): New.  Version of movdi_internal2 that
allows sign-extension.
(*movdi_internal2_mips16): Name the existing mips16 movdi pattern.
(movsi_internal2): Rename to movsi_internal.  Add alternatives for
float registers.  Remove TARGET_DEBUG_H_MODE test.
(movhi_internal1): Rename to movhi_internal.  Don't check
TARGET_DEBUG_H_MODE.  Fix transposed *d and *f source constraints.
(movqi_internal1): Rename to movqi_internal and remove
TARGET_DEBUG_H_MODE dependency.
(movsi_internal1, movhi_internal2, movqi_internal2): Remove.

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

21 years agoDaily bump.
gccadmin [Wed, 17 Jul 2002 07:17:26 +0000 (07:17 +0000)]
Daily bump.

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

21 years agoFix for i960 build failure reported by Andreas Jaeger.
wilson [Wed, 17 Jul 2002 03:03:40 +0000 (03:03 +0000)]
Fix for i960 build failure reported by Andreas Jaeger.
* toplev.c (lang_dependent_init): Create function context for
init_expr_once.

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

21 years ago * config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
hp [Wed, 17 Jul 2002 01:49:50 +0000 (01:49 +0000)]
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't
--gc-sections if -r.
* config/cris/cris.h: Ditto.

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

21 years ago * config/i386/i386.c (ix86_expand_int_movcc): In the case where
rth [Wed, 17 Jul 2002 01:36:36 +0000 (01:36 +0000)]
    * config/i386/i386.c (ix86_expand_int_movcc): In the case where
        the comparison directly gives a mask suppress addition when cf is
        zero by complementing the mask.

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

21 years ago * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
shebs [Wed, 17 Jul 2002 00:19:30 +0000 (00:19 +0000)]
    * config/darwin.h (ASM_OUTPUT_LABEL): Move to here from
        config/rs6000/darwin.h.
        (ASM_OUTPUT_SKIP): Ditto.
        (TEXT_SECTION_ASM_OP): Ditto.
        (DATA_SECTION_ASM_OP): Ditto.
        (ASM_APP_ON): Define.
        (ASM_APP_OFF): Define.
        * config/rs6000/darwin.h (ASM_OUTPUT_LABEL, ASM_OUTPUT_SKIP,
        TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Remove.

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

21 years ago2002-07-16 Chris Demetriou <cgd@broadcom.com>
cgd [Wed, 17 Jul 2002 00:14:49 +0000 (00:14 +0000)]
2002-07-16  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2002-07-09 version.
        * config.sub: Update to 2002-07-03 version.

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

21 years ago(gcc)
neroden [Wed, 17 Jul 2002 00:09:11 +0000 (00:09 +0000)]
(gcc)
* Makefile.in: Delete references to enquire.
* enquire.c: Move to contrib.

(contrib)
* enquire.c: Move from gcc.

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

21 years ago * darwin.c (func_name_maybe_scoped): Remove unused decl.
shebs [Tue, 16 Jul 2002 23:59:40 +0000 (23:59 +0000)]
    * darwin.c (func_name_maybe_scoped): Remove unused decl.
        (machopic_function_base_name): Declare result to be const.
        (machopic_non_lazy_ptr_name): Ditto.
        (machopic_stub_name): Ditto.
        * darwin-protos.h: Ditto for the prototypes.

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

21 years ago * m68hc11.c (m68hc11_reorg): Do not rebuild CFG.
hubicka [Tue, 16 Jul 2002 22:23:59 +0000 (22:23 +0000)]
* m68hc11.c (m68hc11_reorg): Do not rebuild CFG.

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

21 years agoWed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>
hubicka [Tue, 16 Jul 2002 22:21:34 +0000 (22:21 +0000)]
Wed Jul 17 00:20:48 CEST 2002  Jan Hubicka  <jh@suse.cz>

* i386.md (prefetch): Fix for 64bit mode.
(prefetch_sse_rex, prefetch_3dnow_rex): New patterns.

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

21 years ago * i386.h (MACHINE_DEPENDENT_REORG): New macro.
hubicka [Tue, 16 Jul 2002 22:20:10 +0000 (22:20 +0000)]
* i386.h (MACHINE_DEPENDENT_REORG): New macro.
* i386.c (x86_machine_dependent_reorg): New function.
* i386-protos.h (x86_machine_dependent_reorg): Declare.

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

21 years ago2002-07-16 H.J. Lu <hjl@gnu.org>
hjl [Tue, 16 Jul 2002 22:03:34 +0000 (22:03 +0000)]
2002-07-16  H.J. Lu <hjl@gnu.org>

* gcc_update (touch_files): Pass -s to ${MAKE}.

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

21 years ago * java/io/StreamTokenizer.java (pushBack): Update documentation.
mark [Tue, 16 Jul 2002 21:08:25 +0000 (21:08 +0000)]
* java/io/StreamTokenizer.java (pushBack): Update documentation.
(whitespaceChars): call resetChar().

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

21 years ago * builtins.c (std_expand_builtin_va_start): Remove unused
zack [Tue, 16 Jul 2002 20:59:08 +0000 (20:59 +0000)]
* builtins.c (std_expand_builtin_va_start): Remove unused
first argument.
(expand_builtin_va_start): Call EXPAND_BUILTIN_VA_START and
std_expand_builtin_va_start with just two arguments.
* expr.h: Update prototypes.

* alpha-protos.h, alpha.h, alpha.c, arc-protos.h, arc.h,
arc.c, d30v-protos.h, d30v.h, d30v.c, i386-protos.h, i386.h,
i386.c, i960-protos.h, i960.h, i960.c, m88k-protos.h, m88k.h,
m88k.c, mips-protos.h, mips.h, mips.c, mn10300-protos.h,
mn10300.h, mn10300.c, pa-protos.h, pa.h, pa.c,
rs6000-protos.h, rs6000.h, rs6000.c, s390-protos.h, s390.h,
s390.c, sh-protos.h, sh.h, sh.c, sparc-protos.h, sparc.h,
sparc.c, stormy16-protos.h, stormy16.h, stormy16.c,
xtensa-protos.h, xtensa.h, xtensa.c:  Remove unused first
argument from all implementations of EXPAND_BUILTIN_VA_START
and all uses of std_expand_builtin_va_start.

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

21 years ago * regrename.c (copy_value): Don't record high part copies.
amylaar [Tue, 16 Jul 2002 20:13:35 +0000 (20:13 +0000)]
* regrename.c (copy_value): Don't record high part copies.

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

21 years ago*** empty log message ***
sje [Tue, 16 Jul 2002 19:51:18 +0000 (19:51 +0000)]
*** empty log message ***

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

21 years ago * gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
sje [Tue, 16 Jul 2002 19:39:27 +0000 (19:39 +0000)]
* gcc/config/pa/long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.
(fixunstfdi_libfunc): Change to use FIXUNS_TRUNCTFDI2_LIBCALL.
* gcc/config/pa/quadlib.c (_U_Qfcnvfxt_quad_to_udbl): New function.

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

21 years ago * doc/invoke.texi (NS32K Options): Document -mieee-compare option
rth [Tue, 16 Jul 2002 17:46:33 +0000 (17:46 +0000)]
    * doc/invoke.texi (NS32K Options): Document -mieee-compare option

        * config/ns32k/ns32k.md (addsi3, *frame_addr, *stack_addr): merge
        into addsi3 using register class "x" and "y".

        * config/ns32k/ns32k.md (*madddf, *maddsf, *msubdf, *msubsf):
        "earlyclobber" constraint modifier for some alternative.

        * config/ns32k/ns32k.md (tstdf, tstsf, cmpdf, cmpsf, blt, ble)
        (*ble, *blt): Flag to indicate bCOND and sCOND should check for
        unordered.
        config/ns32k/ns32k.h (CC_UNORD): define corresponding mask.

        * config/ns32k/ns32k.h (TARGET_IEEE_COMPARE, MASK_IEEE_COMPARE)
        (TARGET_SWITCHES): Add -mieee-compare option.
        (OVERRIDE_OPTIONS): 32332 is a subset of
        32532. Don't use IEEE_COMPARE -funsafe-math-optimizations.
        (TARGET_SWITCHES): Fix description of bitfield option.
        * config/ns32k/netbsd.h (TARGET_DEFAULT): Add
        -mieee-compare option. Remove 32332 flag.

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

21 years ago * gcc/explow.c (convert_memory_address): Remove special handling
sje [Tue, 16 Jul 2002 16:07:13 +0000 (16:07 +0000)]
* gcc/explow.c (convert_memory_address): Remove special handling
when POINTERS_EXTEND_UNSIGNED < 0.
* gcc/config/ia64.md (movsi_symbolic): New instruction for ILP32
mode.
(movedi_symbolic): Fix typo.
(load_fptr): Remove mode restriction so it works for SI and DI.
(load_fptr_internal1): Ditto.
(load_gprel): Ditto.
(load_symptr_internal1): Ditto.
(call_pic): Ditto.
* gcc/config/ia64.c (call_operand): Modify mode check.
(ia64_expand_load_address): Handle DI and SI addresses and symbols.
(ia64_expand_move): Ditto.
(ia64_assemble_integer): Handle SImode function pointers.
(ia64_expand_fetch_and_op): Handle SImode mem addresses.
(ia64_expand_op_and_fetch): Ditto.
(ia64_expand_compare_and_swap): Ditto.
(ia64_expand_lock_test_and_set): Ditto.
(ia64_expand_lock_release): Ditto.

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

21 years agoFrom: Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
rearnsha [Tue, 16 Jul 2002 15:39:22 +0000 (15:39 +0000)]
From: Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
* arm.c (emit_sfm): Don't set RTX_FRAME_RELATED_P on DWARF.

From: Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
 and Richard Earnshaw  <rearnsha@arm.com>
* arm.h (LEGITIMATE_PIC_OPERAND_P): Only test
CONSTANT_POOL_ADDRESS_P if a SYMBOL_REF.  Simplify logic.

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

21 years ago* arm.md (stack_tie): New insn. Use an idiom that the alias code
rearnsha [Tue, 16 Jul 2002 15:14:22 +0000 (15:14 +0000)]
* arm.md (stack_tie): New insn.  Use an idiom that the alias code
understands to be a memory clobber.
* arm.c (arm_expand_prologue): Use it.

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

21 years ago Add a new register allocator.
matz [Tue, 16 Jul 2002 13:36:30 +0000 (13:36 +0000)]
Add a new register allocator.

* ra.c: New file.
* ra.h: New file.
* ra-build.c: New file.
* ra-colorize.c: New file.
* ra-debug.c: New file.
* ra-rewrite.c: New file.

* Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
(ra-rewrite.o): New .o files for libbackend.a.
(GTFILES): Add basic-block.h.

* toplev.c (flag_new_regalloc): New.
(f_options): New option "new-ra".
(rest_of_compilation): Call initialize_uninitialized_subregs()
only for the old allocator.  If flag_new_regalloc is set, call
new allocator, instead of local_alloc(), global_alloc() and
friends.

* doc/invoke.texi: Document -fnew-ra.
* basic-block.h (FOR_ALL_BB): New.
* config/rs6000/rs6000.c (print_operand): Write small constants
as @l+80.

* df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
(df_reg_table_realloc): Make size at least as large as max_reg_num().
(df_insn_table_realloc): Size argument now is absolute, not relative.
Changed all callers.

* gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
* regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.

2002-06-20  Michael Matz  <matz@suse.de>

* df.h (struct ref.id): Make unsigned.
* df.c (df_bb_reg_def_chain_create): Remove unsigned cast.

2002-06-13  Michael Matz  <matz@suse.de>

* df.h (DF_REF_MODE_CHANGE): New flag.
* df.c (df_def_record_1, df_uses_record): Set this flag for refs
involving subregs with invalid mode changes, when
CLASS_CANNOT_CHANGE_MODE is defined.

2002-05-07  Michael Matz  <matz@suse.de>

* reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.

2002-05-03  Michael Matz  <matz@suse.de>

* sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.

Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>

* regclass.c (regclass): Work with all regs which have sets or
refs.
(reg_scan_mark_refs): Count regs inside (clobber ...).

2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>

* df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
(df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
add new refs.
(df_bb_refs_update): Don't clear insns_modified here, ...
(df_analyse): ... but here.

* sbitmap.c (dump_sbitmap_file): New.
(debug_sbitmap): Use it.

* sbitmap.h (dump_sbitmap_file): Add prototype.

2001-08-07  Daniel Berlin  <dan@cgsoftware.com>

* df.c (df_insn_modify): Grow the UID table if necessary, rather
than assume all emits go through df_insns_modify.

2001-07-26  Daniel Berlin  <dan@cgsoftware.com>

* regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
increase REG_N_REFS (like flow does), so that regclass doesn't
think a reg is useless, and thus, not calculate a class, when it
really should have.

2001-01-28  Daniel Berlin  <dberlin@redhat.com>

* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
dataflow analysis.

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

21 years agoFix ChangeLog date last entry
hp [Tue, 16 Jul 2002 11:31:24 +0000 (11:31 +0000)]
Fix ChangeLog date last entry

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

21 years ago * ra-rewrite.c: #include reload.h, insn-config.h
hp [Tue, 16 Jul 2002 11:29:14 +0000 (11:29 +0000)]
* ra-rewrite.c: #include reload.h, insn-config.h
* ra-build.c: #include reload.h
* Makefile.in: Update ra-rewrite.o, ra-build.o dependencies to
depend on reload.h, insn-config.h.

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

21 years ago * expr.c (emit_move_insn_1): Handle arbitrary moves that are
amylaar [Tue, 16 Jul 2002 10:59:15 +0000 (10:59 +0000)]
* expr.c (emit_move_insn_1): Handle arbitrary moves that are
the same size as a word.

* regrename.c (find_oldest_value_reg): Take WORDS_BIG_ENDIAN /
BYTES_BIG_ENDIAN into account.

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

21 years ago * i386.md (prefetch): Fix for 64bit mode.
hubicka [Tue, 16 Jul 2002 10:24:11 +0000 (10:24 +0000)]
* i386.md (prefetch): Fix for 64bit mode.
(prefetch_sse_rex, prefetch_3dnow_rex): New patterns.

* i386.md (movss, movsd): Use xorps/xorpd for Athlon.

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

21 years ago * libsupc++/new (set_new_handler): Declare to not throw any
schwab [Tue, 16 Jul 2002 08:28:40 +0000 (08:28 +0000)]
* libsupc++/new (set_new_handler): Declare to not throw any
exceptions.
* libsupc++/new_handler.cc (set_new_handler): Likewise.

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

21 years agoDaily bump.
gccadmin [Tue, 16 Jul 2002 07:16:50 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago * hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.
marekm [Tue, 16 Jul 2002 05:54:07 +0000 (05:54 +0000)]
* hard-reg-set.h (TEST_HARD_REG_BIT): Return 1 if the bit is set.

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

21 years ago * ginclude/varargs.h: Replace with stub which issues #error.
zack [Tue, 16 Jul 2002 02:16:47 +0000 (02:16 +0000)]
* ginclude/varargs.h: Replace with stub which issues #error.
* ginclude/stdarg.h: __builtin_stdarg_start is renamed
__builtin_va_start.

* builtins.def (BUILT_IN_VARARGS_START): Delete.
(BUILT_IN_VA_START): New.
* builtins.c (expand_builtin_va_start): Eliminate first
argument and code to implement pre-ISO varargs.
(std_expand_builtin_va_start): Ignore first argument; it is
always 1.
(expand_builtin): Handle BUILT_IN_VA_START and
BUILT_IN_STDARG_START identically.  Delete
BUILT_IN_VARARGS_START case.

* function.c (assign_parms): Delete hide_last_arg and all
its uses.
(mark_varargs): Delete function.
* function.h (struct function): Delete 'varargs' bit.
(current_function_varargs): Delete macro.
* tree.h: Don't declare mark_varargs.

* c-decl.c (c_function_varargs, c_mark_varargs): Delete.
(c_expand_body): Don't call mark_varargs.
* c-objc-common.c: Handle BUILT_IN_VA_START and
BUILT_IN_STDARG_START identically.  Delete
BUILT_IN_VARARGS_START case.
* c-tree.h: Don't declare c_mark_varargs.
* c-parse.in: Remove grammar rules for '&...' (which has been
commented out since before 2.7.2) and for '...' in K+R
argument declarations.

* builtins.c, function.c, integrate.c, sibcall.c,
config/alpha/unicosmk.h, config/arc/arc.c, config/arc/arc.h,
config/avr/avr.c, config/cris/cris.c, config/fr30/fr30.c,
config/i960/i960.c, config/i960/i960.md, config/m32r/m32r.c,
config/m32r/m32r.h, config/m88k/m88k.c, config/m88k/m88k.h,
config/mips/mips.c, config/mmix/mmix.c, config/mmix/mmix.h,
config/mn10300/mn10300.c, config/pa/som.h, config/s390/s390.c,
config/sh/sh.c, config/sh/sh.h, config/sparc/sparc.h,
config/stormy16/stormy16.c: Delete all references to
current_function_varargs, and code predicated on that flag.

* config/alpha/alpha.c (alpha_va_start),
config/arc/arc.c (arc_va_start),
config/i386/i386.c (ix86_va_start),
config/mips/mips.c (mips_va_start),
config/mn10300/mn10300.c (mn10300_va_start),
config/rs6000/rs6000.c (rs6000_va_start),
config/s390/s390.c (s390_va_start),
config/sh/sh.c (sh_va_start),
Ignore first argument; it is always 1.

* config/c4x/c4x-protos.h, config/c4x/c4x.c: Delete c4x_va_start.
* config/ia64/ia64-protos.h, config/ia64/ia64.c: Delete ia64_va_start.
* config/m68hc11/m68hc11-protos.h, config/m68hc11/m68hc11.c:
Delete m68hc11_va_start.
* config/c4x/c4x.h, config/ia64/ia64.h, config/m68hc11/m68hc11.h:
No need to define EXPAND_BUILTIN_VA_START.

* doc/invoke.texi, doc/sourcebuild.texi, doc/tm.texi,
doc/trouble.texi: Remove references to GCC-provided <varargs.h>.

testsuite:
* c-torture/execute/991216-3.c, c-torture/execute/strct-varg-1.c,
c-torture/execute/va-arg-7.c, c-torture/execute/va-arg-8.c,
c-torture/execute/va-arg-15.c, c-torture/execute/va-arg-16.c,
c-torture/execute/va-arg-17.c, c-torture/execute/va-arg-19.c:
Convert to use <stdarg.h>.
* c-torture/execute/va-arg-3.c, c-torture/execute/va-arg-3.x:
Delete.
* gcc.dg/va-arg-2.c: New.
* lib/gcc.exp, lib/objc.exp: Remove code to set -DNO_VARARGS.

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

21 years ago * include/Makefile.am (bits_headers): Remove slice.h
gdr [Tue, 16 Jul 2002 00:19:18 +0000 (00:19 +0000)]
* include/Makefile.am (bits_headers): Remove slice.h
* include/Makefile.in: Regenerate.
* include/bits/slice.h (slice): move to include/bits/slice_array.h
* include/bits/slice.h Remove.
* include/std/std_valarray.h: Don't #include bits/slice.h anymore.
* include/bits/slice_array.h: Comply to official coding styles.
* testsuite/26_numerics/slice.cc: New test.
:w
:q

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

21 years ago PR optimization/7153
rth [Mon, 15 Jul 2002 23:59:02 +0000 (23:59 +0000)]
    PR optimization/7153
        * regmove.c (optimize_reg_copy_3): Don't optimize if the register
        dies in more than one insn.

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

21 years ago * MAINTAINERS: Update email address.
neil [Mon, 15 Jul 2002 21:17:51 +0000 (21:17 +0000)]
* MAINTAINERS: Update email address.

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

21 years ago * MAINTAINERS: Fix typo in a maintainer email address.
hp [Mon, 15 Jul 2002 21:12:31 +0000 (21:12 +0000)]
* MAINTAINERS: Fix typo in a maintainer email address.

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

21 years ago * config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
ro [Mon, 15 Jul 2002 20:23:38 +0000 (20:23 +0000)]
* config/os/solaris/solaris2.5/ctype_base.h (ctype_base): Fix
print to match vendor <ctype.h>.

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

21 years ago2002-07-15 Phil Edwards <pme@gcc.gnu.org>
pme [Mon, 15 Jul 2002 20:05:54 +0000 (20:05 +0000)]
2002-07-15  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/faq/index.html:  Fix download links.
* docs/html/faq/index.txt:  Regenerate.
* docs/html/17_intro/porting.html:  Regenerate from earlier changes.

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

21 years ago* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.
thorpej [Mon, 15 Jul 2002 18:15:48 +0000 (18:15 +0000)]
* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Remove.

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

21 years ago * Makefile.in: Rebuilt.
tromey [Mon, 15 Jul 2002 16:05:13 +0000 (16:05 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new files.
* java/beans/ExceptionListener.java: Merged with Classpath.
* java/beans/PropertyChangeEvent.java: Merged with Classpath.
* java/beans/PropertyChangeListener.java: Merged with Classpath.
* java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
* java/beans/PropertyChangeSupport.java: Merged with Classpath.
* java/beans/VetoableChangeListener.java: Merged with Classpath.
* java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
* java/beans/VetoableChangeSupport.java: Merged with Classpath.

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

21 years ago2002-07-15 Michael Matz <matz@suse.de>,
matz [Mon, 15 Jul 2002 14:07:06 +0000 (14:07 +0000)]
2002-07-15  Michael Matz  <matz@suse.de>,
            Daniel Berlin  <dberlin@dberlin.org>,
    Denis Chertykov  <denisc@overta.ru>

Add a new register allocator.

* ra.c: New file.
* ra.h: New file.
* ra-build.c: New file.
* ra-colorize.c: New file.
* ra-debug.c: New file.
* ra-rewrite.c: New file.

* Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
(ra-rewrite.o): New .o files for libbackend.a.
(GTFILES): Add basic-block.h.

* toplev.c (flag_new_regalloc): New.
(f_options): New option "new-ra".
(rest_of_compilation): Call initialize_uninitialized_subregs()
only for the old allocator.  If flag_new_regalloc is set, call
new allocator, instead of local_alloc(), global_alloc() and
friends.

* doc/invoke.texi: Document -fnew-ra.
* basic-block.h (FOR_ALL_BB): New.
* config/rs6000/rs6000.c (print_operand): Write small constants
as @l+80.

* df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
(df_reg_table_realloc): Make size at least as large as max_reg_num().
(df_insn_table_realloc): Size argument now is absolute, not relative.
Changed all callers.

* gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
* regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.

2002-06-20  Michael Matz  <matz@suse.de>

* df.h (struct ref.id): Make unsigned.
* df.c (df_bb_reg_def_chain_create): Remove unsigned cast.

2002-06-13  Michael Matz  <matz@suse.de>

* df.h (DF_REF_MODE_CHANGE): New flag.
* df.c (df_def_record_1, df_uses_record): Set this flag for refs
involving subregs with invalid mode changes, when
CLASS_CANNOT_CHANGE_MODE is defined.

2002-05-07  Michael Matz  <matz@suse.de>

* reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.

2002-05-03  Michael Matz  <matz@suse.de>

* sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.

Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>

* regclass.c (regclass): Work with all regs which have sets or
refs.
(reg_scan_mark_refs): Count regs inside (clobber ...).

2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>

* df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
(df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
add new refs.
(df_bb_refs_update): Don't clear insns_modified here, ...
(df_analyse): ... but here.

* sbitmap.c (dump_sbitmap_file): New.
(debug_sbitmap): Use it.

* sbitmap.h (dump_sbitmap_file): Add prototype.

2001-08-07  Daniel Berlin  <dan@cgsoftware.com>

* df.c (df_insn_modify): Grow the UID table if necessary, rather
than assume all emits go through df_insns_modify.

2001-07-26  Daniel Berlin  <dan@cgsoftware.com>

* regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
increase REG_N_REFS (like flow does), so that regclass doesn't
think a reg is useless, and thus, not calculate a class, when it
really should have.

2001-01-28  Daniel Berlin  <dberlin@redhat.com>

* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
dataflow analysis.

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

21 years ago2002-07-15 Florian Weimer <fw@deneb.enyo.de>
fw [Mon, 15 Jul 2002 09:43:06 +0000 (09:43 +0000)]
2002-07-15  Florian Weimer  <fw@deneb.enyo.de>

* make.adb (Add_Switch): Make Generic_Position a procedure.  The
function approach did not work well because of a side effect (the
function call could reallocate the table which was being indexed
using its result). Fixes ada/4851. [RESURRECTED]

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

21 years agoDaily bump.
gccadmin [Mon, 15 Jul 2002 07:16:52 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago PR middle-end/7245
jakub [Mon, 15 Jul 2002 06:57:36 +0000 (06:57 +0000)]
PR middle-end/7245
* config/i386/i386.c (const_int_1_31_operand): New.
* config/i386/i386.h (PREDICATE_CODES): Add it.
* config/i386/i386.md (ashlsi3_cmp, ashlsi3_cmp_zext, ashlhi3_cmp,
ashlqi3_cmp, ashrsi3_cmp, ashrsi3_cmp_zext, ashrhi3_cmp, ashrqi3_cmp,
lshrsi3_cmp, lshrsi3_cmp_zext, lshrhi3_cmp, lshrqi3_cmp): Use it.

* gcc.c-torture/compile/20020710-1.c: New test.

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

21 years ago2002-07-14� Mark Wielaard� <mark@klomp.org>
mark [Sun, 14 Jul 2002 22:18:35 +0000 (22:18 +0000)]
2002-07-14� Mark Wielaard� <mark@klomp.org>

    * gnu/java/security/der/DEREncodingException.java,
    gnu/java/security/provider/DERReader.java,
    gnu/java/security/provider/DERWriter.java,
    gnu/java/security/provider/DSAKeyPairGenerator.java,
    gnu/java/security/provider/DSAParameterGenerator.java,
    gnu/java/security/provider/DSAParameters.java,
    gnu/java/security/provider/DSASignature.java,
    gnu/java/security/provider/GnuDSAPrivateKey.java,
    gnu/java/security/provider/GnuDSAPublicKey.java,
    gnu/java/security/provider/MD5.java,
    gnu/java/security/util/Prime.java: New files from Classpath.
    * Makefile.am (ordinary_java_source_files): Add new files.
    * Makefile.in: Regenerate.

2002-07-14� C. Brian Jones <cbj@gnu.org>

    * gnu/java/security/provider/DefaultPolicy.java
    (getPermissions): do not maintain static class variable of
    Permissions
    * gnu/java/security/provider/SHA.java
    (engineUpdate): algorithm change
    (engineDigest): algorithm change

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

21 years ago PR target/7282
amodra [Sun, 14 Jul 2002 14:28:14 +0000 (14:28 +0000)]
PR target/7282
* config/rs6000/rs6000.md (floatsidf2): Enable for POWERPC64.
(floatunssidf2): Likewise.
(floatsidf_ppc64): New insn_and_split.
(floatunssidf_ppc64): Likewise.

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

21 years agoDaily bump.
gccadmin [Sun, 14 Jul 2002 07:16:50 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago * config.gcc (sh64): Remove unused
aj [Sun, 14 Jul 2002 07:01:36 +0000 (07:01 +0000)]
* config.gcc (sh64): Remove unused
target_requires_64bit_host_wide_int.

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

21 years agoMake gengtype.c language independent.
timjosling [Sun, 14 Jul 2002 01:59:15 +0000 (01:59 +0000)]
Make gengtype.c language independent.

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

21 years agoDaily bump.
gccadmin [Sat, 13 Jul 2002 07:16:49 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago * expr.c [CLEAR_RATIO]: New macro defining the maximum number
sayle [Sat, 13 Jul 2002 00:13:15 +0000 (00:13 +0000)]
* expr.c [CLEAR_RATIO]: New macro defining the maximum number
of move instructions to use when clearing memory, c.f. MOVE_RATIO.
[CLEAR_BY_PIECES]: New macro, using CLEAR_RATIO, to determine
whether clear_by_pieces should be used to clear storage.
(clear_storage): Use CLEAR_BY_PIECES instead of MOVE_BY_PIECES.

* doc/tm.texi: Document these two new target macros.

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

21 years ago2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
tromey [Fri, 12 Jul 2002 21:13:16 +0000 (21:13 +0000)]
2002-07-12  Jesse Rosenstock  <jmr@fulcrummicro.com>

For PR libgcj/7292:
* java/lang/Character.java (toString(char)): Now static.

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

21 years ago * config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
ciceron [Fri, 12 Jul 2002 20:41:43 +0000 (20:41 +0000)]
* config/m68hc11/m68hc11.md ("zero_extendsidi2"): Use D_REG only for
the scratch register.
("*movhi2_push"): Accept Z_REG because a split pattern can make use
of it, forbid reload to use it.

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

21 years ago * java/lang/natThrowable.cc (printRawStackTrace): removed.
mark [Fri, 12 Jul 2002 12:52:44 +0000 (12:52 +0000)]
* java/lang/natThrowable.cc (printRawStackTrace): removed.
(getStackTrace0): new method.
* java/lang/Throwable.java (CPlusPlusDemangler): removed.
(printStackTrace(PrintWriter)): replace with pure java implementation.
(printRawStackTrace): removed.
(getStackTrace0): new method.
* java/lang/StackTraceElement.java (toString): add extra whitespace.
* gcj/javaprims.h: regenerate class list.
* include/name-finder.h (lookup): new returns StackTraceElement*.
(method_name, file_name): fields removed.
(pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
(~_Jv_name_finder): close new descriptors.
* name-finder.cc(_Jv_name_finder): setup c++filt helper process.
(createStackTraceElement): new method.
(lookup): returns StackTraceElement*, uses createStackTraceElement().

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

21 years ago * config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
marekm [Fri, 12 Jul 2002 11:19:47 +0000 (11:19 +0000)]
* config/avr/avr.c (test_hard_reg_class): Fix TEST_HARD_REG_BIT
usage on 64-bit hosts, return value was truncated to 32 bits.

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

21 years ago * class.c (add_method): Correct handling of conversion operators.
mmitchel [Fri, 12 Jul 2002 07:55:16 +0000 (07:55 +0000)]
* class.c (add_method): Correct handling of conversion operators.

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

21 years agoDaily bump.
gccadmin [Fri, 12 Jul 2002 07:16:56 +0000 (07:16 +0000)]
Daily bump.

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

21 years agogcc:
amylaar [Thu, 11 Jul 2002 23:53:01 +0000 (23:53 +0000)]
gcc:
Thu Jul 11 15:39:21 2002  J"orn Rennecke <joern.rennecke@superh.com>

* simplify-rtx.c (simplify_subreg): Handle floating point
CONST_DOUBLEs.  When an integer subreg of a smaller mode than
the element mode is requested, compute a subreg with an
integer mode of the same size as the element mode first.

testsuite:
Thu Jul 11 15:39:21 2002  J"orn Rennecke <joern.rennecke@superh.com>
                          Andrew Pinski  <pinskia@physics.uc.edu>

gcc.c-torture/compile/simd-2.c: New testcase.
gcc.c-torture/compile/simd-3.c: Likewise.

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

21 years ago PR c++/7224
mmitchel [Thu, 11 Jul 2002 22:34:58 +0000 (22:34 +0000)]
PR c++/7224
* class.c (add_method): Simplify.

PR c++/7224
* g++.dg/overload/error1.C: New test.

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

21 years ago PR c++/7279
jason [Thu, 11 Jul 2002 21:55:49 +0000 (21:55 +0000)]
    PR c++/7279
        * tree.c (cp_copy_res_decl_for_inlining): Also copy
        TREE_ADDRESSABLE.

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

21 years ago PR c++/7279
jason [Thu, 11 Jul 2002 21:12:47 +0000 (21:12 +0000)]
    PR c++/7279
        * tree.c (cp_copy_res_decl_for_inlining): Also copy
        TREE_ADDRESSABLE.

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

21 years ago * combine.c (try_combine): When converting a paradoxical subreg
amylaar [Thu, 11 Jul 2002 21:03:51 +0000 (21:03 +0000)]
* combine.c (try_combine): When converting a paradoxical subreg
to an extension, take LOAD_EXTEND_OP into account.

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

21 years ago * configure.in: Remove two redundant tests.
neroden [Thu, 11 Jul 2002 19:54:04 +0000 (19:54 +0000)]
* configure.in: Remove two redundant tests.

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

21 years ago * configure.in (mips*-*-irix6*o32): Enable stabs.
ro [Thu, 11 Jul 2002 18:56:58 +0000 (18:56 +0000)]
* configure.in (mips*-*-irix6*o32): Enable stabs.

gcc:
* config.gcc (mips-sgi-irix6*o32): New configuration.

* configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32
configurations.
* configure: Regenerate.

* config/mips/iris6-o32-as.h: New file.
* config/mips/iris6-o32.h: New file.

* config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define.
(NM_FLAGS): Define.
(HAVE_AS_SHF_MERGE): Undefine.

* config/mips/t-iris5-as: New file.
* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it.

* config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME,
SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK,
SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT,
dp-bit.c, fp-bit.c): Move ...
* config/mips/t-iris5-6: ... here.
New file, shared by IRIX 5 and IRIX 6.
* config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*,
mips-sgi-irix5*): Use it.

* config/mips/iris6.h: Remove duplicate comment.

* config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 &&
!TARGET_IRIX6]: Define.
(mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6.

* config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment.

gcc/testsuite:
* gcc.misc-tests/linkage.exp: Handle mips-sgi-irix6*o32
configuration and IRIX 6 O32 ABI.

libstdc++-v3:
* configure.target (target_os switch): Allow for irix6*o32
configurations.

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

21 years ago * pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
danglin [Thu, 11 Jul 2002 18:47:45 +0000 (18:47 +0000)]
* pa.md (adddi3): Change predicate of operand 2 to adddi3_operand
and delete code to force constant to register.
* pa-protos.h (adddi3_operand): Add prototype.
* pa.c (adddi3_operand): New function.

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

21 years ago * c-decl.c (duplicate_decls): Preserve the noreturn attribute on
sayle [Thu, 11 Jul 2002 12:29:07 +0000 (12:29 +0000)]
* c-decl.c (duplicate_decls): Preserve the noreturn attribute on
non-ANSI builtin functions.

* gcc.c-torture/execute/builtin-noret-1.c: Test non-ANSI functions.

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

21 years ago * rtl.h (gen_rtx_CONST_VECTOR): Declare.
amylaar [Thu, 11 Jul 2002 10:32:54 +0000 (10:32 +0000)]
* rtl.h (gen_rtx_CONST_VECTOR): Declare.
* gengenrtl.c (special_rtx): Check for CONST_VECTOR.
* emit-rtl.c (gen_rtx_CONST_VECTOR): New function.
(gen_const_vector_0): Use it.

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

21 years agoDaily bump.
gccadmin [Thu, 11 Jul 2002 07:16:52 +0000 (07:16 +0000)]
Daily bump.

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

21 years ago * pa.md (adddi3): For 32-bit targets, force constants to a register
danglin [Thu, 11 Jul 2002 05:04:55 +0000 (05:04 +0000)]
* pa.md (adddi3): For 32-bit targets, force constants to a register
if they don't fit in an 11-bit immediate.  Change insn predicate to
arith11_operand.  Remove comment.
* pa.c (cint_ok_for_move): Fix comment.
(emit_move_sequence):  Don't directly split DImode constants on 32-bit
targets.

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

21 years ago * include/bits/stl_deque.h: Fix misspelling of `Create' as `Creats'.
kraai [Thu, 11 Jul 2002 04:43:15 +0000 (04:43 +0000)]
* include/bits/stl_deque.h: Fix misspelling of `Create' as `Creats'.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_vector.h: Likewise.

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

21 years ago PR c/2454
sayle [Thu, 11 Jul 2002 01:23:07 +0000 (01:23 +0000)]
PR c/2454
* combine.c (nonzero_bits): LOAD_EXTEND_OP should only apply
to SUBREGs of MEMs.  (num_sign_bit_copies): Likewise.

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

21 years ago2002-07-10 Roger Sayle <roger@eyesopen.com>
sayle [Thu, 11 Jul 2002 01:20:23 +0000 (01:20 +0000)]
2002-07-10  Roger Sayle  <roger@eyesopen.com>
    Zack Weinberg <zack@codesourcery.com>

* builtins.def: Make the argument types of abort and exit
independent of the front-end.

* java/builtins.c (initialize_builtins): Remove defines that
handled C/C++ specific junk hereby removed from builtins.def.

* gcc.c-torture/execute/20000217-1.c: Fix usage of "abort".

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

21 years ago * config/rs6000/linux64.h (ASM_SPEC): Define.
amodra [Thu, 11 Jul 2002 00:23:16 +0000 (00:23 +0000)]
* config/rs6000/linux64.h (ASM_SPEC): Define.

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

21 years ago2002-07-10 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 10 Jul 2002 23:12:53 +0000 (23:12 +0000)]
2002-07-10  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (emit_frame_save): New.
        (rs6000_frame_related): Replace reg2 before reg.
        (rs6000_emit_prologue): Use emit_frame_save for saving gprs, fprs,
        and eh_return registers.

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

21 years ago2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 10 Jul 2002 21:17:29 +0000 (21:17 +0000)]
2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/open.c (f_open): Do not indicate unformatted file
if record length is given without a FORMATTED/UNFORMATTED
specification.

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

21 years ago2002-07-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Wed, 10 Jul 2002 21:13:26 +0000 (21:13 +0000)]
2002-07-10  Toon Moene  <toon@moene.indiv.nluug.nl>

Revert all patches for optimization of Complex .op. Real.
* complex_part_zero_p: Remove
* expand_cmplxdiv_straight: Replace complex_part_zero_p(x)
with x.
* expand_cmplxdiv_wide: Ditto.
* expand_binop: Ditto.

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

21 years ago * config/avr/avr.md: Fix two 0x80000000 constants to make them
marekm [Wed, 10 Jul 2002 21:08:41 +0000 (21:08 +0000)]
* config/avr/avr.md: Fix two 0x80000000 constants to make them
negative also on 64-bit hosts.

Default to -fno-reorder-blocks when optimizing for size.
* config/avr/avr-protos.h (avr_optimization_options): Declare.
* config/avr/avr.c (avr_optimization_options): New function.
* config/avr/avr.h (OPTIMIZATION_OPTIONS): New.

Optimize returning from simple functions.
* config/avr/avr-protos.h (avr_simple_epilogue): Declare.
* config/avr/avr.c (avr_simple_epilogue): New function.
* config/avr/avr.md (return): New insn.

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

21 years ago * config/i386/i386.c (ix86_svr3_asm_out_constructor): Add
rupp [Wed, 10 Jul 2002 20:32:51 +0000 (20:32 +0000)]
    * config/i386/i386.c  (ix86_svr3_asm_out_constructor): Add
        HAS_INIT_SECTION to protection.

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

21 years ago * doc/invoke.texi (Debugging Options): Mention that -gdwarf is
mmitchel [Wed, 10 Jul 2002 19:17:51 +0000 (19:17 +0000)]
* doc/invoke.texi (Debugging Options): Mention that -gdwarf is
deprecated.

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

21 years ago * combine.c (gen_lowpart_for_combine): Handle vector modes.
amylaar [Wed, 10 Jul 2002 18:51:20 +0000 (18:51 +0000)]
* combine.c (gen_lowpart_for_combine): Handle vector modes.
Supply non-VOID mode to simplify_gen_subreg.

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

21 years ago * pt.c (template_parm_this_level_p, push_template_decl_real):
grahams [Wed, 10 Jul 2002 18:45:05 +0000 (18:45 +0000)]
* pt.c (template_parm_this_level_p, push_template_decl_real):
Pass depth as int pointer.

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

21 years ago * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
law [Wed, 10 Jul 2002 18:26:59 +0000 (18:26 +0000)]
    * mn10200.c (expand_prologue): Create REG_MAYBE_DEAD notes
        as appropriate.

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

21 years ago * cp-tree.h (unqualified_name_lookup_error): Declare it.
mmitchel [Wed, 10 Jul 2002 18:16:24 +0000 (18:16 +0000)]
* cp-tree.h (unqualified_name_lookup_error): Declare it.
(begin_function_definition): Adjust prototype.
* lex.c (unqualified_name_lookup_error): New function, split out
from ...
(do_identifier): ... here.
* parse.y (parse_begin_function_definition): New function.
(fn.def1): Use it.
* semantics.c (begin_function_definition): Accept decl-specifiers
and attributes as separate parameters.

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

21 years ago * i386.c (ix86_init_mmx_sse_builtins): Fix thinko.
hubicka [Wed, 10 Jul 2002 17:52:59 +0000 (17:52 +0000)]
* i386.c (ix86_init_mmx_sse_builtins): Fix thinko.

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

21 years ago * gcc.c-torture/compile/981006-1.x: Do not use -fpic for mn102.
law [Wed, 10 Jul 2002 17:38:37 +0000 (17:38 +0000)]
    * gcc.c-torture/compile/981006-1.x: Do not use -fpic for mn102.

        * gcc.c-torture/compile/930326-1.x: Remove.  No longer needed.

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

21 years ago * mn10200.c (expand_epilogue): Fix test to determine which scratch
law [Wed, 10 Jul 2002 17:26:31 +0000 (17:26 +0000)]
    * mn10200.c (expand_epilogue): Fix test to determine which scratch
        register to use.

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

21 years ago * cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
amylaar [Wed, 10 Jul 2002 15:08:04 +0000 (15:08 +0000)]
* cse.c (cse_insn): Supply proper SUBREG_BYTE to simplify_gen_subreg.
Get mode from dest.
If simplify_gen_subreg fails, try next equivalent.

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

21 years agoreverted bogus checkin
tromey [Wed, 10 Jul 2002 14:33:04 +0000 (14:33 +0000)]
reverted bogus checkin

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

21 years ago * configure: Rebuilt.
tromey [Wed, 10 Jul 2002 14:30:15 +0000 (14:30 +0000)]
* configure: Rebuilt.
* configure.in: Use `test' after `&&'.  From Chris Faylor.

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

21 years ago * include/bits/valarray_meta.h (_UnFunBase): Take a second
gdr [Wed, 10 Jul 2002 12:06:37 +0000 (12:06 +0000)]
* include/bits/valarray_meta.h (_UnFunBase): Take a second
template parameter. Remove _M_func data member.
(_UnFunClos): Take a third template parameter.
(__abs, __cos, __acos, __cosh, __sin, __asin, __sinh, __tan,
__atan, __tanh, __exp, __log, __log10, __sqrt): New classes.
(_DEFINE_EXPR_UNARY_OPERATOR): Adjust definition.

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

21 years ago * diagnostic.h: #include location.h
gdr [Wed, 10 Jul 2002 10:36:27 +0000 (10:36 +0000)]
* diagnostic.h: #include location.h
(location_t): Move definition to..
* location.h: ... here.  New file.
* tree.h: #include location.h
(DECL_SOURCE_LOCATION): New macro.
(DECL_SOURCE_FILE): Use.
(DECL_SOURCE_LINE): Likewise.
(struct tree_decl): REplace filename and linenum with locus.
* Makefile.in (TREE_H): add location.h
(diagnostic.o): Depends on gt-location.h
(gt-location.h): Depends on s-gtype

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

21 years agoDaily bump.
gccadmin [Wed, 10 Jul 2002 07:17:32 +0000 (07:17 +0000)]
Daily bump.

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

21 years ago * config/rs6000/aix.h: Convert CPP_PREDEFINES to
kraai [Wed, 10 Jul 2002 00:33:52 +0000 (00:33 +0000)]
* config/rs6000/aix.h: Convert CPP_PREDEFINES to
TARGET_OS_CPP_BUILTINS.
* config/rs6000/aix31.h: Likewise.
* config/rs6000/aix41.h: Likewise.
* config/rs6000/aix43.h: Likewise.
* config/rs6000/aix51.h: Likewise.
* config/rs6000/beos.h: Likewise.
* config/rs6000/darwin.h: Likewise.
* config/rs6000/eabi.h: Likewise.
* config/rs6000/eabisim.h: Likewise.
* config/rs6000/linux.h: Likewise.
* config/rs6000/linux64.h: Likewise.
* config/rs6000/lynx.h: Likewise.
* config/rs6000/mach.h: Likewise.
* config/rs6000/rtems.h: Likewise.
* config/rs6000/sysv4.h: Likewise.
* config/rs6000/vxppc.h: Likewise.

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

21 years ago * cp-demangle.c (demangle_identifier): Support extended Unicode
jason [Tue, 9 Jul 2002 23:57:09 +0000 (23:57 +0000)]
    * cp-demangle.c (demangle_identifier): Support extended Unicode
        characters.

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

21 years ago PR c++/6255
jason [Tue, 9 Jul 2002 23:45:37 +0000 (23:45 +0000)]
    PR c++/6255
        * decl.c (lookup_name_real): Build a new TYPENAME_TYPE rather than
        modifying the old one.

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

21 years ago * cp-tree.h (constructor_name_p): Declare it.
mmitchel [Tue, 9 Jul 2002 23:31:28 +0000 (23:31 +0000)]
* cp-tree.h (constructor_name_p): Declare it.
(check_template_template_default_arg): Likewise.
* class.c (handle_using_decl): Use constructor_name_p.
* decl.c (grokdeclarator): Likewise.
* decl2.c (constructor_name_p): Define it.
* init.c (build_member_call): Use constructor_name_p.
* parse.y (template_parm): Use check_template_template_default_arg.
* pt.c (check_explicit_specialization): Use constructor_name_p.
* semantics.c (check_template_template_default_arg): New function.

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

21 years ago * gcc.dg/20020312-2.c: Check for __PPC__.
aldyh [Tue, 9 Jul 2002 23:30:51 +0000 (23:30 +0000)]
    * gcc.dg/20020312-2.c: Check for __PPC__.

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

21 years ago2002-07-09 Devang Patel <dpatel@apple.com>
dpatel [Tue, 9 Jul 2002 22:29:11 +0000 (22:29 +0000)]
2002-07-09 Devang Patel <dpatel@apple.com>
        * objc/objc-act.c (adjust_type_for_id_default): Fix my previous patch.
        Do not allow ObjC objects as a parameter type for Objective-C methods.
        My previous patch restricted  'struct' also.

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

21 years ago * cpperror.c (cpp_error): Default to directive_line within
neil [Tue, 9 Jul 2002 22:21:37 +0000 (22:21 +0000)]
* cpperror.c (cpp_error): Default to directive_line within
directives here.
* cppexp.c (cpp_interpret_integer): Only use traditional
number semantics in directives.
* cpplib.c (prepare_directive_trad): Don't reset pfile->line.
(do_include_common): Similarly.
* cpptrad.c (scan_out_logical_line): Implement accurate
quoting of <> in #include.
* doc/cpp.texi: Update.

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

21 years agoTue Jul 9 22:37:44 2002 Stephen Clarke <stephen.clarke@superh.com>
amylaar [Tue, 9 Jul 2002 22:04:34 +0000 (22:04 +0000)]
Tue Jul  9 22:37:44 2002  Stephen Clarke <stephen.clarke@superh.com>
                          J"orn Rennecke <joern.rennecke@superh.com>

* sh.c (sh_adjust_cost): Special handling of SHMEDIA code.
* sh.md (attribute issues): Replace with:
(attribute pipe_model).  All users changed.
(attribute type): Change pt / ptabs to pt_media / ptabs_media.
All users changed.
(function units sh5issue, sh5fds): New.
(attribute is_mac_media): New.
(adddi3_media, subdi3_media, divsi3_i1_media, anddi3): Add type.
(andcdi3, iordi3, xordi3, ashldi3_media, lshrdi3_media): Likewise.
(ashrdi3_media, negdi_media, extendsidi2, movqi_media): Likewise.
(movhi_media, shori_media, movv2sf_i, jump_media): Likewise.
(call_media, call_value_media, sibcall_media): Likewise.
(casesi_jump_media, casesi_shift_media, casesi_load_media): Likewise.
(return_media_i, addsf3_media, subsf3_media, mulsf3_media): Likewise.
(mac_media, divsf3_media, floatdisf2, floatsisf2_media): Likewise.
(fix_truncsfdi2, fix_truncsfsi2_media, cmpeqsf_media): Likewise.
(cmpgtsf_media, cmpgesf_media, cmpunsf_media, negsf2_media): Likewise.
(sqrtsf2_media, abssf2_media, adddf3_media, subdf3_media): Likewise.
(muldf3_media, divdf3_media, floatdidf2, floatsidf2_media): Likewise.
(fix_truncdfdi2, fix_truncdfsi2_media, cmpeqdf_media): Likewise.
(cmpgtdf_media, cmpgedf_media,cmpundf_media, negdf2_media): Likewise.
(sqrtdf2_media, absdf2_media, extendsfdf2_media): Likewise.
(truncdfsf2_media): Likewise.
(movsi_media, movsi_media_nofpu, movdi_media): Use new types.
(movdi_media_nofpui, movdf_media, movdf_media_nofpu): Likewise.

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

21 years ago * sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
amylaar [Tue, 9 Jul 2002 21:30:32 +0000 (21:30 +0000)]
* sh.h (PREDICATE_CODES): Add general_extend_operand and inqhi_operand.
* sh.c (general_extend_operand, inqhi_operand): New functions.
* sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Collapse
alternatives using 'N' modifier.  Add type.
(adddi3z_media): Likewise.  Enable generator function generation.
(movdicc_false, movdicc_true, addsi3_media, subsi3_media): Use more
exact predicates / constraints.  Add type.
(subsi3): Allow 0 for SHMEDIA.
(udivsi3_i4_media): Use match_operand for input values
rather than hard registers.
(udivsi3 - TARGET_SHMEDIA_FPU case): Don't ferry values
unnecessarily through hard registers.  Keep copies of pseudo
registers outside of the libcall sequence.
(mulsidi3_media, umulsidi3_media): Use more exact predicates.  Add type.
(ashlsi3_media, ashrsi3_media, lshrsi3_media): Likewise.
(zero_extendsidi2, zero_extendhidi2, zero_extendqidi2): Likewise.
(extendhidi2, extendqidi2): Likewise.
(andsi3_compact): Name.
(andcdi3): Enable generator function generation.
(zero_extendhisi2, zero_extendqisi2): Rename to
(zero_extendhisi2_compact, zero_extendqisi2_compact).
(extendhisi2, extendqisi2): Rename to
(extendhisi2_compact, extendqisi2_compact).
(rotldi3, rotldi3_mextr, rotrdi3, rotrdi3_mextr): New patterns.
(loaddi_trunc, zero_extendhisi2, zero_extendhisi2_media): Likewise.
(zero_extendhisi2_media+1, zero_extendqisi2): Likewise.
(zero_extendqisi2_media, extendhisi2, extendhisi2_media): Likewise.
(extendhisi2_media, extendhisi2_media+1, extendqisi2): Likewise.
(extendqisi2_media, extendqisi2_media+1, truncdisi2): Likewise.
(truncdihi2, truncdiqi2, reload_inqi, reload_inhi): Likewise.
(shmedia32_initialize_trampoline_big): Likewise.
(shmedia32_initialize_trampoline_little): Likewise.
(nsb, nsbsi, nsbdi, ffsdi2, ffssi2, byterev): Likewise.
(negdi2): Remove spurious T clobber.
(zero_extendhidi2+1, extendhidi2+1, extendqidi2+1): Handle TRUNCATE.
(movsi_media, movsi_media_nofpu): Remove spurious *k after b.
(movdi_media, movdi_media_nofpu, pt, ptb): Likewise.
(movsi_media_nofpu+2, movhi_media+1): Only do split after reload.
(ic_invalidate_line_media): Write back data cache before invalidating
instruction cache.  Add type.
(movsf_media): Sign-extend when the destination is a general
purpose register.  Add type.
(bgt_media, bge_media, bgtu_media, bgeu_media, blt_media_i): Allow 0.
(casesi_worker_0+1): Only increment ref count for proper label.
(casesi_worker_0+2): Likewise.

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