Aldy Hernandez
89cc6be350
do not combine asm stmts in scan_loop
...
From-SVN: r43178
2001-06-11 09:36:06 +00:00
Michael Hayes
5fd83d4e51
simplify-rtx.c (simplify_subreg): Fix offset calculation for complex values within a CONCAT.
...
* simplify-rtx.c (simplify_subreg): Fix offset calculation
for complex values within a CONCAT.
From-SVN: r43177
2001-06-11 09:30:50 +00:00
Joseph Myers
ecb7d6b3f4
install.texi: Update details of what components are included in the GCC distribution.
...
* doc/install.texi: Update details of what components are included
in the GCC distribution. Update default directory for g++
includes. Update documentation relating to old libio. Adjust
documentation on DejaGnu environment variables. Remove
documentation of --enable-cpplib.
From-SVN: r43175
2001-06-11 08:26:33 +01:00
Joseph Myers
3b04da4260
contrib.texi: Fix alphabetical order.
...
* doc/contrib.texi: Fix alphabetical order. Fix typos. Improve
markup.
From-SVN: r43173
2001-06-11 08:23:20 +01:00
GCC Administrator
0b51912a1d
Daily bump.
...
From-SVN: r43171
2001-06-11 07:16:15 +00:00
Richard Henderson
e16d045df7
ifcvt.c (life_data_ok): New.
...
* ifcvt.c (life_data_ok): New.
(merge_if_block): Use it to determine whether to update
global_live_at_end.
(if_convert): Set it.
From-SVN: r43170
2001-06-10 22:16:10 -07:00
Benjamin Kosnik
68fe6226c8
std_cwchar.h: Alphabetize.
...
2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwchar.h: Alphabetize.
* include/bits/char_traits.h: Tweak.
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
everything used by std_cwchar.h.
* aclocal.m4: Regenerate.
* configure.in: Regenerate.
* config.h.in: Regenerate.
From-SVN: r43167
2001-06-11 04:36:59 +00:00
Richard Henderson
ad5ef673ca
* config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
...
From-SVN: r43166
2001-06-10 19:31:56 -07:00
Alexandre Oliva
c474f76beb
invoke.texi (MN10300 Options): Document -mno-crt0.
...
* doc/invoke.texi (MN10300 Options): Document -mno-crt0.
(SH Options): Document -mieee.
* doc/install.texi (Final install): Remove obsolete information
about installing cross compilers.
* doc/gcc.1: Rebuilt.
From-SVN: r43164
2001-06-11 01:03:12 +00:00
Benjamin Kosnik
61c7194612
acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
...
2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_C99): Add stdio.h checking.
Add checking for strtof, _Exit in stdlib.h
* aclocal.m4: Regenerate.
* configure.in: Regenerate.
* include/c_std/bits/std_cstdio.h: Alphabetize lists.
(snprintf): Put C99 functions into __gnu_cxx namespace.
(vfscanf): Same.
(vscanf): Same.
(vsnprintf): Same.
(vsscanf): Same.
* include/c_std/bits/std_cstdlib.h: Alphabetize lists. Put undefs
for C99 functions within _GLIBCPP_USE_C99 guard.
(_Exit): Same.
(strtof): Same.
(strtold): Same.
* include/bits/locale_facets.tcc: Check if C99 is enabled.
* include/c_std/bits/std_cwchar.h (__gnu_cxx): Put undefs within
C99 guard.
* include/c_std/bits/cmath.tcc: Formatting tweak.
* include/c_std/bits/std_cmath.h: Same.
From-SVN: r43161
2001-06-10 23:26:34 +00:00
Richard Henderson
c176c051f8
alpha.c (override_options): Set align_loops, align_jumps, and align_functions.
...
* config/alpha/alpha.c (override_options): Set align_loops,
align_jumps, and align_functions.
* config/alpha/alpha.h (FUNCTION_BOUNDARY): Set to 32 bits.
(LOOP_ALIGN, LABEL_ALIGN_AFTER_BARRIER): Remove.
From-SVN: r43160
2001-06-10 16:15:03 -07:00
Michael Hayes
76321db654
emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode are one and two words in size.
...
* emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode
are one and two words in size.
From-SVN: r43158
2001-06-10 22:49:40 +00:00
Alexandre Oliva
2e24615021
ptrmem.C: Take into account different representation on MN10300 and ARM/Thumb.
...
* g++.old-deja/g++.abi/ptrmem.C: Take into account different
representation on MN10300 and ARM/Thumb.
From-SVN: r43157
2001-06-10 21:50:47 +00:00
Alexandre Oliva
eb2d06144a
typeck.c (get_member_function_from_ptrfunc): Don't clobber delta.
...
* typeck.c (get_member_function_from_ptrfunc) [vbit_in_delta]:
Don't clobber delta.
(expand_ptrmemfunc_cst) [ptrmemfunc_vbit_in_delta]: Adjust pfn.
From-SVN: r43156
2001-06-10 21:50:40 +00:00
Alexandre Petit-Bianco
9b8c19b4f5
exception.cc (cstdlib): Replaces stdlib.h.
...
2001-06-10 Alexandre Petit-Bianco <apbianco@redhat.com>
* exception.cc (cstdlib): Replaces stdlib.h.
(_Jv_Throw): Use std::abort().
(PERSONALITY_FUNCTION): Likewise.
(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00620.html )
From-SVN: r43153
2001-06-10 13:59:37 -07:00
Richard Henderson
6cfc03411c
invoke.texi (Optimization Options): Document -fpeephole2.
...
* doc/invoke.texi (Optimization Options): Document -fpeephole2.
(Code Generation Options): Document -fnon-call-exceptions.
From-SVN: r43151
2001-06-10 12:55:57 -07:00
Richard Henderson
0bdcca681d
concat.c: Include string.h.
...
* concat.c: Include string.h. Fix int vs size_t usage.
Simplify the iteration loops. Use memcpy.
From-SVN: r43149
2001-06-10 11:57:15 -07:00
Mark Kettenis
33a1b84b69
* config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
...
From-SVN: r43148
2001-06-10 11:54:50 -07:00
Tom Tromey
7abecd65ae
re PR java/2299 (Use of += for String arrays produces Segfault during compilation)
...
2001-03-20 Tom Tromey <tromey@redhat.com>
Alexandre Petit-Bianco <apbianco@redhat.com>
* parse.y (patch_assignment): Handle the case of a SAVE_EXPR
inside an array reference. Insertion of the array store check
rewritten. Fixes PR java/2299.
(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00611.html )
Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com>
From-SVN: r43146
2001-06-10 11:45:06 -07:00
Jeff Sturm
21a6bb3c45
decl.c (create_primitive_vtable): Don't call make_decl_rtl.
...
2001-06-05 Jeff Sturm <jsturm@one-point.com>
* decl.c (create_primitive_vtable): Don't call make_decl_rtl.
(http://gcc.gnu.org/ml/gcc-patches/2001-06/msg00265.html )
From-SVN: r43144
2001-06-10 11:24:53 -07:00
Toon Moene
226f8242c0
20010610.f: New.
...
2001-06-10 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20010610.f: New.
From-SVN: r43143
2001-06-10 17:57:29 +00:00
Stephane Carrez
46f41fed63
* m68hc11.md (peepholes): Remove unused and wrong peepholes.
...
From-SVN: r43142
2001-06-10 19:08:27 +02:00
Gabriel Dos Reis
2a2b2d432e
Makefile.in (c-parse.o): Depend on diagnostic.h
...
gcc/
2001-06-10 Mark Mitchell <mark@codesourcery.com>
Gabriel Dos Reis <gdr@codesourcery.com>
* Makefile.in (c-parse.o): Depend on diagnostic.h
(dwarf2out.o): Likewise.
* dwarf2out.c: #include diagnostic.h
* toplev.h (warningcount, errorcount, sorrycount): Remove
declarations.
* toplev.c (warningcount, errorcount, sorrycount): Remove
definitions.
* diagnostic.h (struct output_buffer): Reorder fields.
(diagnostic_kind_count): New macro.
(errorcount, warningcount, sorrycount): Define as macros.
(diagnostic_report_warnings_p): New macro.
(output_state): Add diagnostic_count field.
* diagnostic.c (warningcount, errorcount, inhibit_warnings):
Remove tentative declaration.
(count_error): Use diagnostic_report_warnings_p.
* c-parse.in: #include diagnostic.h
ch/
2001-06-10 Gabriel Dos Reis <gdr@codesourcery.com>
* decl.c: #include diagnostic.h
* actions.c: #include diagnostic.h
* Makefile.in (actions.o): Depend on diagnostic.h
(decl.o): Depend on diagnostic.h
cp/
2001-06-10 Mark Mitchell <mark@codesourcery.com>
Gabriel Dos Reis <gdr@codesourcery.com>
* Make-lang.in (cp/call.o): Depend on diagnostic.h
(cp/typeck.o): Depend on diagnostic.h
(cp/typeck2.o): Depend on diagnostic.h
(cp/repo.o): Depend on dignostic.h
* typeck.c: #include diagnostic.h
(convert_for_initialization): Remove extern declaration for
warningcount and errorcount.
* call.c: #include diagnostic.h
(convert_like_real): Remove extern declaration for warnincount and
errorcount.
* repo.c: #include diagnostic.h
* typeck2.c: #include diagnostic.h
From-SVN: r43140
2001-06-10 13:48:04 +00:00
Toon Moene
3f0ae30efc
g77install.texi: Remove.
...
2001-06-10 Toon Moene <toon@moene.indiv.nluug.nl>
* g77install.texi: Remove.
* Make-lang.in: Remove all mention of g77install.texi.
* g77.texi: Add documentation on how to get output always
flushed and how to increase the maximum unit number.
Remove all mention of g77install.texi.
* bugs.texi: Add documentation on how to change the threshold
for putting local arrays on the stack.
From-SVN: r43139
2001-06-10 13:23:19 +00:00
Stephane Carrez
9eee2c76b8
m68hc11.md ("extendhisi2"): Fix constraints to prefer a memory for operand 1.
...
* config/m68hc11/m68hc11.md ("extendhisi2"): Fix constraints to
prefer a memory for operand 1.
("*addsi3"): Fix constraints, the '!' was too strong.
("*addsi3_split"): Accept soft register and split accordingly.
From-SVN: r43137
2001-06-10 12:24:48 +02:00
Stephane Carrez
3bcda5fbce
m68hc11-protos.h (m68hc11_initialize_trampoline): Move definition in the RTX_CODE section.
...
* config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
Move definition in the RTX_CODE section.
From-SVN: r43134
2001-06-10 12:18:40 +02:00
Stephane Carrez
5becdf1187
m68hc11.h (RETURN_ADDR_RTX): Define the return address as relative to the argument pointer.
...
* config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Define the return
address as relative to the argument pointer.
From-SVN: r43133
2001-06-10 12:16:27 +02:00
Jan Hubicka
671413c5c9
* predict.def (PRED_OPCODE): Place before call and error_return.
...
From-SVN: r43131
2001-06-10 08:59:51 +00:00
Jan Hubicka
0b92ff33b8
predict.def (PRED_CALL, [...]): New.
...
* predict.def (PRED_CALL, PRED_ERROR_RETURN): New.
* predict.c (estimate_probability): Calculate dominance
information; improve detection of NORETURN heuristics;
add call/error_return heuiristics; tweak comparison heuristics
to recognize -1.
From-SVN: r43130
2001-06-10 08:01:57 +00:00
Benjamin Kosnik
680cd9ed7b
std_cstdio.h: Include cstddef for size_t.
...
2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cstdio.h: Include cstddef for size_t.
From-SVN: r43128
2001-06-10 07:42:25 +00:00
GCC Administrator
6651f4c1b9
Daily bump.
...
From-SVN: r43126
2001-06-10 07:16:09 +00:00
Alexandre Oliva
b1018de69d
invoke.texi (C Dialect Options): Document -aux-info.
...
* doc/invoke.texi (C Dialect Options): Document -aux-info.
(Debugging Options): Document -print-multi-directory and
-print-multi-lib.
* doc/gcc.1: Rebuilt.
From-SVN: r43124
2001-06-10 00:34:45 +00:00
Alexandre Oliva
c47af4b7d3
toplev.c (independent_decode_option): Require =' between
-aux-info' and filename in the same argument.
...
* toplev.c (independent_decode_option): Require `=' between
`-aux-info' and filename in the same argument.
* gcc.c: Don't pass -aux-info=filename twice.
From-SVN: r43123
2001-06-10 00:31:07 +00:00
Mark Mitchell
ceafcb9877
New test.
...
From-SVN: r43121
2001-06-09 23:08:24 +00:00
Mark Mitchell
e69decfd36
expr.c (expand_expr, [...]): Do not replace an array element with the known initializing value if...
...
* expr.c (expand_expr, case ARRAY_REF): Do not replace
an array element with the known initializing value if it has
side-effects.
* toplev.c (rest_of_compilation): Remove dead code before
purge_addressof.
From-SVN: r43120
2001-06-09 23:08:05 +00:00
Neil Booth
3bce8a01ef
cppinit.c (print_help): Document -fpreprocessed.
...
* cppinit.c (print_help): Document -fpreprocessed.
* invoke.texi: Similarly.
From-SVN: r43116
2001-06-09 22:55:49 +00:00
Jan Hubicka
4db384c950
predict.def: New file.
...
* predict.def: New file.
* predict.h: New file.
* predict.c: Include predict.h.
(predictor_info): New structure and array.
(predict_edge, predict_insn): Rewrite; make global.
(predict_edge_def, predict_insn_def): New global functions.
(dump_prediction, combine_predictions_for_insns): New
static functions.
(estimate_probability): Change calls to predict_edge
to predict_edge_def and calls to predict_insn to predict_insn_def;
combine probabilities.
(expected_value_to_br_prob): Behave as predictor.
* rtl.h (REG_BR_PRED): Update coment.
(invert_br_probabilities): New.
* jump.c: Include predict.h
(duplicate_loop_exit_test): Drop branch prediction notes.
(invert_jump): Use invert_br_probabilities.
* Makefile.in: Add dependancy on predict.h for jump and predict pass.
* ifcvt.c (dead_or_predicable): Use invert_br_probabilities.
* combine.c (distribute_notes): Handle BR_PRED.
From-SVN: r43115
2001-06-09 22:39:25 +00:00
David Billinghurst
5bb8dd28b8
mangle1.C: Change regex to allow USER_LABEL_PREFIX == "_" names.
...
* g++.dg/mangle1.C: Change regex to allow USER_LABEL_PREFIX == "_"
names.
From-SVN: r43114
2001-06-09 22:07:09 +00:00
Richard Henderson
07a96c1b40
New tests.
...
From-SVN: r43111
2001-06-09 14:37:03 -07:00
Jan Hubicka
ee92cb46db
predict.c (predict_insn, [...]): New static functions.
...
* predict.c (predict_insn, predict_edge): New static functions.
(estimate_probability): Revamp to use new functions;
fix loop header heruistics; add loop exist heruistics
From-SVN: r43109
2001-06-09 21:30:50 +00:00
Alexandre Oliva
9dd7e9cf22
acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
...
* acinclude.m4 (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* aclocal.m4, configure: Rebuilt.
From-SVN: r43108
2001-06-09 21:29:16 +00:00
Alexandre Oliva
4a849291bc
configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
...
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* acinclude.m4: Likewise.
* aclocal.m4, configure: Rebuilt.
From-SVN: r43107
2001-06-09 21:29:08 +00:00
Alexandre Oliva
7112135f34
* config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.
...
From-SVN: r43106
2001-06-09 20:37:29 +00:00
Alexandre Oliva
4173be7fe5
configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
...
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* acinclude.m4: Likewise.
* configure: Rebuilt.
From-SVN: r43105
2001-06-09 20:32:56 +00:00
Alexandre Oliva
4e0abb1d51
acinclude.m4 (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
...
* acinclude.m4 (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* configure: Rebuilt.
From-SVN: r43104
2001-06-09 20:31:23 +00:00
Alexandre Oliva
01ef8751ce
configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
...
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* configure: Rebuilt.
From-SVN: r43103
2001-06-09 20:31:13 +00:00
Peter Jakubek
54c6cfdcb6
* config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
...
From-SVN: r43100
2001-06-09 12:11:22 -07:00
Benjamin Kosnik
d25e11935b
std_cwchar.h: Remove size_t injection, include std_cstddef.
...
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cwchar.h: Remove size_t injection,
include std_cstddef.
* include/c_std/bits/std_ctime.h: Same.
* include/c_std/bits/std_cstring.h: Same.
* include/c_std/bits/std_cstdlib.h: Same.
* include/c_std/bits/std_cstdio.h: Remove vsnprintf, snprintf.
* include/c_std/bits/std_cctype.h: Remove isblank.
From-SVN: r43097
2001-06-09 18:53:35 +00:00
Alexandre Oliva
818f0c85ae
config.guess: Import CVS version 1.195.
...
* config.guess: Import CVS version 1.195.
* config.sub: Import CVS version 1.212.
From-SVN: r43096
2001-06-09 18:50:20 +00:00
John David Anglin
544d6fa457
vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags for integer operations that don't update...
...
* vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags
for integer operations that don't update C bit.
From-SVN: r43094
2001-06-09 18:30:12 +00:00