Tom Tromey
6a807d35fc
parse.y (java_check_regular_methods): Check for construct after checking types in throws clause.
...
* parse.y (java_check_regular_methods): Check for construct after
checking types in throws clause.
From-SVN: r61956
2003-01-28 06:18:31 +00:00
Richard Henderson
3c50106f69
Makefile.in (cse.o): Depend on TARGET_H.
...
* 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 20:46:33 -08:00
Richard Henderson
5ca9898002
* config/vax/vax-protos.h: Update. Really.
...
From-SVN: r61952
2003-01-27 19:41:10 -08:00
Richard Henderson
b9962e0a16
* config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Remove. Really.
...
From-SVN: r61951
2003-01-27 19:39:45 -08:00
Jeffrey D. Oldham
623baee2cf
re PR c++/47 (nested classes broken)
...
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-28 03:26:00 +00:00
Alexandre Oliva
8a3812735f
mips.h (UNITS_PER_HWFPVALUE): Renamed from...
...
* 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-28 02:18:43 +00:00
Kaveh R. Ghazi
2956f353ba
re PR middle-end/7227 (bogus code generation with attribute mode TI)
...
PR middle-end/7227
* gcc.dg/uninit-C.c: New test.
From-SVN: r61941
2003-01-28 01:59:22 +00:00
Gabriel Dos Reis
820e01bece
* c-parse.in: Remove '%expect 32' directive in objc mode
...
From-SVN: r61940
2003-01-28 01:56:32 +00:00
Alexandre Oliva
93239fdba0
Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use /$$CC -print-multi-os-directory
.
...
* Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
/`$$CC -print-multi-os-directory`.
From-SVN: r61938
2003-01-28 01:48:39 +00:00
Alexandre Oliva
0ccf2c33dd
ChangeLog file for zlib
...
From-SVN: r61937
2003-01-28 01:48:38 +00:00
Alexandre Oliva
c5e3e1ed45
aclocal.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)...
...
* 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-28 01:48:33 +00:00
Alexandre Oliva
0e292c0153
configure.in (toolexecdir, [...]): Set and AC_SUBST.
...
* 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-28 01:48:33 +00:00
Alexandre Oliva
dbf45a0147
configure.in (toolexecdir, [...]): Set and AC_SUBST.
...
* 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-28 01:44:58 +00:00
Alexandre Oliva
233888d3e0
Makefile.in ($(LIBG2C)): -rpath is glibcpp_toolexeclibdir.
...
* 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-28 01:44:38 +00:00
Alexandre Oliva
13b6e5b4f1
configure.in (toolexecdir, [...]): Set and AC_SUBST.
...
* 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 01:44:37 +00:00
Kaveh R. Ghazi
4f8d9f2be6
* libjava.lang/pr8823.xfail: New file, add "xfail-byte".
...
From-SVN: r61917
2003-01-28 01:34:49 +00:00
Danny Smith
697044e099
Makefile.am (CONFIG_CXXFLAGS): Reverse order of @EXTRA_CXX_FLAGS@ @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-28 01:17:36 +00:00
GCC Administrator
2040cbc13a
Daily bump.
...
From-SVN: r61913
2003-01-28 00:17:04 +00:00
Nathan Sidwell
a2ddc3977a
class.c (update_vtable_entry_for_fn): Add index parameter.
...
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-27 23:29:50 +00:00
Nathan Sidwell
23af32e6ea
Makefile.in (LIB2FUNCS_ST): Remove _gcov.
...
* 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-27 23:22:17 +00:00
David Edelsohn
acabc2201e
Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
...
* Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.
* Makefile.in: Regenerate.
From-SVN: r61899
2003-01-27 15:25:43 -05:00
Gerald Pfeifer
9fe42917dd
Fix date of ChangeLog of previous revision.
...
From-SVN: r61898
2003-01-27 18:07:49 +00:00
Jerry Quinn
d4463dfc9b
invoke.texi (Optimization Options): Group together optional and experimental 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-27 18:06:39 +00:00
Alexandre Oliva
f3fe2438f3
acinclude.m4 (glibcpp_toolexeclibdir): Instead of $(MULTISUBDIR)...
...
* 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-27 17:26:29 +00:00
Alexandre Oliva
ca9f4b814b
Rebuilt with autoconf 2.13
...
From-SVN: r61890
2003-01-27 17:22:12 +00:00
Phil Edwards
842e91ecd2
configure.in: Revert 24Jan change.
...
2003-01-27 Phil Edwards <pme@gcc.gnu.org>
* configure.in: Revert 24Jan change.
* configure: Regenerate.
From-SVN: r61888
2003-01-27 14:56:12 +00:00
Rainer Orth
437026ef88
init.c (__gnat_error_handler): Make msg const.
...
* 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 13:16:59 +00:00
Josef Zlomek
244d05fb87
* gcse.c (constprop_register): Check NEXT_INSN (insn) != NULL.
...
From-SVN: r61884
2003-01-27 11:30:35 +00:00
Volker Reichelt
90a2176452
* doc/extend.texi: Fix typo.
...
From-SVN: r61883
2003-01-27 10:53:36 +00:00
Richard Earnshaw
c552c1468c
re PR rtl-optimization/9090 ([3.2/3.3/3.4 regression?] arm ICE with >= -O2; 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-27 10:46:47 +00:00
Volker Reichelt
9a376494fb
cppopts.texi: Fix typo.
...
* doc/cppopts.texi: Fix typo.
* doc/objc.texi: Likewise.
* doc/passes.texi: Likewise.
From-SVN: r61878
2003-01-27 10:30:11 +00:00
Alexandre Oliva
f004e5f376
real.c (ibm_extended_format): Add 53 to minimum exponent.
...
* real.c (ibm_extended_format): Add 53 to minimum exponent.
(encode_ibm_extended): Adjust.
From-SVN: r61875
2003-01-27 06:23:32 +00:00
Gabriel Dos Reis
58c60e5269
timevar.def (TV_OVERLOAD, [...]): New timevar_id enumerations.
...
* timevar.def (TV_OVERLOAD, TV_TEMPLATE_INSTANTIATION): New
timevar_id enumerations.
From-SVN: r61873
2003-01-27 02:22:21 +00:00
GCC Administrator
81cc3b5053
Daily bump.
...
From-SVN: r61872
2003-01-27 00:17:04 +00:00
Kazu Hirata
e869aa3936
* combine.c: Fix formatting.
...
From-SVN: r61862
2003-01-26 21:53:22 +00:00
Kazu Hirata
74fb48112b
* doc/gccint.texi: Update the copyright.
...
From-SVN: r61860
2003-01-26 21:35:07 +00:00
Kazu Hirata
3bcf1b1317
cpp.texi: Fix typos.
...
* 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-26 20:56:09 +00:00
Kazu Hirata
9e4f94dea0
fde-glibc.c: Fix comment typos.
...
* 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-26 20:15:36 +00:00
Kazu Hirata
4aae8a9a4b
i386-modes.def: Fix comment typos.
...
* config/i386/i386-modes.def: Fix comment typos.
* config/i386/i386.c: Likewise.
* config/i386/i386.md: Likewise.
From-SVN: r61855
2003-01-26 19:59:27 +00:00
Toon Moene
7aa6688e8e
lang-specs.h: Revoke change to (incorrectly) prohibit passing -f options to 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-26 19:26:35 +00:00
Steven Bosscher
35d8c8e21f
avr.h, [...]: Undefine ASM_FINISH_DECLARE_OBJECT before defining it.
...
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-26 15:40:22 +01:00
Michael Matz
e5fcbd77a6
Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
...
2003-01-26 Michael Matz <matz@suse.de>
* Make-lang.in (treelang/parse.o-warn): Define as -Wno-error.
From-SVN: r61838
2003-01-26 11:17:17 +01:00
Alexandre Oliva
b44cf3d94b
fp-bit.h: Define macros for TFmode floating-point constants in IBM-extended TFmode types.
...
* fp-bit.h: Define macros for TFmode floating-point constants
in IBM-extended TFmode types.
(TMODES): Define if __LDBL_MANT_DIG__ has the newly-supported
widths.
* config/fp-bit.c (pack_d, unpack_d): Support IBM-extended
TFmode type.
From-SVN: r61837
2003-01-26 10:06:57 +00:00
Alexandre Oliva
ea976606be
fp-bit.h: Define macros for TFmode floating-point constants in IEEE quad TFmode type.
...
* config/fp-bit.h: Define macros for TFmode floating-point
constants in IEEE quad TFmode type. Declare functions according
to L_ macros.
(TMODES): Define if __LDBL_MANT_DIG__ is 113.
(TFtype, TItype, UTItype): Define if TMODES is defined.
(MAX_UDI_INT, MAX_DI_INT, BITS_PER_DI): Likewise.
(F_T_BITOFF, D_T_BITOFF): Define.
(IMPLICIT_1, IMPLICIT_2): Cast constants to types that are
guaranteed to be wide enough.
* config/fp-bit.c: Check for L_ macros for tf functions.
(__thenan_tf): New.
(nan): Adjust.
(pack_d, unpack_d): Support IEEE 854 quad type.
(_fpmul_parts): Support TFmode. Compute exponent adjustment
from FRAC_NBITS, FRAC_BITS and NGARDS.
(usi_to_float): Cast constants to be shifted to fractype
instead of assuming long long is wide enough.
(sf_to_tf, df_to_tf, __make_tp, tf_to_df, tf_to_sf): New.
From-SVN: r61835
2003-01-26 09:33:46 +00:00
Andreas Jaeger
fd7fd61e8e
* df.c: Remove prototype of unused function df_regno_rtl_debug.
...
From-SVN: r61833
2003-01-26 10:24:35 +01:00
Alexandre Oliva
88e83acbf9
Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
...
* Makefile.in (FPBIT_FUNCS): Added _sf_to_tf.
(DBBIT_FUNCS): Added _df_to_tf.
(TPBIT_FUNCS): New.
(libgcc.mk): Pass TPBIT and TPBIT_FUNCS down.
(LIBGCC_DEPS): Added TPBIT.
* mklibgcc.in: Support TPBIT and TPBIT_FUNCS.
From-SVN: r61832
2003-01-26 09:17:13 +00:00
Alexandre Oliva
2cd622c310
optabs.c (expand_binop): Return xtarget if we haven't been able to move the result to target.
...
* optabs.c (expand_binop) <add, sub>: Return xtarget if we haven't
been able to move the result to target.
From-SVN: r61829
2003-01-26 09:11:31 +00:00
Alexandre Oliva
8ae91fc034
expr.c (emit_group_store): Initialize dst with CONST0_RTX for the appropriate mode.
...
* expr.c (emit_group_store): Initialize dst with CONST0_RTX
for the appropriate mode.
From-SVN: r61828
2003-01-26 09:09:23 +00:00
Alexandre Oliva
c329756171
calls.c (emit_library_call_value_1): Handle return values in a PARALLEL.
...
* calls.c (emit_library_call_value_1): Handle return values
in a PARALLEL.
From-SVN: r61826
2003-01-26 09:06:36 +00:00
Alexandre Oliva
187515f56a
rtl.c (get_mode_alignment): Moved to...
...
* rtl.c (get_mode_alignment): Moved to...
* stor-layout.c: ... here.
From-SVN: r61824
2003-01-26 09:02:55 +00:00