GCC Administrator
552aae17f2
Daily bump.
...
From-SVN: r41757
2001-05-02 07:16:08 +00:00
Loren J. Rittle
a39a06ff2f
cxa_vec.C: Get malloc() from <stdlib.h>, not <malloc.h>.
...
* g++.old-deja/g++.abi/cxa_vec.C: Get malloc() from
<stdlib.h>, not <malloc.h>.
From-SVN: r41756
2001-05-02 06:55:39 +00:00
Benjamin Kosnik
a85afd69a3
sbuf_iter.h (istreambuf_iterator): Correct.
...
2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
* testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
* include/bits/std_sstream.h (stringbuf): Leak
copied string.
* testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
From-SVN: r41755
2001-05-02 05:50:20 +00:00
Per Bothner
0a5fee3256
expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR...
...
* expr.c (expand_expr): When compiling LABELED_BLOCK_EXPR,
call do_pending_stack_adjust before emiting label.
From-SVN: r41753
2001-05-01 19:04:27 -07:00
Tom Browder
168e83ca6d
howto.html: Fix typo.
...
2001-05-01 Tom Browder <tbrowder@home.com>
* docs/html/ext/howto.html: Fix typo.
From-SVN: r41752
2001-05-02 01:39:03 +00:00
Mark Mitchell
78fb357776
Fix typo
...
From-SVN: r41750
2001-05-02 00:58:46 +00:00
Mark Mitchell
bd78000b11
* extend.texi: Fix typo.
...
From-SVN: r41749
2001-05-02 00:52:58 +00:00
Mark Mitchell
bcecb0b06d
fdl.texi: New file.
...
* fdl.texi: New file.
* objc-features.texi: Simplify.
* Makefile.in: Adjust accordingly.
From-SVN: r41747
2001-05-02 00:39:01 +00:00
Tom Tromey
0cd015ea9e
Make-lang.in ($(srcdir)/java/gcj.info): Added `-I..'.
...
* Make-lang.in ($(srcdir)/java/gcj.info): Added `-I..'.
(java/gcj.dvi): Added $(srcdir) to TEXINPUTS.
* gcj.texi: Updated copyright text. Include fdl.texi.
(Top): Link to new node.
From-SVN: r41743
2001-05-01 22:21:01 +00:00
Per Bothner
6a117d00e3
* parse.h (REGISTER_IMPORT): Use tree_cons instead of chainon.
...
From-SVN: r41741
2001-05-01 15:13:31 -07:00
Per Bothner
063df563bd
parse.y (java_pop_parser_context): The TREE_VALUE of a link in the import_list contains the name, not the TREE_PURPOSE.
...
* parse.y (java_pop_parser_context): The TREE_VALUE of a link in the
import_list contains the name, not the TREE_PURPOSE.
From-SVN: r41739
2001-05-01 15:05:46 -07:00
Jeffrey Oldham
aa32d8f61e
gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
...
2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
* gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
(GC_noop1): Change declaration to take one argument.
From-SVN: r41738
2001-05-01 21:44:02 +00:00
Stan Shebs
d54d2a054a
objc-act.c (build_module_descriptor): Clear DECL_CONTEXT of UOBJC_MODULES_decl.
...
* objc/objc-act.c (build_module_descriptor): Clear DECL_CONTEXT
of UOBJC_MODULES_decl.
(generate_strings): Clear DECL_CONTEXT of new decl nodes.
(generate_descriptor_table): Ditto.
(generate_protocols): Ditto.
(generate_protocol_list): Ditto.
(generate_classref_translation_entry): Ditto.
From-SVN: r41736
2001-05-01 20:45:55 +00:00
Jeffrey Oldham
1c4c47db18
invoke.texi (Optimize Options): Add documentation for --param max-delay-slot-insn-search' and
--param...
...
2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>
* invoke.texi (Optimize Options): Add documentation for `--param
max-delay-slot-insn-search' and `--param
max-delay-slot-live-search' and reorder --param section.
* params.def: Modify initial comment.
* params.h (param_info): Add `help' member.
* toplev.c (lang_independent_params): Include `help' description.
(display_help): Print --param parameters.
From-SVN: r41734
2001-05-01 18:51:06 +00:00
Andrew Haley
e529c2c1c3
libgcj.spec.in (jc1): Add EXCEPTIONSPEC.
...
2001-04-30 Andrew Haley <aph@cambridge.redhat.com>
* libgcj.spec.in (jc1): Add EXCEPTIONSPEC.
* configure.host (EXCEPTIONSPEC): New.
* configure.in (EXCEPTIONSPEC): New.
* configure: Rebuilt.
From-SVN: r41733
2001-05-01 17:45:11 +00:00
Zack Weinberg
4e70264f82
config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
...
2001-05-01 Zack Weinberg <zackw@stanford.edu>
* config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}.
Remove references to deleted files.
(*-*-openbsd): No need to override xmake_file.
(*-*-sysv4): Treat like *-*-sysv.
* configure.in: Probe for ldopen in various places, and set up
collect2 to be linked with them if found.
Don't dink with Windows registry stuff unless $host_os is a
Win32 os name. Check to see if we need -ladvapi32.
* configure: Regenerate.
* Makefile: Get rid of CLIB and HOST_CLIB.
Substitute in COLLECT2_LIBS and link collect2 against its contents.
* build-make: Get rid of HOST_CLIB.
* config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix,
config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
config/mips/x-sysv, config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-rs6000: Delete.
* config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris:
Don't set CLIB.
24 x-host fragments remain, 0 x-cpu, 3 top level.
2001-05-01 Zack Weinberg <zackw@stanford.edu>
* aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program.
* configure: Regenerate.
From-SVN: r41732
2001-05-01 17:45:05 +00:00
Gabriel Dos Reis
358c9f4b42
* testsuite/libstdc++.tests/tests.exp: Add comment.
...
From-SVN: r41730
2001-05-01 17:28:02 +00:00
Angela Marie Thomas
16636d354c
* Makefile.in (install-headers): Remove redundant dependency.
...
From-SVN: r41729
2001-05-01 09:58:40 -07:00
Gabriel Dos Reis
55a0ab4ac6
* testsuite/libstdc++.tests/tests.exp: Set ulimits.
...
From-SVN: r41727
2001-05-01 15:01:50 +00:00
Nathan Sidwell
07dd196a5c
* c-tree.texi (USING_STMT): Document.
...
From-SVN: r41726
2001-05-01 14:43:17 +00:00
Nathan Sidwell
9da99f7d83
cp-tree.def (USING_STMT): New statement node.
...
cp:
* cp-tree.def (USING_STMT): New statement node.
* cp-tree.h (USING_STMT_NAMESPACE): New macro.
* decl2.c (do_using_directive): Add USING_STMT to statement
tree. Don't emit errors when processing template decl.
* pt.c (tsubst_expr, USING_STMT case): New case.
* semantics.c (cp_expand_stmt, USING_STMT case): New case.
testsuite:
* g++.old-deja/g++.ns/template17.C: New test.
From-SVN: r41724
2001-05-01 12:56:12 +00:00
Kaveh R. Ghazi
6496a589df
bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
...
* bitmap.c: Change NULL_PTR to NULL or "(rtx*)0".
* c-common.c: Likewise.
* c-decl.c: Likewise.
* combine.c: Likewise.
* rs6000.c: Likewise.
* except.c: Likewise.
* explow.c: Likewise.
* expr.c: Likewise.
* fold-const.c: Likewise.
* function.c: Likewise.
* gcc.c: Likewise.
* gcse.c: Likewise.
* integrate.c: Likewise.
* loop.c: Likewise.
* objc/objc-act.c: Likewise.
* recog.c: Likewise.
* reg-stack.c: Likewise.
* reload.c: Likewise.
* reload1.c: Likewise.
* simplify-rtx.c: Likewise.
* stmt.c: Likewise.
* varasm.c: Likewise.
From-SVN: r41722
2001-05-01 12:11:35 +00:00
Nathan Sidwell
4b48a93e89
call.c (build_new_op): Convert args from reference here.
...
cp:
* call.c (build_new_op): Convert args from reference here.
(build_conditional_expr): Don't convert here.
testsuite:
* g++.old-deja/g++.pt/ref4.C: New test.
From-SVN: r41721
2001-05-01 11:47:49 +00:00
Nathan Sidwell
1bcea8d764
spew.c (last_token_id): New static variable.
...
cp:
* spew.c (last_token_id): New static variable.
(read_token): Set it here.
(yyerror): Use it here.
From-SVN: r41719
2001-05-01 10:53:09 +00:00
Gabriel Dos Reis
d0e66dbb95
diagnostic.def: New file.
...
* diagnostic.def: New file.
* diagnostic.h (diagnostic_t): New enum.
* Makefile.in (diagnostic.o): Depend on diagnostic.def
From-SVN: r41717
2001-05-01 08:19:45 +00:00
GCC Administrator
048de5ad7c
Daily bump.
...
From-SVN: r41716
2001-05-01 07:16:43 +00:00
Zack Weinberg
34f4f3a551
tsystem.h: Test only POSIX for availability of string.h and time.h.
...
* tsystem.h: Test only POSIX for availability of string.h
and time.h.
* config.gcc (all systems): If USG appeared in xm_defines,
change it to POSIX. If both USG and POSIX appeared, just
delete USG. Remove unnecessary quotes around xm_defines
settings.
(m68k-crds-unos*): Don't #define unos - tested nowhere.
(m68k-apple-aux*): Don't #define AUX - tested nowhere.
(alpha*-*-linux*ecoff*, powerpc-*-linux*libc1,
powerpc-*-linux*): No need to set xm_defines - handled by
global settings for *-*-linux*.
From-SVN: r41714
2001-05-01 03:48:04 +00:00
Zack Weinberg
7719ffbf1d
dbxout.c, [...]: Always include gstab.h, not system stab.h.
...
* dbxout.c, mips-tfile.c, config/mips/mips.c, xcoffout.c:
Always include gstab.h, not system stab.h. Don't provide
default definitions of N_CATCH or N_OPT. Always use the
gstab.h variant of STAB_CODE_TYPE.
* final.c: Don't include stab.h/gstab.h at all, or provide
defaults for N_SLINE and N_SOL.
* xcoffout.c: Can assume N_MAIN, N_DSLINE, N_BSLINE, N_BINCL,
N_EINCL, N_EXCL, N_M2C, N_SCOPE, N_CATCH, and N_OPT are
available.
* sdbout.c: Always include gsyms.h instead of system syms.h.
* configure.in: No need to check for stab.h.
* configure, config.in: Regenerate.
* Makefile.in (final.o): Don't depend on gstab.h.
From-SVN: r41713
2001-05-01 01:58:32 +00:00
Mark Mitchell
e71b34aa4e
extend.texi: Improve documentation of volatile asms.
...
* extend.texi: Improve documentation of volatile asms.
* c-tree.texi: Fix thinko.
* gcc.texi: Likewise.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r41712
2001-05-01 00:39:59 +00:00
Richard Henderson
d72040f508
c-common.c (c_promoting_integer_type_p): New function, from the corpse of old macro.
...
* c-common.c (c_promoting_integer_type_p): New function, from the
corpse of old macro. Properly promote too-small enumerations and
booleans. Adjust all callers.
* c-common.h (C_PROMOTING_INTEGER_TYPE_P): Remove.
(c_promoting_integer_type_p): Declare.
* c-decl.c: Adjust C_PROMOTING_INTEGER_TYPE_P invocations.
* c-typeck.c: Likewise.
(default_conversion): Remove now redundant boolean check.
* cvt.c: Downcase C_PROMOTING_INTEGER_TYPE_P invocations.
* decl.c: Likewise.
From-SVN: r41709
2001-04-30 16:59:10 -07:00
Richard Henderson
901d43bcd0
Revert last change.
...
From-SVN: r41708
2001-04-30 16:28:23 -07:00
Jan Hubicka
595c229027
regmove.c (try_apply_stack_adjustment): Remove now redundant sanity checks.
...
* regmove.c (try_apply_stack_adjustment): Remove now redundant
sanity checks.
(combine_stack_adjustments_for_block): Don't combine stack
allocation followed by deallocations. Handle grow-up stacks.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r41707
2001-04-30 16:27:22 -07:00
Matt Kraai
dad362764f
natFile.cc (performSetReadOnly): Fix #ifdef test.
...
2001-04-30 Matt Kraai <kraai@alumni.carnegiemellon.edu>
* java/io/natFile.cc (performSetReadOnly): Fix #ifdef test.
(performDelete): Fix #endif placement.
From-SVN: r41703
2001-04-30 23:09:39 +00:00
Mark Mitchell
e21382befd
fdl.texi: New file.
...
* fdl.texi: New file.
* c-tree.texi: Use the GFDL.
* gcc.texi: Likewise.
From-SVN: r41701
2001-04-30 22:46:47 +00:00
Mark Mitchell
c3aac51278
fdl.texi: New file.
...
* fdl.texi: New file.
* c-tree.texi: Use the GFDL.
* gcc.texi: Likewise.
* porting.texi: Use the GFDL.
* objc-features.texi: Use the GFDL.
* gxxint.texi: Remove.
* Make-lang.in: Remove all traces of gxxint.texi.
From-SVN: r41700
2001-04-30 22:46:01 +00:00
Mark Mitchell
5fd893d507
decl2.c (start_static_initialization_or_destruction): Correct logic to handle the -fno-use-cxa-atexit case.
...
* decl2.c (start_static_initialization_or_destruction): Correct
logic to handle the -fno-use-cxa-atexit case.
From-SVN: r41697
2001-04-30 22:20:03 +00:00
Toon Moene
505cf15f07
20010430.f: New test.
...
2001-04-30 Toon Moene <toon@moene.indiv.nluug.nl>
* g77.f-torture/execute/20010430.f: New test.
From-SVN: r41695
2001-04-30 21:51:57 +00:00
Benjamin Kosnik
b85381b911
ostreambuf_iterator.cc: New file.
...
2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2627
* testsuite/24_iterators/ostreambuf_iterator.cc: New file.
* include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
specializations.
From-SVN: r41694
2001-04-30 20:53:31 +00:00
Stan Shebs
60de6385e1
* invoke.texi: Add a section documenting Objective-C options.
...
From-SVN: r41692
2001-04-30 18:17:13 +00:00
Benjamin Kosnik
2458d950f4
stl_iterator_base_funcs.h (__advance): Fix.
...
2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.
From-SVN: r41691
2001-04-30 18:07:51 +00:00
Benjamin Kosnik
9d377fd443
stl_iterator_base_funcs.h (__advance): Fix.
...
2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.
From-SVN: r41690
2001-04-30 17:48:41 +00:00
Benjamin Kosnik
215e98639b
stl_iterator_base_funcs.h (__advance): Fix.
...
2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2964
* include/bits/stl_iterator_base_funcs.h (__advance): Fix.
From-SVN: r41689
2001-04-30 17:41:29 +00:00
Andrew Haley
d6e95df8d0
emit-rtl.c (try_split): Copy EH notes to sequence.
...
2001-04-27 Andrew Haley <aph@cambridge.redhat.com>
* emit-rtl.c (try_split): Copy EH notes to sequence.
From-SVN: r41688
2001-04-30 16:07:26 +00:00
Mark Mitchell
d60e54483d
regmove.c (record_stack_memrefs): Catch all references to the stack pointer.
...
* regmove.c (record_stack_memrefs): Catch all references to the
stack pointer.
* optimize.c (update_cloned_parm): New function.
(maybe_clone_body): Use it. Update the `this' parameter too.
* gcc.dg/20000724-1.c: Add a clobber of `esp'.
From-SVN: r41687
2001-04-30 15:09:51 +00:00
GCC Administrator
fea633fdfb
Daily bump.
...
From-SVN: r41679
2001-04-30 07:16:39 +00:00
Toomas Rosin
fba3bbe316
quote shell assignment values
...
From-SVN: r41676
2001-04-29 21:24:16 +00:00
Kaveh R. Ghazi
d4f2852fbc
c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
...
* c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
* gcc.c: Likewise.
* prefix.c: Likewise.
From-SVN: r41675
2001-04-29 12:43:20 +00:00
Joseph Myers
7200764f6c
decl2.c (unsupported_options): Add new-abi.
...
cp:
* decl2.c (unsupported_options): Add new-abi.
* lang-options.h: Remove no longer supported options.
testsuite:
* g++.old-deja/g++.other/crash14.C: Remove -fnew-abi.
From-SVN: r41673
2001-04-29 12:48:40 +01:00
Kaveh R. Ghazi
962584ea56
jcf-io.c (read_zip_member): Cast to long in comparison with signed value.
...
* jcf-io.c (read_zip_member): Cast to long in comparison with
signed value.
* jvspec.c (lang_specific_driver): Initialize variables.
* mangle.c (find_compression_record_match): Likewise.
* typeck.c (build_null_signature): Provide static prototype. Mark
parameter with ATTRIBUTE_UNUSED.
* verify.c (verify_jvm_instructions): Initialize variable.
From-SVN: r41671
2001-04-29 11:24:37 +00:00
GCC Administrator
31e54bc5f4
Daily bump.
...
From-SVN: r41669
2001-04-29 07:16:07 +00:00