Commit Graph

35435 Commits

Author SHA1 Message Date
Bryce McKinlay
86d9e8d864 parse.y (do_resolve_class): Check for cyclic inheritance during inner class resolution.
2001-04-27  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

	* parse.y (do_resolve_class): Check for cyclic inheritance during
	inner class resolution.

(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg01330.html)

From-SVN: r42737
2001-05-30 23:05:29 -07:00
Zack Weinberg
9fd51e6700 ggc-page.c (size_lookup): Increase minimum allocation size to eight bytes.
* ggc-page.c (size_lookup): Increase minimum allocation size
	to eight bytes.
	(ggc_print_statistics): Report size of each bin in bytes, not
	as its order; there is no longer a direct relationship.

From-SVN: r42736
2001-05-31 05:05:19 +00:00
Jan van Male
310668e86d extend.texi: Fix formating of examples, eliminate some 'overfull hboxes'.
* extend.texi: Fix formating of examples, eliminate some
	'overfull hboxes'.
	* gcc.texi: Eliminate some 'overfull hboxes'.
	* invoke.texi: Use two spaces between command options, eliminate
	some 'overfull hboxes'.

From-SVN: r42735
2001-05-31 04:27:52 +00:00
Loren J. Rittle
85836c0b63 c++config (__USE_MALLOC): Do not define it.
* include/bits/c++config (__USE_MALLOC): Do not define it.
	Document why not and give pointers to more information.

	* docs/html/23_containers/howto.html: Update documentation
	to reflect recent understanding of problem.
	* docs/html/17_intro/howto.html: Likewise.

From-SVN: r42732
2001-05-31 02:45:04 +00:00
Richard Henderson
fe7cd37f13 * dwarf2out.c (dwarf2out_finish): Don't emit DW_AT_stmt_list at -g1.
From-SVN: r42731
2001-05-30 18:13:43 -07:00
Tom Tromey
2297fdf160 gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix, use it in the new association.
* gcc.c (do_spec_1): In `%O' case, if we computed saved_suffix,
	use it in the new association.

From-SVN: r42728
2001-05-30 23:56:48 +00:00
Loren J. Rittle
f5fa23843e gthr-posix.h (__gthread_active_ptr): Cast function pointer to target type to allow ISO C++ compiler to accept it.
* gthr-posix.h (__gthread_active_ptr): Cast function pointer
	to target type to allow ISO C++ compiler to accept it.
	* gthr-dce.h (__gthread_active_ptr): Likewise.
	* gthr-solaris.h (__gthread_active_ptr): Likewise.

Co-Authored-By: John David Anglin <dave@hiauly1.hia.nrc.ca>

From-SVN: r42725
2001-05-30 22:38:43 +00:00
Phil Edwards
462b73969e user.cfg.in: Minor addition.
2001-05-30  Phil Edwards  <pme@sources.redhat.com>

	* docs/doxygen/user.cfg.in:  Minor addition.
	* docs/html/documentation.html:  Reorganize.  Put most-looked-at
	stuff first.
	* docs/html/install.html:  Update for 3.0.  HTML fixups.
	* docs/html/17_intro/howto.html:  Likewise.
	* docs/html/18_support/howto.html:  Likewise.
	* docs/html/19_diagnostics/howto.html:  Likewise.
	* docs/html/20_util/howto.html:  Likewise.
	* docs/html/23_containers/howto.html:  Likewise.
	* docs/html/24_iterators/howto.html:  Likewise.  More notes.
	* docs/html/25_algorithms/howto.html:  Likewise.
	* docs/html/26_numerics/howto.html:  Likewise.  More notes.
	* docs/html/27_io/howto.html:  Likewise.
	* docs/html/ext/howto.html:  Likewise.
	* docs/html/faq/index.html:  Likewise.
	* docs/html/faq/index.txt:  Regenerate.
	* docs/html/27_io/iostreams_hierarchy.pdf:  Remove in favor of
	Doxygen-created documentation.

From-SVN: r42723
2001-05-30 21:55:05 +00:00
Neil Booth
932c1783cb cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001 so that we do accept comments in preprocessed input.
* cpplex.c (_cpp_lex_token): Revert patch of 16 May 2001
	so that we do accept comments in preprocessed input.

From-SVN: r42721
2001-05-30 21:22:00 +00:00
Neil Booth
f278806b97 * cpphash.c (alloc_node): Cast pointer.
From-SVN: r42720
2001-05-30 21:09:15 +00:00
David Billinghurst
42a9e4e471 linkage.exp: Pass appropriate flags to native compiler for irix6.2
* gcc.misc-tests/linkage.exp: Pass appropriate flags to native
        compiler for irix6.2

From-SVN: r42719
2001-05-30 13:32:33 -07:00
Rainer Orth
e944097aae libstdc++-v3-dg.exp (libstdc++-v3-init): Use get_multilibs to find gcc.
2001-05-30  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
        get_multilibs to find gcc.

From-SVN: r42714
2001-05-30 20:25:51 +00:00
Phil Edwards
54eb01bee0 acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
2001-05-30  Phil Edwards  <pme@sources.redhat.com>

	* acinclude.m4 (GLIBCPP_ENABLE_C99):  Reorder output messages.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate.

From-SVN: r42712
2001-05-30 17:05:02 +00:00
Tom Tromey
1de16a5cb1 invokethrow.out: New file.
* libjava.lang/invokethrow.out: New file.
	* libjava.lang/invokethrow.java: New file.

From-SVN: r42711
2001-05-30 15:23:23 +00:00
Gordon Sadler
bdd42dd9a5 * invoke.texi (Option Summary): Remove -isystem-c++ from options.
From-SVN: r42709
2001-05-30 11:58:45 +00:00
Gabriel Dos Reis
3702c6346a [multiple changes]
2001-05-29  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

      * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
      * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.

2001-05-27  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

      * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
      * include/c_std/bits/std_cstdlib.h: Same.
      * include/c_std/bits/std_cwchar.h: Same.

From-SVN: r42707
2001-05-30 11:34:26 +00:00
Nathan Sidwell
e97c948889 re PR c++/2936 (gcc gives me an internal error when compiling mozilla with --enable-optimization="-O3")
cp:
	PR g++/2936
	* decl.c (finish_anon_union): Copy context.
	* optimize.c (remap_decl): Remap anonymous aggregate members too.
testsuite:
	* g++.old-deja/g++.other/optimize3.C: New file.

From-SVN: r42705
2001-05-30 08:44:56 +00:00
Loren J. Rittle
b86ee4a56d howto.html: Update link.
* docs/html/17_intro/howto.html: Update link.
	* docs/html/23_containers/howto.html: Likewise.  Add new link.

From-SVN: r42703
2001-05-30 08:30:04 +00:00
GCC Administrator
8df506da01 Daily bump.
From-SVN: r42701
2001-05-30 07:16:19 +00:00
Stan Shebs
08a8c4f938 * gcc.texi: Add links for information about Objective-C.
From-SVN: r42696
2001-05-30 00:50:42 +00:00
Tom Tromey
70cb702a96 * include/jvm.h (_Jv_ThrowNoMemory): Mark as noreturn.
From-SVN: r42694
2001-05-29 22:18:41 +00:00
Tom Tromey
eb019738e2 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Only add multilib support code if we just rebuilt
	top-level Makefile.

From-SVN: r42693
2001-05-29 21:31:23 +00:00
Jeffrey Oldham
7dd0ff2b34 20010518-2.x: New file to compile, not assemble.
2001-05-29  Jeffrey Oldham  <oldham@codesourcery.com>

        * gcc.c-torture/compile/20010518-2.x: New file to compile, not
        assemble.

From-SVN: r42692
2001-05-29 18:59:47 +00:00
Andrew Haley
c9bffcd53e i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame pointer...
2001-05-29  Andrew Haley  <aph@redhat.com>

        * include/i386-signal.h (MAKE_THROW_FRAME): Don't fix up frame
        pointer: the dwarf unwinder in libgcc will do everything that's
        needed.
        (HANDLE_DIVIDE_OVERFLOW): Tidy.  Don't mess with stack frames any
        more than we absolutely need to.
        * configure.host (EXCEPTIONSPEC): Remove libgcj_sjlj on Alpha.
        * configure.in (SIGNAL_HANDLER): Use include/dwarf2-signal.h on
        Alpha.
        (SIGNAL_HANDLER): Test "$enable_sjlj_exceptions", not
        "$libgcj_sjlj".
        * configure: Rebuilt.
        * include/dwarf2-signal.h (MAKE_THROW_FRAME): Adjust PC
        for Alpha.
        (SIGNAL_HANDLER): Use siginfo style handler.
        (INIT_SEGV): Likewise.
        (INIT_FPE): Likewise.
        * include/ppc-signal.h: Delete whole file.

From-SVN: r42691
2001-05-29 17:50:50 +00:00
Nathan Sidwell
022dae817d configure.in (gcc_version): Remove unrequired \ on ".
* configure.in (gcc_version): Remove unrequired \ on ". (Solaris
	/bin/sed fails on [^\"]).
	(configargs.h): Likewise.

From-SVN: r42689
2001-05-29 15:16:24 +00:00
Hartmut Schirmer
371ac11766 * config/sh/sh.h (IDENT_ASM_OP): End with TAB, not LF.
From-SVN: r42688
2001-05-29 10:44:01 +00:00
GCC Administrator
9c279e50f9 Daily bump.
From-SVN: r42685
2001-05-29 07:17:13 +00:00
Stan Shebs
9b46c344b1 * objc/objc.gperf: Remove, no longer used.
From-SVN: r42683
2001-05-28 23:56:18 +00:00
Simon Patarin
55fce0ebc7 ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++ shared libraries when using g++ with native linker.
* ltcf-cxx.sh (osf3/osf4/osf5): Support creation of C++  shared
libraries when using g++ with native linker.

From-SVN: r42680
2001-05-28 21:03:21 +00:00
Joseph Myers
ebb48a4de6 c-tree.texi, [...]: Remove trailing whitespace.
* c-tree.texi, contrib.texi, cpp.texi, extend.texi, gcc.texi,
	gcov.texi, install.texi, md.texi, objc.texi, rtl.texi, tm.texi:
	Remove trailing whitespace.

From-SVN: r42678
2001-05-28 21:57:50 +01:00
Alexandre Oliva
5f7de4b812 * ltconfig, ltmain.sh: Upgrade to libtool 1.4a 1.641.2.256.
From-SVN: r42677
2001-05-28 20:49:42 +00:00
H.J. Lu
20b142ccbc Fix the comment, it is propagate_one_insn, not propagate_on_insn.
From-SVN: r42675
2001-05-28 09:27:03 -07:00
Rainer Orth
26d8af0619 * contrib/test_summary (files): Sort before evaluating.
From-SVN: r42673
2001-05-28 15:50:29 +00:00
Gerald Pfeifer
3aa8219e0c install.texi (Specific): http://reality.sgi.com/ariel/freeware/ became http://freeware.sgi.com/.
* doc/install.texi (Specific): http://reality.sgi.com/ariel/freeware/
	became http://freeware.sgi.com/.

From-SVN: r42671
2001-05-28 07:55:13 +00:00
GCC Administrator
b85a97033c Daily bump.
From-SVN: r42669
2001-05-28 07:17:51 +00:00
Geoffrey Keating
49a1867065 local-alloc.c (update_equiv_regs): Don't eliminate constant expressions at -O0.
* local-alloc.c (update_equiv_regs): Don't eliminate constant
	expressions at -O0.

From-SVN: r42667
2001-05-28 02:21:28 +00:00
Stan Shebs
81d87bcc58 objc-act.c: Add/fix various comments.
* objc/objc-act.c: Add/fix various comments.
	(init_selector): Remove, no longer used.
	(build_msg_pool_reference): Ditto.
	(objc_debug): Ditto.

From-SVN: r42666
2001-05-28 01:01:10 +00:00
Neil Booth
84b7783609 c-decl.c (init_decl_processing): Don't call start_identifier_warnings.
* c-decl.c (init_decl_processing):
	 Don't call start_identifier_warnings.
	* flags.h (warn_id_clash, id_clash_len): Remove.
	* stringpool.c: Don't include flags.h.
	(scan_for_clashes, do_identifier_warnings,
	start_identifier_warnings): Remove.
	* toplev.c (warn_id_clash, id_clash_len): Remove.
	(display_help): Don't document -Wid-clash.
	(decode_W_option): Print warning on -Wid-clash.
	* tree.h (start_identifier_warnings): Remove.
	* invoke.texi: Remove documentation of -Wid-clash.

From-SVN: r42665
2001-05-27 21:04:28 +00:00
Bruce Korb
7b78a14a37 reorganize inclhacks and apply fix to fixtests.c
From-SVN: r42663
2001-05-27 18:21:04 +00:00
Neil Booth
f71aebba8e * cpplib.c (run_directive): Set pfile->directive.
From-SVN: r42661
2001-05-27 18:06:00 +00:00
Theodore Papadopoulo
df9149ee94 c-tree.texi: Reformat the manual as a single chapter now included by gcc.texi.
* c-tree.texi: Reformat the manual as a single chapter now
included by gcc.texi.
* gcc.texi: Include c-tree.texi. Merge all indexes.
* Makefile.in (dvi): Add generation for the cppinternals
documentation. Added dependencies on fdl.texi and c-tree.texi
where appropriate.  Use TEXI2DVI instead of custom tex calls.
(info): Added dependencies on fdl.texi and c-tree.texi where
appropriate.  Remove the target c-tree.info.

From-SVN: r42660
2001-05-27 13:09:47 -04:00
Theodore Papadopoulo
e250dd710f Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on fdl.texi.
* Make-lang.in ($(srcdir)/f/g77.info): Added dependencies on
fdl.texi.
(f/g77.dvi): Use TEXI2DVI instead of custom tex calls.  Create the
dvi file in the f directory.

From-SVN: r42659
2001-05-27 13:08:11 -04:00
Theodore Papadopoulo
eb153223fd Make-lang.in ($(srcdir)/java/gcj.info): Added dependencies on fdl.texi.
* Make-lang.in ($(srcdir)/java/gcj.info): Added dependencies on
fdl.texi.
(java/gcj.dvi): Use TEXI2DVI instead of custom tex calls.  Create
the dvi file in the java directory.

From-SVN: r42658
2001-05-27 13:07:48 -04:00
Theodore Papadopoulo
03856e1670 Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
* Make-lang.in (dvi): Use ch/chill.dvi not chill.dvi.
(ch/chill.dvi): Use TEXI2DVI instead of custom tex calls.  Create
the dvi file in the ch directory.

From-SVN: r42657
2001-05-27 13:07:17 -04:00
Lars Brinkhoff
04956a1a78 combine.c (try_combine): Fix typo in comment.
* combine.c (try_combine): Fix typo in comment.
	* expr.c (expand_expr): Likewise.
	* config/i370/i370.md (untyped_call): Likewise.

From-SVN: r42655
2001-05-27 10:35:09 +00:00
GCC Administrator
a0f51704d1 Daily bump.
From-SVN: r42652
2001-05-27 07:16:09 +00:00
Nathan Sidwell
87d9ac4914 re PR c++/2823 (kde2/artsd miscompilation (part 1))
cp:
	PR g++/2823
	* semantics.c (expand_body): Don't optimize thunks.
testsuite:
	* g++.old-deja/g++.other/optimize2.C: New file.

From-SVN: r42650
2001-05-26 19:20:06 +00:00
Zack Weinberg
3d04c7c664 * configure: Remove obsolete file.
From-SVN: r42644
2001-05-26 18:36:28 +00:00
Bruce Korb
935e0a4778 regenerate
From-SVN: r42643
2001-05-26 18:27:00 +00:00
Bruce Korb
11e2040a34 fixtests.c (stdc_0_in_system_headers_test): Must return "FIX" when fixincl is operating in test mode
* fixinc/fixtests.c(stdc_0_in_system_headers_test): Must return "FIX"
	when fixincl is operating in test mode
	* fixinc/inclhack.def(AAB_dgux_int_varargs) : aesthetics
	(AAB_ultrix_limits): remove redundant text
	(AAB_ultrix_memory): ditto
	(AAB_ultrix_string): ditto
	(djgpp_wchar_h): fix the test text
	(irix_stdio_va_list): add test text
	(irix_limits_const): add a testing output file (limits.h is overwritten)
	(strict_ansi_not_ctd): put limits.h second in list for same reason
	(solaris27_mutex_init): test text needed selection text, too

	* fixinc/fixtests.c(stdc_0_in_system_headers_test): in testing mode,
	always apply the fix

From-SVN: r42642
2001-05-26 18:26:29 +00:00