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
Alexandre Oliva
6ebd2ef442
print-rtl.c (print_rtx): Don't print MEM details in GENERATOR_FILEs.
...
* print-rtl.c (print_rtx): Don't print MEM details in
GENERATOR_FILEs.
From-SVN: r61822
2003-01-26 08:59:54 +00:00
Daniel Jacobowitz
74828682c7
hashtab.h (htab_alloc_with_arg, [...]): Add new types.
...
include/
* hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
(struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f.
(htab_create_alloc_ex): New prototype.
(htab_set_functions_ex): New prototype.
libiberty/
* hashtab.c (htab_create_alloc_ex): New function.
(hatab_set_functions_ex): New function.
(htab_delete, htab_expand): Support alternate allocation functions.
From-SVN: r61820
2003-01-26 07:09:41 +00:00
Michael Hayes
7890e8f320
df.h: Update comments, tidy formatting.
...
* df.h: Update comments, tidy formatting.
(DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
REVERSE, UNION, INTERSECTION. All uses updated.
(OLD_DF_INTERFACE): Remove.
(struct insn_info): Remove commented out insn field.
* df.c: Update comments, tidy formatting.
(df_def_table_realloc): Remove.
From-SVN: r61819
2003-01-26 06:10:37 +00:00
Alan Modra
b820d2b870
calls.c (save_fixed_argument_area): Tidy.
...
* calls.c (save_fixed_argument_area): Tidy.
(restore_fixed_argument_area): Tidy. Set alignment of stack_area.
(expand_call): Comment typo fixes. Don't init low_to_save. Start
call chain loop at 1 if !try_tail_call. Formatting.
(emit_library_call_value_1): Don't init low_to_save or high_to_save.
Use save_fixed_argument_area and restore_fixed_argument_area.
From-SVN: r61818
2003-01-26 12:37:48 +10:30
Michael Hayes
42510de4e1
* df.c (df_uses_record): Handle CC0.
...
From-SVN: r61817
2003-01-26 01:18:25 +00:00
GCC Administrator
af5d8fced5
Daily bump.
...
From-SVN: r61814
2003-01-26 00:17:04 +00:00
Ulrich Weigand
acf9fa5f14
reload.c (maybe_memory_address_p): New function.
...
gcc/
* reload.c (maybe_memory_address_p): New function.
(find_reloads_address): Use it instead of memory_address_p.
gcc/testsuite/
* gcc.dg/20030123-1.c: New test.
From-SVN: r61805
2003-01-25 23:57:30 +00:00
Kaz Kojima
5a09edba1f
final.c (shorten_branches): Align the address of code label when computing initial lengths and addresses.
...
* final.c (shorten_branches): Align the address of code label
when computing initial lengths and addresses.
From-SVN: r61803
2003-01-25 23:32:20 +00:00
Kazu Hirata
f5818c0c87
* config/m68hc11/m68hc11.md: Fix a comment typo.
...
From-SVN: r61802
2003-01-25 22:51:19 +00:00
Andreas Jaeger
21ff35fb7e
i386.c (x86_output_mi_thunk): Correct test for TARGET_MACHO.
...
* config/i386/i386.c (x86_output_mi_thunk): Correct test for
TARGET_MACHO.
From-SVN: r61801
2003-01-25 23:40:32 +01:00
Roger Sayle
7821bfc741
gcse.c (bypass_last_basic_block): New global variable.
...
* gcse.c (bypass_last_basic_block): New global variable.
(bypass_block): Use redirect_edge_and_branch_force to redirect
fall-through edges. Use bypass_last_basic_block to determine
which blocks have valid PRE information.
(bypass_conditional_jumps): Initialize bypass_last_basic_block.
From-SVN: r61800
2003-01-25 21:49:52 +00:00
Jan Hubicka
5f0bea72c5
* gcse.c (local_cprop_pass): Update reg_sets table when needed.
...
From-SVN: r61799
2003-01-25 21:32:42 +00:00
Jan Hubicka
1649d92fb3
re PR rtl-optimization/8492 (GCC spins forever compiling loop)
...
PR opt/8492
* gcse.c (one_cprop_pass): Delete unreachable blocks.
Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr>
From-SVN: r61798
2003-01-25 20:10:37 +00:00
Richard Henderson
6ca86a1a1e
ia64.c (ia64_rwreloc_select_rtx_section): Rename from ia64_aix_select_rtx_section.
...
* config/ia64/ia64.c (ia64_rwreloc_select_rtx_section): Rename
from ia64_aix_select_rtx_section.
(ia64_rwreloc_select_section): Simlarly; use default*_1 function
instead of saving and restoring flag_pic.
(ia64_rwreloc_unique_section): Similarly.
* config/ia64/aix.h (TARGET_ASM_SELECT_SECTION,
TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Update.
* config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION,
TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): New.
From-SVN: r61797
2003-01-25 11:08:15 -08:00
Kazu Hirata
aa2fb4ddb0
h8300.c (h8300_shift_needs_scratch_p): Update a comment.
...
* config/h8300/h8300.c (h8300_shift_needs_scratch_p): Update a
comment.
From-SVN: r61796
2003-01-25 18:59:24 +00:00
Richard Henderson
1125849a62
* config/m68k/m68k-none.h (ASM_SPEC): Adjust inter-option spacing.
...
From-SVN: r61795
2003-01-25 10:38:08 -08:00