Richard Henderson [Mon, 11 Jun 2001 19:51:02 +0000 (12:51 -0700)]
linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
* config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise.
From-SVN: r43210
Franz Sirl [Mon, 11 Jun 2001 19:39:06 +0000 (19:39 +0000)]
linux.h (CPLUSPLUS_CPP_SPEC): New.
2001-06-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.
From-SVN: r43207
Phil Edwards [Mon, 11 Jun 2001 19:35:32 +0000 (19:35 +0000)]
README: Update to reflect reality.
2001-06-11 Phil Edwards <pme@sources.redhat.com>
* README: Update to reflect reality.
* acinclude.m4: Update descriptions, fix typos. Comment changes only.
* configure.in: Make certain target_alias is set and subst'd for 2.50.
* aclocal.m4: Regenerate.
* configure: Regenerate (with 2.13).
From-SVN: r43203
Bernd Schmidt [Mon, 11 Jun 2001 19:28:51 +0000 (19:28 +0000)]
Remove Stepanov test
From-SVN: r43202
Benjamin Kosnik [Mon, 11 Jun 2001 19:20:20 +0000 (19:20 +0000)]
ostream.tcc (ostream::seekp): Add error checking as per DR 129.
2001-06-11 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3114
* include/bits/ostream.tcc (ostream::seekp): Add error checking as
per DR 129.
* include/bits/istream.tcc (istream::seekg): Same.
* testsuite/27_io/istream_seeks.cc: Fix.
libstdc++/3113
* include/bits/stl_function.h (binder2nd): Fix as per DR 109.
(binder1st): Same.
* include/bits/std_queue.h: Add c++config.h.
* testsuite/20_util/binders.cc: New test.
From-SVN: r43201
Stan Shebs [Mon, 11 Jun 2001 18:59:42 +0000 (18:59 +0000)]
darwin.c (darwin_encode_section_info): Rewrite to simplify and fix coding mistakes.
* darwin.c (darwin_encode_section_info): Rewrite to simplify
and fix coding mistakes.
From-SVN: r43200
Nick Clifton [Mon, 11 Jun 2001 16:58:56 +0000 (16:58 +0000)]
Fix compile time warnings
From-SVN: r43199
Richard Henderson [Mon, 11 Jun 2001 16:34:29 +0000 (09:34 -0700)]
* g++.old-deja/g++.law/code-gen5.C: Don't send raw pointers to assert.
From-SVN: r43198
Richard Henderson [Mon, 11 Jun 2001 16:27:26 +0000 (09:27 -0700)]
osf5.h (TARGET_LD_BUGGY_LDGP): New.
* config/alpha/osf5.h (TARGET_LD_BUGGY_LDGP): New.
* config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Default.
(struct machine_function): Add gp_save_rtx.
* config/alpha/alpha.c (alpha_mark_machine_status): Mark it.
(alpha_gp_save_rtx): New.
* config/alpha/alpha-protos.h: Declare it.
* config/alpha/alpha.md (exception_receiver): Make an expander.
Use alpha_gp_save_rtx if TARGET_LD_BUGGY_LDGP.
From-SVN: r43196
Richard Henderson [Mon, 11 Jun 2001 16:21:52 +0000 (09:21 -0700)]
* config/alpha/osf.h (LINK_SPEC): Hide _GLOBAL_* symbols.
From-SVN: r43194
Rainer Orth [Mon, 11 Jun 2001 15:01:40 +0000 (15:01 +0000)]
configure.in: Align --help messages.
* configure.in: Align --help messages.
Remove trailing full stops.
Consistently use lower case.
Fix DWARF 2 spelling.
* configure: Rebuilt.
From-SVN: r43192
Rainer Orth [Mon, 11 Jun 2001 14:48:11 +0000 (14:48 +0000)]
alpha.h (CPP_SPEC): Don't define __LANGUAGE_C and variants for .cpp/.cp/.c++ files.
* config/alpha/alpha.h (CPP_SPEC): Don't define __LANGUAGE_C and
variants for .cpp/.cp/.c++ files.
Move definition of __LANGUAGE_C_PLUS_PLUS ...
(CPLUSPLUS_CPP_SPEC): ... here.
From-SVN: r43190
Jan Hubicka [Mon, 11 Jun 2001 13:49:24 +0000 (15:49 +0200)]
* jump.c (duplicate_loop_exit_test): Fix loop header heuristics.
From-SVN: r43189
Joseph Myers [Mon, 11 Jun 2001 13:26:19 +0000 (14:26 +0100)]
re PR c/3116 (Bug with using oldstyle prototype declarations)
* c-decl.c (store_parm_decls): When comparing types in an
old-style function declaration with those from a previous
prototype, compare the unqualified versions of parameter types.
Fixes PR c/3116.
testsuite:
* gcc.c-torture/compile/
20010611-1.c: New test.
From-SVN: r43186
Matthias Klose [Mon, 11 Jun 2001 13:04:07 +0000 (13:04 +0000)]
run_doxygen (find_doxygen): Tweak version check.
2001-06-11 Matthias Klose <doko@debian.org>
Phil Edwards <pme@sources.redhat.com>
* docs/doxygen/run_doxygen (find_doxygen): Tweak version check.
(main script): Echo more information.
Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r43184
Joseph Myers [Mon, 11 Jun 2001 12:05:10 +0000 (13:05 +0100)]
* doc/objc.texi: Use more logical markup. Use TeX dashes.
From-SVN: r43182
Joseph Myers [Mon, 11 Jun 2001 12:00:41 +0000 (13:00 +0100)]
* doc/c-tree.texi: Use more logical markup.
From-SVN: r43180
Joseph Myers [Mon, 11 Jun 2001 11:50:29 +0000 (12:50 +0100)]
c-decl.c (xref_tag): Don't return previous tags of wrong type.
* c-decl.c (xref_tag): Don't return previous tags of wrong type.
testsuite:
* gcc.dg/c99-tag-1.c: Add more tests.
From-SVN: r43179
Aldy Hernandez [Mon, 11 Jun 2001 09:36:06 +0000 (09:36 +0000)]
do not combine asm stmts in scan_loop
From-SVN: r43178
Michael Hayes [Mon, 11 Jun 2001 09:30:50 +0000 (09:30 +0000)]
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
Joseph Myers [Mon, 11 Jun 2001 07:26:33 +0000 (08:26 +0100)]
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
Joseph Myers [Mon, 11 Jun 2001 07:23:20 +0000 (08:23 +0100)]
contrib.texi: Fix alphabetical order.
* doc/contrib.texi: Fix alphabetical order. Fix typos. Improve
markup.
From-SVN: r43173
GCC Administrator [Mon, 11 Jun 2001 07:16:15 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43171
Richard Henderson [Mon, 11 Jun 2001 05:16:10 +0000 (22:16 -0700)]
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
Benjamin Kosnik [Mon, 11 Jun 2001 04:36:59 +0000 (04:36 +0000)]
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
Richard Henderson [Mon, 11 Jun 2001 02:31:56 +0000 (19:31 -0700)]
* config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
From-SVN: r43166
Alexandre Oliva [Mon, 11 Jun 2001 01:03:12 +0000 (01:03 +0000)]
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
Benjamin Kosnik [Sun, 10 Jun 2001 23:26:34 +0000 (23:26 +0000)]
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
Richard Henderson [Sun, 10 Jun 2001 23:15:03 +0000 (16:15 -0700)]
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
Michael Hayes [Sun, 10 Jun 2001 22:49:40 +0000 (22:49 +0000)]
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
Alexandre Oliva [Sun, 10 Jun 2001 21:50:47 +0000 (21:50 +0000)]
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
Alexandre Oliva [Sun, 10 Jun 2001 21:50:40 +0000 (21:50 +0000)]
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
Alexandre Petit-Bianco [Sun, 10 Jun 2001 20:59:37 +0000 (13:59 -0700)]
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
Richard Henderson [Sun, 10 Jun 2001 19:55:57 +0000 (12:55 -0700)]
invoke.texi (Optimization Options): Document -fpeephole2.
* doc/invoke.texi (Optimization Options): Document -fpeephole2.
(Code Generation Options): Document -fnon-call-exceptions.
From-SVN: r43151
Richard Henderson [Sun, 10 Jun 2001 18:57:15 +0000 (11:57 -0700)]
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
Mark Kettenis [Sun, 10 Jun 2001 18:54:50 +0000 (18:54 +0000)]
* config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
From-SVN: r43148
Tom Tromey [Sun, 10 Jun 2001 18:45:06 +0000 (18:45 +0000)]
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
Jeff Sturm [Sun, 10 Jun 2001 18:24:53 +0000 (18:24 +0000)]
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
Toon Moene [Sun, 10 Jun 2001 17:57:29 +0000 (19:57 +0200)]
20010610.f: New.
2001-06-10 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/
20010610.f: New.
From-SVN: r43143
Stephane Carrez [Sun, 10 Jun 2001 17:08:27 +0000 (19:08 +0200)]
* m68hc11.md (peepholes): Remove unused and wrong peepholes.
From-SVN: r43142
Gabriel Dos Reis [Sun, 10 Jun 2001 13:48:04 +0000 (13:48 +0000)]
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
Toon Moene [Sun, 10 Jun 2001 13:23:19 +0000 (15:23 +0200)]
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
Stephane Carrez [Sun, 10 Jun 2001 10:24:48 +0000 (12:24 +0200)]
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
Stephane Carrez [Sun, 10 Jun 2001 10:18:40 +0000 (12:18 +0200)]
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
Stephane Carrez [Sun, 10 Jun 2001 10:16:27 +0000 (12:16 +0200)]
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
Jan Hubicka [Sun, 10 Jun 2001 08:59:51 +0000 (10:59 +0200)]
* predict.def (PRED_OPCODE): Place before call and error_return.
From-SVN: r43131
Jan Hubicka [Sun, 10 Jun 2001 08:01:57 +0000 (10:01 +0200)]
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
Benjamin Kosnik [Sun, 10 Jun 2001 07:42:25 +0000 (07:42 +0000)]
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
GCC Administrator [Sun, 10 Jun 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43126
Alexandre Oliva [Sun, 10 Jun 2001 00:34:45 +0000 (00:34 +0000)]
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
Alexandre Oliva [Sun, 10 Jun 2001 00:31:07 +0000 (00:31 +0000)]
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
Mark Mitchell [Sat, 9 Jun 2001 23:08:24 +0000 (23:08 +0000)]
New test.
From-SVN: r43121
Mark Mitchell [Sat, 9 Jun 2001 23:08:05 +0000 (23:08 +0000)]
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
Neil Booth [Sat, 9 Jun 2001 22:55:49 +0000 (22:55 +0000)]
cppinit.c (print_help): Document -fpreprocessed.
* cppinit.c (print_help): Document -fpreprocessed.
* invoke.texi: Similarly.
From-SVN: r43116
Jan Hubicka [Sat, 9 Jun 2001 22:39:25 +0000 (00:39 +0200)]
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
David Billinghurst [Sat, 9 Jun 2001 22:07:09 +0000 (22:07 +0000)]
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
Richard Henderson [Sat, 9 Jun 2001 21:37:03 +0000 (14:37 -0700)]
New tests.
From-SVN: r43111
Jan Hubicka [Sat, 9 Jun 2001 21:30:50 +0000 (23:30 +0200)]
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
Alexandre Oliva [Sat, 9 Jun 2001 21:29:16 +0000 (21:29 +0000)]
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
Alexandre Oliva [Sat, 9 Jun 2001 21:29:08 +0000 (21:29 +0000)]
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
Alexandre Oliva [Sat, 9 Jun 2001 20:37:29 +0000 (20:37 +0000)]
* config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.
From-SVN: r43106
Alexandre Oliva [Sat, 9 Jun 2001 20:32:56 +0000 (20:32 +0000)]
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
Alexandre Oliva [Sat, 9 Jun 2001 20:31:23 +0000 (20:31 +0000)]
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
Alexandre Oliva [Sat, 9 Jun 2001 20:31:13 +0000 (20:31 +0000)]
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
Peter Jakubek [Sat, 9 Jun 2001 19:11:22 +0000 (19:11 +0000)]
* config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
From-SVN: r43100
Benjamin Kosnik [Sat, 9 Jun 2001 18:53:35 +0000 (18:53 +0000)]
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
Alexandre Oliva [Sat, 9 Jun 2001 18:50:20 +0000 (18:50 +0000)]
config.guess: Import CVS version 1.195.
* config.guess: Import CVS version 1.195.
* config.sub: Import CVS version 1.212.
From-SVN: r43096
John David Anglin [Sat, 9 Jun 2001 18:30:12 +0000 (18:30 +0000)]
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
Nicola Pero [Sat, 9 Jun 2001 18:06:54 +0000 (18:06 +0000)]
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
Nicola Pero [Sat, 9 Jun 2001 18:05:09 +0000 (18:05 +0000)]
(__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
Joseph Myers [Sat, 9 Jun 2001 18:03:11 +0000 (19:03 +0100)]
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
Benjamin Kosnik [Sat, 9 Jun 2001 18:00:34 +0000 (18:00 +0000)]
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
Benjamin Kosnik [Sat, 9 Jun 2001 17:55:10 +0000 (17:55 +0000)]
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
Ovidiu Predescu [Sat, 9 Jun 2001 17:55:05 +0000 (17:55 +0000)]
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
Ovidiu Predescu [Sat, 9 Jun 2001 17:54:21 +0000 (17:54 +0000)]
Added. Check sending +load to categories, in addition to classes.
From-SVN: r43080
Benjamin Kosnik [Sat, 9 Jun 2001 17:39:29 +0000 (17:39 +0000)]
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
Julian Foad [Sat, 9 Jun 2001 13:32:45 +0000 (13:32 +0000)]
* invoke.texi: Remove superfluous text.
From-SVN: r43075
GCC Administrator [Sat, 9 Jun 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.
From-SVN: r43072
Benjamin Kosnik [Sat, 9 Jun 2001 06:49:13 +0000 (06:49 +0000)]
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
Benjamin Kosnik [Sat, 9 Jun 2001 04:24:10 +0000 (04:24 +0000)]
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
Richard Henderson [Sat, 9 Jun 2001 00:39:04 +0000 (17:39 -0700)]
linux.h (CPLUSPLUS_CPP_SPEC): New.
* config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
(LIB_SPEC): Mirror config/linux.h version.
From-SVN: r43067
Tom Tromey [Fri, 8 Jun 2001 23:40:17 +0000 (23:40 +0000)]
configure: Rebuilt.
* configure: Rebuilt.
* configure.in: Compute new aux dir using `pwd'.
From-SVN: r43064
Benjamin Kosnik [Fri, 8 Jun 2001 23:22:26 +0000 (23:22 +0000)]
*: Add copyright notice.
2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2767
libstdc++/2989
libstdc++/2992
* include/std/*: Add copyright notice.
* include/c_std/bits/*: Use using statements instead of extern "C".
* include/c_std/bits/std_cmath.h: Don't overload double versions
of math functions with __buitin versions, use global version to
prevent ambiguities. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Using declarations for "C"
functions that have changed signatures and std::
declarations. Remove define hacks.
* include/c_std/bits/std_cwchar.h: Same, plus remove ambiguous
__builtins in std::. Remove define hacks.
* testsuite/17_intro/headers_c.cc: Add tests.
* testsuite/17_intro/headers_c++.cc: Add test.
From-SVN: r43061
Richard Henderson [Fri, 8 Jun 2001 22:57:23 +0000 (15:57 -0700)]
except.c (get_exception_pointer, [...]): Take a struct function.
* except.c (get_exception_pointer, get_exception_filter): Take a
struct function. Update all callers.
* except.h (get_exception_pointer): Update declaration.
* expr.c (expand_expr): Update get_exception_pointer call.
* integrate.c (expand_inline_function): Remap the exception pointer
from callee to caller.
From-SVN: r43060
Nicola Pero [Fri, 8 Jun 2001 22:42:59 +0000 (00:42 +0200)]
THREADS: Explain that when we compile libobjc inside GCC...
2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
* THREADS: Explain that when we compile libobjc inside GCC, we
always use thr-objc.c as a backend, which uses GCC's thread code.
From-SVN: r43058
Mark Mitchell [Fri, 8 Jun 2001 22:33:46 +0000 (22:33 +0000)]
c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations accurately reflect its cv-qualification.
* c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
accurately reflect its cv-qualification.
* c-typeck.c (type_lists_compatible_p): Ignore the top-levl
cv-qualifiers on function types.
From-SVN: r43056
Richard Frith-Macdonald [Fri, 8 Jun 2001 22:19:47 +0000 (22:19 +0000)]
init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key...
2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
* init.c (__objc_send_message_in_list): When setting a new entry
in __objc_load_methods use the method IMP as key, but check to see
if the method is in the hashtable by looking at the IMP also.
Also ... call the method after adding it to the hashtable rather
than before ... thus preventing an obscure possibility of infinite
recursion if a +load method itself loads a subclass.
From-SVN: r43052
Stan Shebs [Fri, 8 Jun 2001 22:16:58 +0000 (22:16 +0000)]
load-2.m: New test.
* objc/execute/load-2.m: New test. From Nicola Pero
<n.pero@mi.flashnet.it>.
From-SVN: r43051
Tom Tromey [Fri, 8 Jun 2001 22:12:28 +0000 (22:12 +0000)]
re PR libgcj/2874 (libjava testsuite disk space usage)
Fix for PR libgcj/2874:
* libjava.mauve/mauve.exp (gcj_run_mauve_tests): New proc.
(test_mauve): Return 0 on failure.
* lib/libjava.exp (test_libjava_from_source): Remove generated
files if test is successful.
(test_libjava_from_javac): Likewise.
(gcj_cleanup): New proc.
From-SVN: r43050
Mark Mitchell [Fri, 8 Jun 2001 21:54:11 +0000 (21:54 +0000)]
basic-block.h: Improve comments.
* basic-block.h: Improve comments.
* except.c (expand_eh_region_end_allowed): Remove redundant call
to do_pending_stack_adjust.
* flow.c (life_analysis): Fix typo in comment.
(calculate_global_regs_live): Add documentation.
(mark_set_1): Likewise.
(debug_regset): Likewise.
* doc/rtl.texi (cond_exec): Document it.
From-SVN: r43049
Jan Hubicka [Fri, 8 Jun 2001 19:53:59 +0000 (21:53 +0200)]
i386.h (CONST_COSTS): set cost of constants representable in immediate fields to 0.
* i386.h (CONST_COSTS): set cost of constants representable in
immediate fields to 0.
From-SVN: r43045
Jan Hubicka [Fri, 8 Jun 2001 19:52:06 +0000 (21:52 +0200)]
function.c (diddle_return_value): Kill code to determine return value before expand_function_end.
* function.c (diddle_return_value): Kill code to determine
return value before expand_function_end.
(expand_function_end): Delay call to clobber_return_register
after fucntion return value is computed.
Re-install temporary reverted patch:
* toplev.c (rest_of_compilation): Call split_all_insns
before reg-stack and shorten-branches. Do shorten-branches
after reg-stack.
* final.c (shorten_branches): Remove insn splitting code.
From-SVN: r43044
Joseph Myers [Fri, 8 Jun 2001 19:42:28 +0000 (20:42 +0100)]
gcc.texi, [...]: Add index of command line options.
* doc/gcc.texi, doc/invoke.texi: Add index of command line
options. Use @opindex to index them rather than other indexing
commands. Use @var{...} instead of <...>. Avoid spaces in names
inside @var. Don't use @kindex to index escape sequences in
source code.
From-SVN: r43041
Tom Tromey [Fri, 8 Jun 2001 19:09:04 +0000 (19:09 +0000)]
re PR libgcj/3059 (System doesn't set java.home property)
Fix for PR libgcj/3059:
* java/lang/natSystem.cc (init_properties): Define `java.home'.
* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Define PREFIX.
From-SVN: r43040
Jason Merrill [Fri, 8 Jun 2001 18:14:27 +0000 (14:14 -0400)]
conflict
From-SVN: r43038
Jason Merrill [Fri, 8 Jun 2001 18:12:54 +0000 (14:12 -0400)]
stmt.c (current_nesting_level): New fn.
* stmt.c (current_nesting_level): New fn.
* tree.h: Declare it.
* c-semantics.c (genrtl_compound_stmt): Use it.
* dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P.
From-SVN: r43037
Jason Merrill [Fri, 8 Jun 2001 18:03:52 +0000 (14:03 -0400)]
duplicate
From-SVN: r43036
Jason Merrill [Fri, 8 Jun 2001 18:03:52 +0000 (14:03 -0400)]
duplicate
[[Split portion of a mixed commit.]]
From-SVN: r43035.2
Tom Tromey [Fri, 8 Jun 2001 18:02:03 +0000 (18:02 +0000)]
For PR bootstrap/3075:
* configure, aclocal.m4, Makefile.am: Rebuilt.
* configure.in: Pass `--with-auxdir' to subdir configure. Don't
call AC_CONFIG_AUX_DIR or AC_CANONICAL_SYSTEM. Look for unwind.h
relative to libgcj_basedir.
* acinclude.m4 ((LIBGCJ_CONFIGURE): Call AC_CONFIG_AUX_DIR and
AC_CANONICAL_SYSTEM here.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
libgcj_basedir.
($(extra_headers)): New target.
From-SVN: r43034
Tom Tromey [Fri, 8 Jun 2001 17:59:57 +0000 (17:59 +0000)]
For PR bootstrap/3075:
* configure, aclocal.m4, Makefile.in: Rebuilt.
* configure.in: Don't call AC_CONFIG_AUX_DIR or
AC_CANONICAL_SYSTEM.
* acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
AC_CANONICAL_SYSTEM here.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
boehm_gc_basedir.
From-SVN: r43033