aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-01-28* cse.c (cse_insn): Avoid redundant REG_EQUAL notes.Roger Sayle2-5/+13
From-SVN: r61971
2003-01-28* gcc.c-torture/execute/builtin-constant.x: Only expect failure at -O1.Kaveh R. Ghazi2-2/+6
From-SVN: r61970
2003-01-28sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA...Richard Sandiford2-2/+12
* config/sh/sh.h (CLASS_MAX_NREGS): If TARGET_SHMEDIA, and the given class contains a floating-point register, return the size of the mode in half words. From-SVN: r61966
2003-01-28Add a missing change to:Gerald Pfeifer1-1/+1
* gcc/doc/invoke.texi (Optimization Options): Group together optional and experimental flags. Move trapv and bounds-check out of this section. Group floating point flags together. (Code Gen Options): Move trapv and bounds-check to here. From-SVN: r61964
2003-01-28i386.c (ix86_carry_flag_operator): New predicate.Jan Hubicka4-29/+167
* i386.c (ix86_carry_flag_operator): New predicate. (fcmov_operator): Fix whitespace. (ix86_expand_carry_flag_compare): Deal with floating point. (ix86_expand_int_movcc): Deal with fp; update insn expansion (ix86_expand_int_addcc): Likewise. (ix86_expand_strlensi_unroll_1): likewsie. * i386.h (PREDICATE_CODES): Add ix86_carry_flag_operator. * i386.md (add?i_carry_rex64): Use new predicate. (sub?i3_carry_rex64): Likewise. (x86_mov?icc_0_m1*): Likewise. From-SVN: r61963
2003-01-28cfgloopmanip.c (create_preheader): Initialize src to avoid warning.Andreas Schwab3-4/+10
* cfgloopmanip.c (create_preheader): Initialize src to avoid warning. * expmed.c (emit_store_flag): Fix cast to avoid sign comparison warning. From-SVN: r61962
2003-01-28combine.c (force_to_mode): Add cast to fix warning when STORE_FLAG_VALUE is ↵Andreas Schwab2-1/+7
negative. * combine.c (force_to_mode): Add cast to fix warning when STORE_FLAG_VALUE is negative. From-SVN: r61961
2003-01-28consthrow.java: New file.Tom Tromey3-0/+13
* libjava.compile/consthrow.java: New file. * libjava.compile/consthrow.xfail: New file. From-SVN: r61959
2003-01-28parse.y (java_check_regular_methods): Check for construct after checking ↵Tom Tromey2-11/+16
types in throws clause. * parse.y (java_check_regular_methods): Check for construct after checking types in throws clause. From-SVN: r61956
2003-01-27Makefile.in (cse.o): Depend on TARGET_H.Richard Henderson92-2695/+3449
* Makefile.in (cse.o): Depend on TARGET_H. * cse.c (rtx_cost): Use targetm.rtx_costs. * system.h (CONST_COSTS RTX_COSTS DEFAULT_RTX_COSTS): Poison. * doc/tm.texi: Update. * target.h (targetm.rtx_costs): New. * target-def.h (TARGET_RTX_COSTS): New. * hooks.c (hook_bool_rtx_int_int_intp_false): New. * hooks.h: Update. * config/alpha/alpha.c (alpha_rtx_cost_data): New. (alpha_rtx_costs, TARGET_RTX_COSTS): New. * config/alpha/alpha.h (PROCESSOR_MAX): New. (CONST_COSTS, RTX_COSTS): Remove. * config/arc/arc.c, config/arc/arc.h, config/c4x/c4x.c, config/c4x/c4x.h, config/cris/cris.c, config/cris/cris.h, config/d30v/d30v.c, config/d30v/d30v.h, config/dsp16xx/dsp16xx.c, config/dsp16xx/dsp16xx.h, config/frv/frv.c, config/frv/frv.h, config/h8300/h8300.c, config/h8300/h8300.h, config/i370/i370.c, config/i370/i370.h, config/i386/i386.c, config/i386/i386.h, config/i960/i960.c, config/i960/i960.h, config/ia64/ia64.c, config/ia64/ia64.h, config/m32r/m32r.c, config/m32r/m32r.h, config/m68k/m68k.c, config/m68k/m68k.h, config/m88k/m88k.c, config/m88k/m88k.h, config/mcore/mcore.c, config/mcore/mcore.h, config/mips/mips.c, config/mips/mips.h, config/mn10200/mn10200.c, config/mn10200/mn10200.h, config/mn10300/mn10300.c, config/mn10300/mn10300.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa.c, config/pa/pa.h, config/pdp11/pdp11.c, config/pdp11/pdp11.h, config/romp/romp.c, config/romp/romp.h, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/s390/s390.c, config/s390/s390.h, config/sh/sh.c, config/sh/sh.h, config/stormy16/stormy16.c, config/stormy16/stormy16.h, config/v850/v850.c, config/v850/v850.h, config/xtensa/xtensa.c, config/xtensa/xtensa.h (CONST_COSTS, RTX_COSTS): Move code ... (foo_rtx_costs, TARGET_RTX_COSTS): ... here. * config/arm/arm.c (arm_rtx_costs_1): Rename from arm_rtx_costs. (arm_rtx_costs, TARGET_RTX_COSTS): New. * config/arm/arm-protos.h: Update. * config/arm/arm.h (DEFAULT_RTX_COSTS): Remove. * config/avr/avr.h (CONST_COSTS): Move code ... * config/avr/avr.c (avr_rtx_costs): ... here. (default_rtx_costs): Make static. * config/avr/avr-protos.h: Update. * config/h8300/h8300.c (const_costs): Make static. (h8300_and_costs, h8300_shift_costs): Likewise. * config/h8300/h8300-protos.h: Update. * config/ip2k/ip2k.h (DEFAULT_RTX_COSTS): Remove. (CONST_COSTS): Move code ... * config/ip2k/ip2k.c (ip2k_rtx_costs): ... here. Rename from default_rtx_costs; update for signature change. * config/ip2k/ip2k-protos.h: Update. * config/m68hc11/m68hc11.h (RTX_COSTS): Remove. (CONST_COSTS): Move code ... * config/m68hc11/m68hc11.c (m68hc11_rtx_costs): ... here. (TARGET_RTX_COSTS): New. (m68hc11_rtx_costs_1): Rename from m68hc11_rtx_costs; make static. * config/m68hc11/m68hc11-protos.h: Update. * config/m68k/m68k.c (const_int_cost): Make static. * config/m68k/m68k-protos.h: Update. * config/mcore/mcore.c (mcore_const_costs): Make static. (mcore_and_cost, mcore_ior_cost): Likewise. * config/mcore/mcore-protos.h: Update. * config/mmix/mmix.c (mmix_rtx_costs, TARGET_RTX_COSTS): New. (mmix_rtx_cost_recalculated): Remove. * config/mmix/mmix.h (DEFAULT_RTX_COSTS): Remove. * config/mmix/mmix-protos.h: Update. * config/sh/sh.c (shiftcosts): Make static. (addsubcosts, andcosts, multcosts): Likewise. * config/sh/sh-protos.h: Update. * config/sparc/sparc.c (TARGET_RTX_COSTS): New. (sparc_rtx_costs): Make static; update for change in signature. * config/sparc/sparc.h (RTX_COSTS_CASES, RTX_COSTS): Remove. * config/sparc/sparc-protos.h: Update. * config/v850/v850.c (const_costs): Make static. * config/v850/v850-protos.h: Update. * config/vax/vax.h (RTX_COSTS): Remove. (CONST_COSTS): Move code ... * config/vax/vax.c (vax_rtx_costs_1): ... here; rename from vax_rtx_cost. (vax_rtx_costs, TARGET_RTX_COSTS): New. From-SVN: r61954
2003-01-27* config/vax/vax-protos.h: Update. Really.Richard Henderson2-4/+1
From-SVN: r61952
2003-01-27* config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really.Richard Henderson3-8/+11
From-SVN: r61951
2003-01-28re PR c++/47 (nested classes broken)Jeffrey D. Oldham2-0/+30
2003-01-27 Jeffrey D. Oldham <oldham@codesourcery.com> PR c++/47 * g++.old-deja/g++.other/lookup24.C: New test. From-SVN: r61950
2003-01-28mips.h (UNITS_PER_HWFPVALUE): Renamed from...Alexandre Oliva4-16/+104
* config/mips/mips.h (UNITS_PER_HWFPVALUE): Renamed from... (UNITS_PER_FPVALUE): Defined as the width of a long double, or zero if no hardware floating point. (LONG_DUBLE_TYPE_SIZE): Set to 128 on N32 and N64. (MAX_FIXED_MODE_SIZE): Define to LONG_DOUBLE_TYPE_SIZE. (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define. (BIGGEST_ALIGNMENT): Same as LONG_DOUBLE_TYPE_SIZE. (FUNCTION_VALUE_REGNO_P): Set for FP_RETURN+2 on N32 and N64. * config/mips/mips.c (mips_arg_info): Pass TFmode values in even FP registers on N32 and N64. (mips_setup_incoming_varargs): Use UNITS_PER_HWFPVALUE. (mips_va_start): Adjust alignment of ARG_POINTER_REGNUM. (mips_va_arg): Use UNITS_PER_HWFPVALUE. Impose additional even-register-like alignment to 128-bit arguments. (save_restore_insns): Use UNITS_PER_HWFPVALUE. (mips_function_value): Likewise. Return TFmode in $f0 and $f2 on N32 or N64. * config/mips/_tilib.c (__negti2, __ashlti3, __lshrti3): New. * config/mips/t-iris6 (LIB2FUNCS_EXTRA): Add _tilib.c. (TPBIT): Set to tp-bit.c. (tp-bit.c): Create out of fp-bit.c. From-SVN: r61945
2003-01-28re PR middle-end/7227 (bogus code generation with attribute mode TI)Kaveh R. Ghazi2-0/+20
PR middle-end/7227 * gcc.dg/uninit-C.c: New test. From-SVN: r61941
2003-01-28* c-parse.in: Remove '%expect 32' directive in objc modeGabriel Dos Reis2-3/+4
From-SVN: r61940
2003-01-28Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use /`$$CC ↵Alexandre Oliva2-5/+10
-print-multi-os-directory`. * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use /`$$CC -print-multi-os-directory`. From-SVN: r61938
2003-01-28ChangeLog file for zlibAlexandre Oliva4-127/+191
From-SVN: r61937
2003-01-28aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)...Alexandre Oliva3-62/+113
* aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless version_specific_libs is enabled. * configure: Rebuilt. From-SVN: r61936
2003-01-28configure.in (toolexecdir, [...]): Set and AC_SUBST.Alexandre Oliva4-10/+25
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST. Remove USE_LIBDIR conditional. * Makefile.am (toolexecdir, toolexeclibdir): Don't override. * Makefile.in, configure: Rebuilt. [[Split portion of a mixed commit.]] From-SVN: r61935.2
2003-01-28configure.in (toolexecdir, [...]): Set and AC_SUBST.Alexandre Oliva5-345/+389
* configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir): Set and AC_SUBST. Remove USE_LIBDIR conditional. * Makefile.am (toolexecdir, toolexeclibdir): Don't override. (toolexecmainlib_DATA): Renamed from toolexeclib_DATA. * Makefile.in, configure: Rebuilt. From-SVN: r61931
2003-01-28Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.Alexandre Oliva4-54/+83
* Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir. * aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless version_specific_libs is enabled. * configure: Rebuilt. From-SVN: r61927
2003-01-28configure.in (toolexecdir, [...]): Set and AC_SUBST.Alexandre Oliva5-117/+176
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST. Remove USE_LIBDIR conditional. * Makefile.am (toolexecdir, toolexeclibdir): Don't override. * Makefile.in, configure: Rebuilt. From-SVN: r61926
2003-01-28* libjava.lang/pr8823.xfail: New file, add "xfail-byte".Kaveh R. Ghazi2-0/+5
From-SVN: r61917
2003-01-28Makefile.am (CONFIG_CXXFLAGS): Reverse order of @EXTRA_CXX_FLAGS@ ↵Danny Smith5-4/+12
@SECTION_FLAGS@. * src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@. * libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise. * src/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. From-SVN: r61915
2003-01-28Daily bump.GCC Administrator2-2/+2
From-SVN: r61913
2003-01-27class.c (update_vtable_entry_for_fn): Add index parameter.Nathan Sidwell4-10/+75
cp: * class.c (update_vtable_entry_for_fn): Add index parameter. Generate vcall thunk for covariant overriding from a virtual primary base. (dfs_modify_vtables): Adjust. testsuite: * g++.dg/abi/covariant1.C: New test. From-SVN: r61906
2003-01-27Makefile.in (LIB2FUNCS_ST): Remove _gcov.Nathan Sidwell8-501/+602
* Makefile.in (LIB2FUNCS_ST): Remove _gcov. (LIBGCOV): New variable. (libgcc.mk): Add LIBGCOV. (LIBGCC_DEPS): Add libgcov.c. (libgcov.a): New target. (clean): Remove libgcov.a. (install-libgcc): Do libgcov too. (stage1-start, stage2-start, stage3-start, stage4-start): Deal with libgcov.a. * libgcc2.c (L_gcov): Move into ... * libgcov.c: ... here. New file. * mklibgcc.in: Add libgcov rules. * gcc.c (LINK_COMMAND_SPEC): Add -lgcov when profiling. * doc/invoke.texi (profile-arcs, test-coverage): Update and clarify. * profile.c (index_counts_file): Remove duplicate check for open file. From-SVN: r61905
2003-01-27Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.David Edelsohn3-6/+11
* Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo. * Makefile.in: Regenerate. From-SVN: r61899
2003-01-27Fix date of ChangeLog of previous revision.Gerald Pfeifer1-1/+1
From-SVN: r61898
2003-01-27invoke.texi (Optimization Options): Group together optional and experimental ↵Jerry Quinn2-203/+234
flags. * gcc/doc/invoke.texi (Optimization Options): Group together optional and experimental flags. Move trapv and bounds-check out of this section. (Code Gen Options): Move trapv and bounds-check to here. From-SVN: r61897
2003-01-27acinclude.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)...Alexandre Oliva4-1240/+1283
* acinclude.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless version_specific_libs is enabled. * aclocal.m4, configure: Rebuilt. From-SVN: r61892
2003-01-27Rebuilt with autoconf 2.13Alexandre Oliva1-25/+1242
From-SVN: r61890
2003-01-27configure.in: Revert 24Jan change.Phil Edwards3-1218/+27
2003-01-27 Phil Edwards <pme@gcc.gnu.org> * configure.in: Revert 24Jan change. * configure: Regenerate. From-SVN: r61888
2003-01-27init.c (__gnat_error_handler): Make msg const.Rainer Orth5-5/+17
* init.c (__gnat_error_handler): Make msg const. * gmem.c (convert_addresses): Move declaration ... * adaint.h: ... here. * adaint.c (convert_addresses): Adapt addrs type to match prototype. * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format. From-SVN: r61887
2003-01-27* gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.Josef Zlomek2-0/+5
From-SVN: r61884
2003-01-27* doc/extend.texi: Fix typo.Volker Reichelt2-1/+5
From-SVN: r61883
2003-01-27re PR rtl-optimization/9090 ([3.2/3.3/3.4 regression?] arm ICE with >= -O2; ↵Richard Earnshaw2-4/+7
regression from 2.95) PR optimization/9090 * function.c (purge_addressof_1): After pushing an addressed register onto the stack, simplify the result. From-SVN: r61881
2003-01-27cppopts.texi: Fix typo.Volker Reichelt4-3/+9
* doc/cppopts.texi: Fix typo. * doc/objc.texi: Likewise. * doc/passes.texi: Likewise. From-SVN: r61878
2003-01-27real.c (ibm_extended_format): Add 53 to minimum exponent.Alexandre Oliva2-3/+23
* real.c (ibm_extended_format): Add 53 to minimum exponent. (encode_ibm_extended): Adjust. From-SVN: r61875
2003-01-27timevar.def (TV_OVERLOAD, [...]): New timevar_id enumerations.Gabriel Dos Reis2-0/+7
* timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New timevar_id enumerations. From-SVN: r61873
2003-01-27Daily bump.GCC Administrator2-2/+2
From-SVN: r61872
2003-01-26* combine.c: Fix formatting.Kazu Hirata2-15/+20
From-SVN: r61862
2003-01-26* doc/gccint.texi: Update the copyright.Kazu Hirata2-1/+5
From-SVN: r61860
2003-01-26cpp.texi: Fix typos.Kazu Hirata8-12/+22
* doc/cpp.texi: Fix typos. * doc/extend.texi: Likewise. * doc/gty.texi: Likewise. * doc/install.texi: Likewise. * doc/passes.texi: Likewise. * doc/rtl.texi: Likewise. * doc/tm.texi: Likewise. From-SVN: r61858
2003-01-26fde-glibc.c: Fix comment typos.Kazu Hirata6-14/+22
* config/ia64/fde-glibc.c: Fix comment typos. * config/ia64/hpux.h: Likewise. * config/ia64/ia64.c: Likewise. * config/ia64/ia64.h: Likewise. * config/ia64/unwind-ia64.c: Likewise. From-SVN: r61857
2003-01-26i386-modes.def: Fix comment typos.Kazu Hirata4-5/+11
* config/i386/i386-modes.def: Fix comment typos. * config/i386/i386.c: Likewise. * config/i386/i386.md: Likewise. From-SVN: r61855
2003-01-26lang-specs.h: Revoke change to (incorrectly) prohibit passing -f options to ↵Toon Moene3-6/+9
cc1 when... 2003-01-26 Toon Moene <toon@moene.indiv.nluug.nl> * lang-specs.h: Revoke change to (incorrectly) prohibit passing -f options to cc1 when preprocessing. * news.texi: Document this. From-SVN: r61854
2003-01-26avr.h, [...]: Undefine ASM_FINISH_DECLARE_OBJECT before defining it.Steven Bosscher7-60/+71
2003-01-26 Steven Bosscher <s.bosscher@student.tudelft.nl> * config/avr/avr.h, config/cris/aout.h, config/elfos.h, config/i386/freebsd-aout.h, config/mips/iris6.h: Undefine ASM_FINISH_DECLARE_OBJECT before defining it. * toplev.c (rest_of_decl_compilation): Don't define ASM_FINISH_DECLARE_OBJECT. Only use it if it is defined. (rest_of_type_compilation): Don't ATTRIBUTE_UNUSED function parameters for DWARF2 targets because they _are_ used. From-SVN: r61851
2003-01-26Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.Michael Matz2-12/+18
2003-01-26 Michael Matz <matz@suse.de> * Make-lang.in (treelang/parse.o-warn): Define as -Wno-error. From-SVN: r61838