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
Nicola Pero
ed459a390f
gthr-posix.h (__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is.
...
2001-06-09 Nicola Pero <nicola@brainstorm.co.uk>
* gthr-posix.h (__gthread_objc_init_thread_system): If
pthread_key_create fails, it's not clear what the return value is.
This obvious fix makes sure it always returns -1 if a problem
occurs.
From-SVN: r43092
2001-06-09 18:06:54 +00:00
Nicola Pero
abc0360c37
(__gthread_objc_init_thread_system): If pthread_key_create fails, it's not clear what the return value is.
...
(__gthread_objc_init_thread_system): If pthread_key_create fails, it's
not clear what the return value is. This obvious fix makes sure it
always returns -1 if a problem occurs.
From-SVN: r43091
2001-06-09 18:05:09 +00:00
Joseph Myers
2a008da434
gcc.texi: Use @defcodeindex for the index of options.
...
* doc/gcc.texi: Use @defcodeindex for the index of options. Add
more index entries. Use more logical markup where appropriate.
Use TeX quotes and dashes.
From-SVN: r43089
2001-06-09 19:03:11 +01:00
Benjamin Kosnik
3478885a5e
unwind-pe.h: Conditionally qualify references to abort with std::.
...
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* unwind-pe.h: Conditionally qualify references to abort with
std::.
From-SVN: r43087
2001-06-09 18:00:34 +00:00
Benjamin Kosnik
f71c65420c
unwind-pe.h: Conditionally qualify references to abort with std::.
...
2001-06-09 Benjamin Kosnik <bkoz@fillmore.constant.com>
* unwind-pe.h: Conditionally qualify references to abort with
std::.
From-SVN: r43082
2001-06-09 17:55:10 +00:00
Ovidiu Predescu
b27820143d
load-3.m: Added.
...
2001-06-09 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc/execute/load-3.m: Added. Check sending +load to categories,
in addition to classes.
From-SVN: r43081
2001-06-09 17:55:05 +00:00
Ovidiu Predescu
9a57c5d31a
Added. Check sending +load to categories, in addition to classes.
...
From-SVN: r43080
2001-06-09 17:54:21 +00:00
Benjamin Kosnik
cd7894a510
std_cctype.h: Remove isblank.
...
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cctype.h: Remove isblank.
From-SVN: r43078
2001-06-09 17:39:29 +00:00
Julian Foad
d5ee548054
* invoke.texi: Remove superfluous text.
...
From-SVN: r43075
2001-06-09 13:32:45 +00:00
GCC Administrator
de288ef148
Daily bump.
...
From-SVN: r43072
2001-06-09 07:16:12 +00:00
Benjamin Kosnik
df7b13598a
acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc, fgetws.
...
2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for fgetwc,
fgetws.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* include/c_std/bits/std_cwchar.h: Remove duplicate fgetwc
injection, guard fgetwc, fgetws.
* include/c_std/bits/std_cstdio.h: Remove superfluous includes.
* include/c_std/bits/std_clocale.h: And here.
* include/c_std/bits/std_cctype.h: And here.
* include/c_std/bits/std_cstdlib.h (strtof): Guard strtof injection.
* config/basic_file_stdio.h: Don't include unistd.h.
* config/c_io_stdio.h: Don't use compatibility headers.
* libsupc++/eh_terminate.cc: Qualify abort.
(__terminate): And here.
* libsupc++/eh_catch.cc (__cxa_end_catch): Qualify abort.
From-SVN: r43070
2001-06-09 06:49:13 +00:00
Benjamin Kosnik
7ae4a70a1c
std_cstdlib.h: Remove _Exit, strtof injections.
...
2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
* include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.
From-SVN: r43069
2001-06-09 04:24:10 +00:00
Richard Henderson
dbe0297bc6
linux.h (CPLUSPLUS_CPP_SPEC): New.
...
* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
(LIB_SPEC): Mirror config/linux.h version.
From-SVN: r43067
2001-06-08 17:39:04 -07:00
Tom Tromey
f1eba84741
configure: Rebuilt.
...
* configure: Rebuilt.
* configure.in: Compute new aux dir using `pwd'.
From-SVN: r43064
2001-06-08 23:40:17 +00:00