aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-07-18sh.c (barrier_align, push): Shut up compiler warnings.J"orn Rennecke2-18/+12
* sh.c (barrier_align, push): Shut up compiler warnings. (initial_elimination_offset,sh_media_init_builtins): Likewise. (reg_no_subreg_operand): Delete. From-SVN: r55555
2002-07-18linux64.h (LINK_SPEC): Remove bogus -Y option.Bo Thorsen2-14/+20
2002-07-17 Bo Thorsen <bo@suse.de> * config/i386/linux64.h (LINK_SPEC): Remove bogus -Y option. (STARTFILE_PREFIX_SPEC): Define for NATIVE_CROSS compilations. (STARTFILE_SPEC): Remove hardcoded library paths. (ENDFILE_SPEC): Likewise. From-SVN: r55554
2002-07-18gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached.Jan Hubicka2-10/+21
* gcse.c (hoist_expr_reaches_here_p): Stop once expr_bb is reached. * gcse.c (try_replace_reg): Do not return false positives. From-SVN: r55553
2002-07-18Daily bump.GCC Administrator7-7/+7
From-SVN: r55552
2002-07-18prefix.c: (update_path): Strip ".." components when prior dir doesn't exist.Alan Modra2-3/+68
* prefix.c: (update_path): Strip ".." components when prior dir doesn't exist. Pass correct var to UPDATE_PATH_HOST_CANONICALIZE. From-SVN: r55547
2002-07-18* gcc.dg/nest.c: New.Alan Modra2-0/+25
From-SVN: r55546
2002-07-18sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support.Alan Modra2-6/+7
* config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Remove 64-bit support. (ASM_OUTPUT_REG_POP): Likewise. From-SVN: r55545
2002-07-18rs6000.c (first_reg_to_save): Remove bogus adjustments to first_reg for ↵Alan Modra4-61/+76
profiling case. * config/rs6000/rs6000.c (first_reg_to_save): Remove bogus adjustments to first_reg for profiling case. (output_function_profiler): Correct lr save slot for ABI_AIX_NODESC. Disable profiling for 64 bit code on both ABI_V4 and ABI_AIX_NODESC. Save static chain reg to sp + 12 on ABI_AIX_NODESC. * config/rs6000/sysv4.h (ASM_OUTPUT_REG_PUSH): Define. (ASM_OUTPUT_REG_POP): Define. * config/rs6000/linux64.h (ASM_OUTPUT_REG_PUSH): Undef. (ASM_OUTPUT_REG_POP): Undef. From-SVN: r55544
2002-07-17run_doxygen: Remove template parameter names from "Compound List" summary page.Phil Edwards3-19/+31
2002-07-17 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/run_doxygen: Remove template parameter names from "Compound List" summary page. Reformat. * docs/html/documentation.html: XHTML fixes. From-SVN: r55543
2002-07-17cpplib.c (do_sccs): Handle #sccs on all systems.Neil Booth30-115/+20
* cpplib.c (do_sccs): Handle #sccs on all systems. * system.h (SCCS_DIRECTIVE): Poison. * config/darwin.h, config/freebsd.h, config/netbsd.h, config/ptx4.h, config/svr3.h, config/svr4.h, config/alpha/elf.h, config/arm/linux-elf.h, config/c4x/c4x.h, config/d30v/d30v.h, config/i370/i370.h, config/i386/gas.h, config/i386/sco5.h, config/i960/i960.h, config/m68hc11/m68hc11.h, config/m68k/3b1.h, config/m68k/3b1g.h, config/m68k/crds.h, config/m68k/mot3300.h, config/m68k/pbb.h, config/m88k/m88k.h, config/mips/mips.h, config/sparc/pbd.h, config/stormy16/stormy16.h, config/vax/vaxv.h: Remove all references to SCCS_DIRECTIVE. * doc/cpp.texi, doc/tm.texi: Update. From-SVN: r55542
2002-07-17regrename.c (maybe_mode_change): New function.J"orn Rennecke2-26/+61
* regrename.c (maybe_mode_change): New function. (find_oldest_value_reg, copyprop_hardreg_forward_1): Use it. From-SVN: r55541
2002-07-17i386.c (ix86_expand_int_movcc): In the general case suppress addition when ↵Rodney Brown2-12/+15
either ct or cf are zero. * config/i386/i386.c (ix86_expand_int_movcc): In the general case suppress addition when either ct or cf are zero. From-SVN: r55540
2002-07-17re PR rtl-optimization/6713 (Regression wrt 3.0.4: g++ -O2 leads to seg ↵Eric Botcazou3-2/+135
fault at run time) PR optimization/6713 * loop.c (loop_givs_rescan): Explicitly delete the insn that sets a non-replaceable giv after issuing the new one. Co-Authored-By: Glen Nakamura <glen@imodulo.com> From-SVN: r55539
2002-07-17loop-2e.x: Let the testcase XFAIL for all x86 processors.Eric Botcazou2-2/+7
* gcc.c-torture/execute/loop-2e.x: Let the testcase XFAIL for all x86 processors. From-SVN: r55538
2002-07-1720010122-1.x: Do not test with -fomit-frame-pointer.Ian Dall2-0/+16
* gcc.c-torture/execute/20010122-1.x: Do not test with -fomit-frame-pointer. From-SVN: r55537
2002-07-17cppexp.c (cpp_interpret_integer, [...]): Clarify and correct use of "bool" ↵Neil Booth5-23/+32
variables. * cppexp.c (cpp_interpret_integer, append_digit, parse_defined, eval_token): Clarify and correct use of "bool" variables. * cpplib.h (struct cpp_options): Similarly. * cppmacro.c (parse_params, _cpp_save_parameter): Ditto. * cpptrad.c (recursive_macro): Similarly. From-SVN: r55536
2002-07-17mangle.c (write_unqualified_name): Handle template parm subtitution.Jason Merrill3-0/+80
* mangle.c (write_unqualified_name): Handle template parm subtitution. * class.c (build_base_field): Set DECL_PACKED. (layout_class_type): Don't use tail padding of PODs. From-SVN: r55535
2002-07-17Fix file name.Joern Rennecke1-1/+1
From-SVN: r55534
2002-07-17lib1funcs.asm (udivsi3_i4): Implement SHcompact version in SHmedia code.J"orn Rennecke2-7/+23
* lib1funcs.asm (udivsi3_i4): Implement SHcompact version in SHmedia code. From-SVN: r55533
2002-07-17* sh.md (cmpgtudi_media): Remove spurious @.J"orn Rennecke2-3/+4
From-SVN: r55532
2002-07-17lib1funcs.asm (FMOVD_WORKS): Don't define for little endian.J"orn Rennecke3-3/+7
* config/sh/lib1funcs.asm (FMOVD_WORKS): Don't define for little endian. * sh.h (OVERRIDE_OPTIONS): Don't set FMOVD_BIT for little endian. From-SVN: r55531
2002-07-17lib1funcs.asm (init_trampoline): New entry point.J"orn Rennecke6-102/+263
* config/sh/lib1funcs.asm (init_trampoline): New entry point. * sh-protos.h (sh_initialize_trampoline): Declare. * sh.c (sh_initialize_trampoline): New function. * sh.h (TRAMPOLINE_SIZE): Only 24 for TARGET_SHMEDIA32. (TRAMPOLINE_ALIGNMENT): Need cache-line alignment for TARGET_SHMEDIA. (INITIALIZE_TRAMPOLINE): Call sh_initialize_trampoline. (TRAMPOLINE_ADJUST_ADDRESS): Not needed for SHcompact. * sh.md (initialize_trampoline, double_shori): New patterns. (initialize_trampoline_compact): Likewise. (shmedia32_initialize_trampoline_big): Remove. (shmedia32_initialize_trampoline_little): Likewise. From-SVN: r55529
2002-07-17sh-protos.h (binary_float_operator): Remove declaration.J"orn Rennecke5-178/+447
* sh-protos.h (binary_float_operator): Remove declaration. (sh_expand_unop_v2sf, sh_expand_binop_v2sf): Declare. * sh.c (print_operand, case 'N'): Check against CONST0_RTX. (unary_float_operator, sh_expand_unop_v2sf): New functions. (sh_expand_binop_v2sf): Likewise. (zero_vec_operand): Delete. (SH_BLTIN_UDI): New builtin shared signature define. Renumbered all non-shared ones. (bdesc): Change all the mextr builtins to use SH_BLTIN_UDI. Enable nsb and byterev. * sh.h (CONDITIONAL_REGISTER_USAGE): Initialize DF_HI_REGS. (HARD_REGNO_MODE_OK): Allow TImode in fp regs. Allow V2SFmode in general regs. (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add DF_HI_REGS. (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise. Remove clause for immediate operands. (SECONDARY_INPUT_RELOAD_CLASS): Add clause for immediate operands. Add DF_HI_REGS. (CLASS_CANNOT_CHANGE_MODE, CLASS_CANNOT_CHANGE_MODE_P): Allow lowpart fp regs - only for big endian for now. (LEGITIMATE_CONSTANT_P): Don't allow non-zero float vectors when FPU is in use. (EXTRA_CONTRAINT_U): Check against CONST0_RTX. (LOAD_EXTEND_OP): NIL for SImode. (REGISTER_MOVE_COST): Add DF_HI_REGS. Const for moves between general and fp registers is 4. PREDICATE_CODES: Amend binary_float_operator entry. Remove zero_vec_operand. Add unary_float_operator. * sh.md (udivsi3_i4_media): Use truncate instead of paradoxical subreg SET_DEST. (truncdisi2, truncdihi2, movv2sf): Allow memory destinations. (truncdiqi2): Do sign extension. (movsi_media, movdi_media): Allow to use r63 to an fp register. (movdf_media, movsf_media): Likewise. (movv2sf_i, movv2sf_i+1): Don't use f{ld,st}.p or SUBREGS. Collapse to one define_insn_and_split. Allow immediate sources. (addv2sf3, subv2sf3, mulv2sf3, divv2sf3): New patterns. (movv4sf_i): Allow immediate sources. Use simplify_gen_subreg. (movv4sf): Allow immediate sources. (movsf_media_nofpu+1): Don't split moves to FP registers. (unary_sf_op, binary_sf_op, mshflo_w_x, concat_v2sf): New patterns. (movv8qi_i+3): Check against CONST0_RTX. (mextr1, mextr2. mextr3. mextr4, mextr5, mextr6, mextr7): Use DImode for input and output operands. Fix argument 3 to gen_mextr_rl. (mmul23_wl, mmul01_wl, mmulsum_wq_i): s/const_vector/parallel/ (msad_ubq_i, mshf4_b, mshf0_b, mshf4_l, mshf0_l, mshf4_w): Likewise. (mshf0_w, fipr, ftrv): Likewise. (mshfhi_l_di): Now insn_and_split. Can handle FP regs. From-SVN: r55528
2002-07-17PR c++/2862, c++/2863Kriang Lerdsuwanakij5-22/+68
PR c++/2862, c++/2863 * pt.c (determine_specialization): Compare the length of TYPE_ARG_TYPES. Tidy. * g++.dg/template/instantiate2.C: New test. * g++.dg/template/spec4.C: New test. From-SVN: r55527
2002-07-17re PR c++/3797 (gcc 3.0 fails to emit explicit specialization of a template ↵Kriang Lerdsuwanakij2-10/+24
member) PR c++/3797 * decl.c (duplicate_decls): Don't propagate inlining parameters from olddecl to newdecl when newdecl is a specialization of the instantiation olddecl. From-SVN: r55525
2002-07-17PR c++/4802, c++/5387Kriang Lerdsuwanakij5-0/+53
PR c++/4802, c++/5387 * decl.c (make_typename_type): Use enforce_access. * g++.dg/template/access2.C: New test. * g++.dg/template/access3.C: New test. From-SVN: r55517
2002-07-17re PR c++/7320 (g++ 3.2 relocation problem)Scott Snyder2-0/+6
PR c++/7320 * rtti.c (get_tinfo_decl): Set DECL_COMDAT. From-SVN: r55516
2002-07-17From Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>Jeroen Dobbelaere3-13/+19
* arm.h (ARM_NUM_INTS, ARM_NUM_REGS, ARM_NUM_REGS2): Renamed from NUM_INTS, NUM_REGS and ARM_NUM_REGS2 respectively. All uses changed. * arm.c: Similarly. From-SVN: r55515
2002-07-17mips-protos.h (mips_sign_extend): Declare.Richard Sandiford5-252/+262
* 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. From-SVN: r55514
2002-07-17Daily bump.GCC Administrator7-7/+7
From-SVN: r55513
2002-07-16Fix for i960 build failure reported by Andreas Jaeger.Jim Wilson2-0/+10
* toplev.c (lang_dependent_init): Create function context for init_expr_once. From-SVN: r55508
2002-07-17linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't --gc-sections if -r.Hans-Peter Nilsson3-2/+8
* config/cris/linux.h (CRIS_LINK_SUBTARGET_SPEC): Don't --gc-sections if -r. * config/cris/cris.h: Ditto. From-SVN: r55507
2002-07-16i386.c (ix86_expand_int_movcc): In the case where the comparison directly ↵Rodney Brown2-2/+16
gives a mask suppress addition when... * 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. From-SVN: r55505
2002-07-17darwin.h (ASM_OUTPUT_LABEL): Move to here from config/rs6000/darwin.h.Stan Shebs3-21/+34
* 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. From-SVN: r55504
2002-07-16config.guess: Update to 2002-07-09 version.Chris Demetriou3-47/+93
2002-07-16 Chris Demetriou <cgd@broadcom.com> * config.guess: Update to 2002-07-09 version. * config.sub: Update to 2002-07-03 version. From-SVN: r55503
2002-07-17Makefile.in: Delete references to enquire.Nathanael Nerode4-60/+13
(gcc) * Makefile.in: Delete references to enquire. * enquire.c: Move to contrib. (contrib) * enquire.c: Move from gcc. From-SVN: r55502
2002-07-16darwin.c (func_name_maybe_scoped): Remove unused decl.Stan Shebs3-8/+14
* 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. From-SVN: r55501
2002-07-16* m68hc11.c (m68hc11_reorg): Do not rebuild CFG.Jan Hubicka2-2/+7
From-SVN: r55500
2002-07-16Wed Jul 17 00:20:48 CEST 2002 Jan Hubicka <jh@suse.cz>Jan Hubicka1-0/+5
* i386.md (prefetch): Fix for 64bit mode. (prefetch_sse_rex, prefetch_3dnow_rex): New patterns. From-SVN: r55499
2002-07-16i386.h (MACHINE_DEPENDENT_REORG): New macro.Jan Hubicka4-0/+51
* i386.h (MACHINE_DEPENDENT_REORG): New macro. * i386.c (x86_machine_dependent_reorg): New function. * i386-protos.h (x86_machine_dependent_reorg): Declare. From-SVN: r55498
2002-07-16gcc_update (touch_files): Pass -s to ${MAKE}.H.J. Lu2-1/+5
2002-07-16 H.J. Lu <hjl@gnu.org> * gcc_update (touch_files): Pass -s to ${MAKE}. From-SVN: r55497
2002-07-16StreamTokenizer.java (pushBack): Update documentation.Mark Wielaard2-9/+14
* java/io/StreamTokenizer.java (pushBack): Update documentation. (whitespaceChars): call resetChar(). From-SVN: r55496
2002-07-16builtins.c (std_expand_builtin_va_start): Remove unused first argument.Zack Weinberg48-94/+98
* 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. From-SVN: r55495
2002-07-16* regrename.c (copy_value): Don't record high part copies.J"orn Rennecke2-0/+24
From-SVN: r55493
2002-07-16*** empty log message ***Steve Ellcey1-0/+1
From-SVN: r55491
2002-07-16long_double.h (FIXUNS_TRUNCTFDI2_LIBCALL): New define.Steve Ellcey3-3/+26
* 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. From-SVN: r55490
2002-07-16invoke.texi (NS32K Options): Document -mieee-compare optionIan Dall5-44/+123
* 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. From-SVN: r55489
2002-07-16explow.c (convert_memory_address): Remove special handling when ↵Steve Ellcey4-43/+104
POINTERS_EXTEND_UNSIGNED < 0. * 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. From-SVN: r55488
2002-07-16From: Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>Jeroen Dobbelaere3-7/+17
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. Co-Authored-By: Richard Earnshaw <rearnsha@arm.com> From-SVN: r55487
2002-07-16arm.md (stack_tie): New insn.Richard Earnshaw3-9/+18
* 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. From-SVN: r55486