OSDN Git Service

pf3gnuchains/gcc-fork.git
19 years ago * config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
rth [Mon, 11 Jun 2001 02:31:56 +0000 (02:31 +0000)]
    * config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43166 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* doc/invoke.texi (MN10300 Options): Document -mno-crt0.
aoliva [Mon, 11 Jun 2001 01:03:12 +0000 (01:03 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43164 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sun, 10 Jun 2001 23:26:34 +0000 (23:26 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43161 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/alpha/alpha.c (override_options): Set align_loops,
rth [Sun, 10 Jun 2001 23:15:03 +0000 (23:15 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43160 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode
m.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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43158 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* g++.old-deja/g++.abi/ptrmem.C: Take into account different
aoliva [Sun, 10 Jun 2001 21:50:47 +0000 (21:50 +0000)]
* g++.old-deja/g++.abi/ptrmem.C: Take into account different
representation on MN10300 and ARM/Thumb.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43157 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* typeck.c (get_member_function_from_ptrfunc) [vbit_in_delta]:
aoliva [Sun, 10 Jun 2001 21:50:40 +0000 (21:50 +0000)]
* typeck.c (get_member_function_from_ptrfunc) [vbit_in_delta]:
Don't clobber delta.
(expand_ptrmemfunc_cst) [ptrmemfunc_vbit_in_delta]: Adjust pfn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43156 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-10 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Sun, 10 Jun 2001 20:59:37 +0000 (20:59 +0000)]
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 )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43153 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/invoke.texi (Optimization Options): Document -fpeephole2.
rth [Sun, 10 Jun 2001 19:55:57 +0000 (19:55 +0000)]
    * doc/invoke.texi (Optimization Options): Document -fpeephole2.
        (Code Generation Options): Document -fnon-call-exceptions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43151 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * concat.c: Include string.h. Fix int vs size_t usage.
rth [Sun, 10 Jun 2001 18:57:15 +0000 (18:57 +0000)]
    * concat.c: Include string.h.  Fix int vs size_t usage.
        Simplify the iteration loops.  Use memcpy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43149 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
rth [Sun, 10 Jun 2001 18:54:50 +0000 (18:54 +0000)]
    * config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43148 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-03-20 Tom Tromey <tromey@redhat.com>
apbianco [Sun, 10 Jun 2001 18:45:06 +0000 (18:45 +0000)]
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 )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43146 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-05 Jeff Sturm <jsturm@one-point.com>
apbianco [Sun, 10 Jun 2001 18:24:53 +0000 (18:24 +0000)]
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 )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43144 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 10 Jun 2001 17:57:29 +0000 (17:57 +0000)]
2001-06-10  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77.f-torture/execute/20010610.f: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43143 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * m68hc11.md (peepholes): Remove unused and wrong peepholes.
ciceron [Sun, 10 Jun 2001 17:08:27 +0000 (17:08 +0000)]
* m68hc11.md (peepholes): Remove unused and wrong peepholes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43142 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agogcc/
gdr [Sun, 10 Jun 2001 13:48:04 +0000 (13:48 +0000)]
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43140 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-10 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 10 Jun 2001 13:23:19 +0000 (13:23 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43139 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68hc11/m68hc11.md ("extendhisi2"): Fix constraints to
ciceron [Sun, 10 Jun 2001 10:24:48 +0000 (10:24 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43137 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
ciceron [Sun, 10 Jun 2001 10:18:40 +0000 (10:18 +0000)]
* config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline):
Move definition in the RTX_CODE section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43134 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Define the return
ciceron [Sun, 10 Jun 2001 10:16:27 +0000 (10:16 +0000)]
* config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Define the return
address as relative to the argument pointer.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43133 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * predict.def (PRED_OPCODE): Place before call and error_return.
hubicka [Sun, 10 Jun 2001 08:59:51 +0000 (08:59 +0000)]
* predict.def (PRED_OPCODE): Place before call and error_return.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43131 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * predict.def (PRED_CALL, PRED_ERROR_RETURN): New.
hubicka [Sun, 10 Jun 2001 08:01:57 +0000 (08:01 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43130 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-10 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sun, 10 Jun 2001 07:42:25 +0000 (07:42 +0000)]
2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cstdio.h: Include cstddef for size_t.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43128 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sun, 10 Jun 2001 07:16:09 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43126 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* doc/invoke.texi (C Dialect Options): Document -aux-info.
aoliva [Sun, 10 Jun 2001 00:34:45 +0000 (00:34 +0000)]
* doc/invoke.texi (C Dialect Options): Document -aux-info.
(Debugging Options): Document -print-multi-directory and
-print-multi-lib.
* doc/gcc.1: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43124 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* toplev.c (independent_decode_option): Require `=' between
aoliva [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.
* gcc.c: Don't pass -aux-info=filename twice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43123 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoNew test.
mmitchel [Sat, 9 Jun 2001 23:08:24 +0000 (23:08 +0000)]
New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43121 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * expr.c (expand_expr, case ARRAY_REF): Do not replace
mmitchel [Sat, 9 Jun 2001 23:08:05 +0000 (23:08 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43120 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * cppinit.c (print_help): Document -fpreprocessed.
neil [Sat, 9 Jun 2001 22:55:49 +0000 (22:55 +0000)]
* cppinit.c (print_help): Document -fpreprocessed.
* invoke.texi: Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43116 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * predict.def: New file.
hubicka [Sat, 9 Jun 2001 22:39:25 +0000 (22:39 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43115 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* g++.dg/mangle1.C: Change regex to allow USER_LABEL_PREFIX == "_"
aoliva [Sat, 9 Jun 2001 22:07:09 +0000 (22:07 +0000)]
* g++.dg/mangle1.C: Change regex to allow USER_LABEL_PREFIX == "_"
names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43114 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoNew tests.
rth [Sat, 9 Jun 2001 21:37:03 +0000 (21:37 +0000)]
New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43111 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * predict.c (predict_insn, predict_edge): New static functions.
hubicka [Sat, 9 Jun 2001 21:30:50 +0000 (21:30 +0000)]
* predict.c (predict_insn, predict_edge): New static functions.
(estimate_probability): Revamp to use new functions;
fix loop header heruistics; add loop exist heruistics

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43109 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* acinclude.m4 (AC_EXEEXT): Work around in case it expands to
aoliva [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.
* aclocal.m4, configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43108 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* configure.in (AC_EXEEXT): Work around in case it expands to
aoliva [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.
* acinclude.m4: Likewise.
* aclocal.m4, configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43107 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.
aoliva [Sat, 9 Jun 2001 20:37:29 +0000 (20:37 +0000)]
* config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43106 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* configure.in (AC_EXEEXT): Work around in case it expands to
aoliva [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.
* acinclude.m4: Likewise.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43105 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* acinclude.m4 (AC_EXEEXT): Work around in case it expands to
aoliva [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.
* configure: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43104 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* configure.in (AC_EXEEXT): Work around in case it expands to
aoliva [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: Rebuilt.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43103 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
rth [Sat, 9 Jun 2001 19:11:22 +0000 (19:11 +0000)]
    * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43100 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 9 Jun 2001 18:53:35 +0000 (18:53 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43097 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* config.guess: Import CVS version 1.195.
aoliva [Sat, 9 Jun 2001 18:50:20 +0000 (18:50 +0000)]
* config.guess: Import CVS version 1.195.
* config.sub: Import CVS version 1.212.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43096 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags
danglin [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 C bit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43094 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-09 Nicola Pero <nicola@brainstorm.co.uk>
ovidiu [Sat, 9 Jun 2001 18:06:54 +0000 (18:06 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43092 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago(__gthread_objc_init_thread_system): If pthread_key_create fails, it's
ovidiu [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.  This obvious fix makes sure it
always returns -1 if a problem occurs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43091 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/gcc.texi: Use @defcodeindex for the index of options. Add
jsm28 [Sat, 9 Jun 2001 18:03:11 +0000 (18:03 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43089 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 9 Jun 2001 18:00:34 +0000 (18:00 +0000)]
2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>

* unwind-pe.h: Conditionally qualify references to abort with
std::.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43087 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-09 Benjamin Kosnik <bkoz@fillmore.constant.com>
bkoz [Sat, 9 Jun 2001 17:55:10 +0000 (17:55 +0000)]
2001-06-09  Benjamin Kosnik  <bkoz@fillmore.constant.com>

* unwind-pe.h: Conditionally qualify references to abort with
std::.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43082 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-09 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Sat, 9 Jun 2001 17:55:05 +0000 (17:55 +0000)]
2001-06-09  Ovidiu Predescu  <ovidiu@cup.hp.com>

* objc/execute/load-3.m: Added. Check sending +load to categories,
in addition to classes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43081 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoAdded. Check sending +load to categories, in addition to classes.
ovidiu [Sat, 9 Jun 2001 17:54:21 +0000 (17:54 +0000)]
Added. Check sending +load to categories, in addition to classes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43080 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 9 Jun 2001 17:39:29 +0000 (17:39 +0000)]
2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cctype.h: Remove isblank.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43078 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * invoke.texi: Remove superfluous text.
neil [Sat, 9 Jun 2001 13:32:45 +0000 (13:32 +0000)]
* invoke.texi: Remove superfluous text.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43075 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Sat, 9 Jun 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43072 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-09 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 9 Jun 2001 06:49:13 +0000 (06:49 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43070 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Sat, 9 Jun 2001 04:24:10 +0000 (04:24 +0000)]
2001-06-08  Benjamin Kosnik  <bkoz@redhat.com>

* include/c_std/bits/std_cstdlib.h: Remove _Exit, strtof injections.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43069 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
rth [Sat, 9 Jun 2001 00:39:04 +0000 (00:39 +0000)]
    * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
        (LIB_SPEC): Mirror config/linux.h version.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43067 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * configure: Rebuilt.
tromey [Fri, 8 Jun 2001 23:40:17 +0000 (23:40 +0000)]
* configure: Rebuilt.
* configure.in: Compute new aux dir using `pwd'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43064 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-08 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 8 Jun 2001 23:22:26 +0000 (23:22 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43061 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * except.c (get_exception_pointer, get_exception_filter): Take a
rth [Fri, 8 Jun 2001 22:57:23 +0000 (22:57 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43060 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
shebs [Fri, 8 Jun 2001 22:42:59 +0000 (22:42 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43058 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
mmitchel [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-typeck.c (type_lists_compatible_p): Ignore the top-levl
cv-qualifiers on function types.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43056 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
shebs [Fri, 8 Jun 2001 22:19:47 +0000 (22:19 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43052 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * objc/execute/load-2.m: New test. From Nicola Pero
shebs [Fri, 8 Jun 2001 22:16:58 +0000 (22:16 +0000)]
    * objc/execute/load-2.m: New test.  From Nicola Pero
        <n.pero@mi.flashnet.it>.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43051 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago Fix for PR libgcj/2874:
tromey [Fri, 8 Jun 2001 22:12:28 +0000 (22:12 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43050 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * basic-block.h: Improve comments.
mmitchel [Fri, 8 Jun 2001 21:54:11 +0000 (21:54 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43049 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * i386.h (CONST_COSTS): set cost of constants representable in
hubicka [Fri, 8 Jun 2001 19:53:59 +0000 (19:53 +0000)]
* i386.h (CONST_COSTS): set cost of constants representable in
immediate fields to 0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43045 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * function.c (diddle_return_value): Kill code to determine
hubicka [Fri, 8 Jun 2001 19:52:06 +0000 (19:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43044 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/gcc.texi, doc/invoke.texi: Add index of command line
jsm28 [Fri, 8 Jun 2001 19:42:28 +0000 (19:42 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43041 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago Fix for PR libgcj/3059:
tromey [Fri, 8 Jun 2001 19:09:04 +0000 (19:09 +0000)]
Fix for PR libgcj/3059:
* java/lang/natSystem.cc (init_properties): Define `java.home'.
* Makefile.in: Rebuilt.
* Makefile.am (AM_CXXFLAGS): Define PREFIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43040 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoconflict
jason [Fri, 8 Jun 2001 18:14:27 +0000 (18:14 +0000)]
conflict

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43038 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * stmt.c (current_nesting_level): New fn.
jason [Fri, 8 Jun 2001 18:12:54 +0000 (18:12 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43037 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoduplicate
jason [Fri, 8 Jun 2001 18:03:52 +0000 (18:03 +0000)]
duplicate

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43036 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoduplicate
jason [Fri, 8 Jun 2001 18:03:52 +0000 (18:03 +0000)]
duplicate

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43035 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago For PR bootstrap/3075:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43034 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago For PR bootstrap/3075:
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43033 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * jump.c (mark_modified_reg): Allow jump threading if condition
jakub [Fri, 8 Jun 2001 17:43:09 +0000 (17:43 +0000)]
* jump.c (mark_modified_reg): Allow jump threading if condition
codes are represented by a hard register.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43030 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/ia64/ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode
jakub [Fri, 8 Jun 2001 17:42:25 +0000 (17:42 +0000)]
* config/ia64/ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode
for complex floats passed to unprototyped functions.

* gcc.c-torture/execute/20010605-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43029 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * except.c (expand_eh_region_end_allowed): Call
mmitchel [Fri, 8 Jun 2001 16:19:45 +0000 (16:19 +0000)]
* except.c (expand_eh_region_end_allowed): Call
do_pending_stack_adjust as necessary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43020 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * g++.old-deja/g++.abi/vbase2.C: New test.
nathan [Fri, 8 Jun 2001 14:30:47 +0000 (14:30 +0000)]
* g++.old-deja/g++.abi/vbase2.C: New test.
* g++.old-deja/g++.abi/vbase3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43016 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * decl.c (duplicate_decls): Fix DECL_TEMPLATE_RESULT thinko
nathan [Fri, 8 Jun 2001 13:49:09 +0000 (13:49 +0000)]
* decl.c (duplicate_decls): Fix DECL_TEMPLATE_RESULT thinko
in previous change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43014 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agocp:
nathan [Fri, 8 Jun 2001 12:49:02 +0000 (12:49 +0000)]
cp:
PR c++/2929
* friend.c (do_friend): Use push_decl_namespace for classes at
namespace scope.
testsuite:
* g++.old-deja/g++.pt/friend49.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43013 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * function.c (clobber_return_register): Clobber the pseudo return
hubicka [Fri, 8 Jun 2001 12:26:51 +0000 (12:26 +0000)]
* function.c (clobber_return_register): Clobber the pseudo return
register too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43011 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * sibcall.c (skip_unreturned_value): New function.
hubicka [Fri, 8 Jun 2001 12:24:30 +0000 (12:24 +0000)]
* sibcall.c (skip_unreturned_value): New function.
(call_ends_block_p): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43010 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * recog.c (split_insn): Break out from ...
hubicka [Fri, 8 Jun 2001 12:19:12 +0000 (12:19 +0000)]
* recog.c (split_insn): Break out from ...
(split_all_insns): ... here; do not use basic block information
when it is broken.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43009 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * simplify-rtx.c (simplify_subreg): Fix verification of
hubicka [Fri, 8 Jun 2001 12:02:24 +0000 (12:02 +0000)]
* simplify-rtx.c (simplify_subreg):  Fix verification of
combined subreg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43008 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling.
ro [Fri, 8 Jun 2001 11:52:56 +0000 (11:52 +0000)]
* config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling.
Don't define _LANGUAGE_C and variants for .cpp/.cp/.c++ files.
Move definition of _LANGUAGE_C_PLUS_PLUS ...
(CPLUSPLUS_CPP_SPEC): ... here.
Fixes PRs c++/3047, target/441.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43007 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago PR c++/3061
jason [Fri, 8 Jun 2001 11:10:29 +0000 (11:10 +0000)]
    PR c++/3061
        * class.c (build_secondary_vtable): Use assert, rather than an error
        message.
        (dfs_fixup_binfo_vtbls): BINFO_VTABLE might be NULL.
        (dfs_accumulate_vtbl_inits): A lost primary virtual base may
        be between ORIG_BINFO and RTTI_BINFO, but neither of them.
        Don't set BINFO_VTABLE for a primary virtual base.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43006 138bc75d-0d04-0410-961f-82ee72b054a4

19 years agoDaily bump.
gccadmin [Fri, 8 Jun 2001 07:16:12 +0000 (07:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43002 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/install.texi2html (MAKEINFO): Keep value if set already.
gerald [Fri, 8 Jun 2001 07:08:06 +0000 (07:08 +0000)]
* doc/install.texi2html (MAKEINFO): Keep value if set already.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43001 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * update_web_docs: Only update the install documentation for the
gerald [Fri, 8 Jun 2001 06:27:47 +0000 (06:27 +0000)]
* update_web_docs: Only update the install documentation for the
CVS HEAD.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43000 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * libsupc++/eh_alloc.cc: Ensure that required macros are
ljrittle [Fri, 8 Jun 2001 03:55:43 +0000 (03:55 +0000)]
* libsupc++/eh_alloc.cc: Ensure that required macros are
defined before including gthr.h.  Ensure that we get the
version of gthr.h for which we know how to provide a
configuration.
* libsupc++/eh_globals.cc: Likewise.  And, bring the threading
code path into line with the current EH model.  Use std, where
appropriate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42999 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/threads-no.h: Remove file.
ljrittle [Fri, 8 Jun 2001 03:53:35 +0000 (03:53 +0000)]
* config/threads-no.h: Remove file.
* config/threads-posix.h: Remove file.

* acconfig.h (_GLIBCPP_USE_THREADS): Remove.
(_GLIBCPP_SUPPORTS_WEAK): Add (required by namespace-clean gthr*.h).
(_GLIBCPP_HAVE_GTHR_DEFAULT): Likewise.
* config.h.in: Regenerate.

* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Completely rework to
setup and use gthr*.h files.  In particular, make gthr.h files
namespace-clean in the staging area (they don't have to be for
libgcc.a).
* aclocal.m4: Regenerate.
* configure: Regenerate.

* src/Makefile.am (build_headers): Remove bits/c++threads.h
and add bits/gthr.h bits/gthr-single.h bits/gthr-default.h.
* src/Makefile.in: Regenerate.

* include/bits/c++config: Cleanup threading configuration macros.
In particular, define __STL_GTHREADS macro which controls...
* include/bits/stl_threads.h: ...a brand new gthr.h-based
        configuration here.

* config/c_io_stdio.h: Include staged gthr.h instead of local
thread configuration file.  Always use __gthread_mutex_t
instead of __mutext_type (or int).
* include/bits/std_fstream.h: Likewise.

* docs/html/17_intro/howto.html: Remove placeholder comment in
case this configuration patch didn't make it.  Add advice that
section only applies if configured with --enable-threads.
* docs/html/23_containers/howto.html: Reword to make clear
that _PTHREADS is no longer required for any port to be
correctly using STL with threads.  Add advice that section
only applies if configured with --enable-threads.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42998 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
aoliva [Fri, 8 Jun 2001 03:21:07 +0000 (03:21 +0000)]
* Makefile.in (AS_FOR_TARGET, LD_FOR_TARGET, NM_FOR_TARGET): If
gcc/xgcc is built, use -print-prog-name to find out the program
name to use.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42996 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/gcc.texi: Add trailing slash to URL.
jsm28 [Fri, 8 Jun 2001 02:43:47 +0000 (02:43 +0000)]
* doc/gcc.texi: Add trailing slash to URL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42995 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/darwin.h (ENCODE_SECTION_INFO): Define.
shebs [Fri, 8 Jun 2001 02:28:04 +0000 (02:28 +0000)]
    * config/darwin.h (ENCODE_SECTION_INFO): Define.
        (REDO_SECTION_INFO_P): Ditto.
        (STRIP_NAME_ENCODING): Ditto.
        (ASM_DECLARE_OBJECT_NAME): Use ENCODE_SECTION_INFO.
        (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Ditto.
        (ASM_OUTPUT_LABELREF): Use STRIP_NAME_ENCODING.
        (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Ditto.
        * config/darwin.c: No longer include c-tree.h.
        (machopic_classify_ident): Rewrite to use symbol encoding.
        (lookup_name_darwin): Remove.
        (machopic_non_lazy_ptr_name): Handle encoded symbols.
        (machopic_stub_name): Use STRIP_NAME_ENCODING.
        (machopic_validate_stub_or_non_lazy_ptr): Ditto.
        (machopic_finish): Ditto, remove test of decl.
        (update_non_lazy_ptrs): New function.
        (darwin_encode_section_info): New function.
        * config/darwin-protos.h: Declare it.
        * config/rs6000/rs6000.c (machopic_output_stub): Use
        STRIP_NAME_ENCODING.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42994 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * tree.h (DECL_SOURCE_FILE): Improve documentation.
mmitchel [Fri, 8 Jun 2001 02:05:04 +0000 (02:05 +0000)]
* tree.h (DECL_SOURCE_FILE): Improve documentation.
(DECL_SOURCE_LINE): Likewise.

* decl.c (duplicate_decls): Update source position information
when a template function is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42993 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
ljrittle [Fri, 8 Jun 2001 00:47:58 +0000 (00:47 +0000)]
* config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
from config/elfos.h.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42991 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago2001-06-07 Phil Edwards <pme@sources.redhat.com>
pme [Thu, 7 Jun 2001 23:54:24 +0000 (23:54 +0000)]
2001-06-07  Phil Edwards  <pme@sources.redhat.com>

* cp/lang-specs.h:  Move -D_GNU_SOURCE to config/linux.h.
* config/linux.h (CPLUSPLUS_CPP_SPEC):  Move -D_GNU_SOURCE to here.
* config/pa/pa-linux.h:  Allow CPLUSPLUS_CPP_SPEC to remain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42989 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/contrib.texi: Add copyright notice.
jsm28 [Thu, 7 Jun 2001 23:38:07 +0000 (23:38 +0000)]
* doc/contrib.texi: Add copyright notice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42987 138bc75d-0d04-0410-961f-82ee72b054a4

19 years ago * doc/md.texi: Use four digit years in copyright notice.
jsm28 [Thu, 7 Jun 2001 23:36:01 +0000 (23:36 +0000)]
* doc/md.texi: Use four digit years in copyright notice.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42985 138bc75d-0d04-0410-961f-82ee72b054a4