Commit Graph

31734 Commits

Author SHA1 Message Date
Richard Henderson ea88c0f77e ctype_inline.h (is): Fix order of expressions.
2000-11-22  Richard Henderson  <rth@redhat.com>

	* config/os/bsd/bits/ctype_inline.h (is): Fix order of expressions.

From-SVN: r37681
2000-11-23 03:03:33 +00:00
J"orn Rennecke 9196ece5c2 gcc toplevel:
* Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
	(rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
	(alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
	(splay-tree.o, hash.o): Likewise.
	GCONFIG_H: New.
	(rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
	(bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
	(hashtab.o): Likewise.
	(gcov.o): Depend on $(CONFIG_H).
	* configure.in: #include insn-codes.h in tm.h.

	f:

	* Make-lang.in (g77spec.o): Depend on $(CONFIG_H).

	java:

	* Make-lang.in (jvspec.o): Depend on $(CONFIG_H).

	cp:

	* Make-lang.in (g++spec.o, cxxmain.o): Depend on $(CONFIG_H).

From-SVN: r37680
2000-11-23 02:22:03 +00:00
H.J. Lu 3b3bd9a786 * cplus-dem.c (main): Handle gnat_demangling.
From-SVN: r37679
2000-11-22 23:57:50 +00:00
Mark Mitchell 6e1b44bce7 mangle.c (mangle_conv_op_name_for_type): Don't use `__op' prefix.
* mangle.c (mangle_conv_op_name_for_type): Don't use `__op'
	prefix.

From-SVN: r37678
2000-11-22 23:53:03 +00:00
Nick Clifton dc60a41bed Fix typo
From-SVN: r37677
2000-11-22 23:30:37 +00:00
Mark Mitchell a862e95888 decl4.C: Tweak so that it fails with the new ABI, too.
* g++.old-deja/g++.other/decl4.C: Tweak so that it fails with the
	new ABI, too.

From-SVN: r37676
2000-11-22 23:24:43 +00:00
Phil Edwards c361fee040 porting.texi: Minor tweaks to vocabulary.
2000-11-22  Phil Edwards  <pme@sources.redhat.com>

	* porting.texi:  Minor tweaks to vocabulary.

From-SVN: r37675
2000-11-22 23:23:53 +00:00
Mark Mitchell 71ca6fe964 p6610a.C: This test no longer fails.
* g++.old-deja/g++.mike/p6610a.C: This test no longer fails.
	* g++.old-deja/g++.robertl/eb55.C: Likewise.

From-SVN: r37674
2000-11-22 23:10:04 +00:00
Mark Mitchell cac78ea281 pt.c (do_decl_instantiate): Explicitly clone constructors and destructors that haven't already been cloned.
* pt.c (do_decl_instantiate): Explicitly clone constructors and
	destructors that haven't already been cloned.

From-SVN: r37673
2000-11-22 22:43:49 +00:00
Nick Clifton 57f56af4c5 Make 'newstr' a const char * to avoid a compile time warning.
From-SVN: r37672
2000-11-22 20:51:18 +00:00
Nick Clifton 48a08b9cab Define symbolic names for the link register, last integer register and the fake CC register.
Define symbolic names for the link register, last integer register and the
fake CC register.  Update patterns to use these symbolic names.

From-SVN: r37671
2000-11-22 20:46:40 +00:00
Neil Booth a16f893b63 * gcc.gd/cpp/Wtrigraphs.c: New test.
From-SVN: r37670
2000-11-22 20:37:44 +00:00
Neil Booth 4a5b68a2f7 cpplex.c (trigraph_ok): Ensure we don't warn twice.
* cpplex.c (trigraph_ok): Ensure we don't warn twice.
	* cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.

From-SVN: r37669
2000-11-22 20:36:10 +00:00
Richard Henderson a165f034f9 haifa-sched.c (sched_analyze_1): Don't special-case calls for clobbering registers.
* haifa-sched.c (sched_analyze_1): Don't special-case calls
        for clobbering registers.
        (sched_analyze_2): Likewise.
        (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.

From-SVN: r37668
2000-11-22 11:22:58 -08:00
Neil Booth 10ebf5fe40 gcc.c (validate_switches): Validate multiple switches named in '|' (or) expressions in specs.
* gcc.c (validate_switches): Validate multiple switches named
        in '|' (or) expressions in specs.
        (handle_braces): If more than 1 alternative in a '|' spec
        matches, call do_spec1 just once.

From-SVN: r37667
2000-11-22 19:17:14 +00:00
Mark Mitchell 4f3d0af4a4 Compensate for V3 changes
From-SVN: r37666
2000-11-22 19:05:42 +00:00
Joern Rennecke 9f6709e04b Add blank lines between function comment and function return type.
From-SVN: r37665
2000-11-22 18:50:41 +00:00
Joern Rennecke 1c32dd2b28 Comment typo fix.
From-SVN: r37664
2000-11-22 18:49:02 +00:00
Loren J. Rittle 7686cadfb2 ltcf-cxx.sh: Support creation of C++ shared libraries on recent versions of FreeBSD (release...
2000-11-22  Loren J. Rittle  <ljrittle@acm.org>

        * ltcf-cxx.sh: Support creation of C++ shared libraries on
        recent versions of FreeBSD (release 3 or later).
        * ltconfig: On FreeBSD, -lc must not be provided when building
        a shared library or else the standard -pthread gcc option is
        rendered worthless to later users of the built library.

From-SVN: r37663
2000-11-22 18:31:25 +00:00
Loren J. Rittle b60585a03c eb39.C: Don't include libio.h.
2000-11-22  Loren J. Rittle  <ljrittle@acm.org>

        * g++.old-deja/g++.robertl/eb39.C: Don't include libio.h.

From-SVN: r37662
2000-11-22 18:16:29 +00:00
Michael Meissner fb0b2546c2 Paper over problem with -frename-registers; Provide help for options
From-SVN: r37661
2000-11-22 18:07:05 +00:00
Loren J. Rittle 5789a524a6 strstream.h: Reinstate the `using' statements.
2000-11-22  Loren J. Rittle  <ljrittle@acm.org>

        * include/backward/strstream.h: Reinstate the `using'
        statements.

From-SVN: r37660
2000-11-22 18:06:53 +00:00
Loren J. Rittle eed86de8ac Makefile.am (base_headers): Add missing backwards headers.
2000-11-22  Loren J. Rittle  <ljrittle@acm.org>

	* src/Makefile.am (base_headers): Add missing backwards headers.
	* src/Makefile.in: Regenerate.

From-SVN: r37659
2000-11-22 17:55:06 +00:00
Scott Snyder 88628656c4 c_io_stdio.cc (seekoff): Fix return value.
2000-11-21  scott snyder  <snyder@fnal.gov>

        * config/c_io_stdio.cc (seekoff): Fix return value.
        (seekpos): Likewise.
        (sys_seek): Likewise.

From-SVN: r37658
2000-11-22 17:41:48 +00:00
Jakub Jelinek e5a7acddf6 * gcc.c-torture/execute/ieee/20001122-1.c: New test.
From-SVN: r37657
2000-11-22 17:37:24 +01:00
David Billinghurst ed5db764d5 * Make-lang.in: Add $(build_exeext) to f/fini target
From-SVN: r37656
2000-11-22 07:31:56 -07:00
Fred Fish fff016992c configure.in (enable_libstdcxx_v3): Fix typo, libstd++ -> libstdc++.
2000-11-16  Fred Fish  <fnf@be.com>

	* configure.in (enable_libstdcxx_v3): Fix typo,
	libstd++ -> libstdc++.

From-SVN: r37655
2000-11-22 07:27:56 -07:00
Jeffrey A Law 67d6f2fc4a pa.c (hppa_encode_label): Account for addition of encoding character when...
* pa.c (hppa_encode_label): Account for addition of encoding
        character when allocating persistent space for the new label
        name.

From-SVN: r37654
2000-11-22 06:40:53 -07:00
Gerald Pfeifer d9ddcc6a21 * gcc_update: Update a comment as we now require bison for CVS users.
From-SVN: r37653
2000-11-22 13:11:44 +00:00
Bryce McKinlay 79af883cd4 Makefile.in: Rebuilt.
2000-11-22  Bryce McKinlay  <bryce@albatross.co.nz>

	* Makefile.in: Rebuilt.
	* Makefile.am (core_java_source_files): Added Collections.java.
	* java/util/List.java: Merged from classpath.
	* java/util/Vector.java: Ditto.
	* java/util/Collections.java: From classpath.
	* java/util/ArrayList.java (addAll(Collection)): Call
	addAll(int,Collection) instead of duplicating code.
	(indexOf): Clean up int initialization.
	(clear): Set cleared array entries to null, to allow garbage
	collection.
	* java/util/List.java: Minor formatting fixes.
	* java/util/SimpleTimeZone.java: ditto.

From-SVN: r37652
2000-11-22 11:59:59 +00:00
Jeff Law e9905e2d9d Daily bump.
From-SVN: r37651
2000-11-22 01:45:07 -07:00
Zack Weinberg d1209685fa Makefile.in, [...]: Expunge remaining traces of facility for running MD files through C preprocessor.
gcc:
        * Makefile.in, config.gcc, configure.in: Expunge remaining
        traces of facility for running MD files through C preprocessor.

libiberty:
        * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
        (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
        * configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
        argument form of AC_DEFINE in dummy definitions block.  Use
        AC_DEFINE_NOAUTOHEADER for real definitions of things defined
        in dummy block.  Preload cache variables instead of bypassing
        tests, where possible.
        * acconfig.h: Removed.

        * xmalloc.c (xmalloc_failed): New function, does error
        reporting on failed allocation.
        (xmalloc, xcalloc, xrealloc): Use it.
        * libiberty.h: Move #includes to top.  Prototype xmalloc_failed.

From-SVN: r37650
2000-11-22 08:32:26 +00:00
Joseph Myers c01a508e4e gcov.texi: Add magic comments for texi2pod.pl.
gcc:
	* gcov.texi: Add magic comments for texi2pod.pl.
	* Makefile.in: Add rules to generate and install gcov.1.
	* gcov.1: New (generated) file.

contrib:
	* gcc_update: Add gcov.1 to the list of generated files.

From-SVN: r37649
2000-11-22 08:29:32 +00:00
Scott Snyder b32a46c30c c_io_stdio.cc (seekoff): Fix return value.
2000-11-21  scott snyder  <snyder@fnal.gov>

        * config/c_io_stdio.cc (seekoff): Fix return value.
        (seekpos): Likewise.
        (sys_seek): Likewise.

From-SVN: r37648
2000-11-22 06:37:34 +00:00
Loren J. Rittle d37db09b0d mkcheck.in (explanation): Retain output of all failing compiles.
2000-11-21  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in (explanation): Retain output of all failing
        compiles.  Don't add gratuitous space to the log file.

From-SVN: r37647
2000-11-22 06:37:14 +00:00
Bryce McKinlay c385cdf6a8 jcf-parse.c (get_constant): Call UT8_CHAR_LENGTH on `utf8', not the scratch buffer.
2000-11-22  Bryce McKinlay  <bryce@albatross.co.nz>

	* jcf-parse.c (get_constant): Call UT8_CHAR_LENGTH on `utf8', not the
	scratch buffer.

From-SVN: r37646
2000-11-22 05:47:26 +00:00
Alexandre Petit-Bianco ee5f86dcd7 [multiple changes]
2000-10-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

	* parse.y (outer_field_access_p): Inherited fields aren't
	consider outer fields.
	(maybe_build_thisn_access_method): Use
	PURE_INNER_CLASS_TYPE_P instead of INNER_CLASS_TYPE_P.
	(resolve_expression_name): Trigger an error if a static field
	is being accessed as an outer field.

2000-10-24  Alexandre Petit-Bianco  <apbianco@cygnus.com>

       * parse.h (INNER_ENCLOSING_SCOPE_CHECK): Check inherited type in
       scope.

(http://gcc.gnu.org/ml/gcc-patches/2000-11/msg01217.html)

From-SVN: r37645
2000-11-21 21:25:15 -08:00
Richard Henderson a125d8555a regrename.c (scan_rtx_reg): Terminate the chain rather than abort on mark_read with NO_REGS.
* regrename.c (scan_rtx_reg): Terminate the chain rather than
        abort on mark_read with NO_REGS.

From-SVN: r37644
2000-11-21 19:19:34 -08:00
Kriang Lerdsuwanakij 4dc1635549 * MAINTAINERS: Add self to Write After Approval list.
From-SVN: r37643
2000-11-22 02:45:51 +00:00
Mike Stump ed3114070d fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow compilation with older compilers, such as /bin/cc on SunOS.
* fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
	compilation with older compilers, such as /bin/cc on SunOS.
	* fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
Fix build errors on SunOS 4.1.4.

From-SVN: r37642
2000-11-22 02:34:18 +00:00
Mike Stump 271fd958bb fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow compilation with older compilers, such as /bin/cc on SunOS.
* fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
	compilation with older compilers, such as /bin/cc on SunOS.
	* fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
Fix one problem with bootstrap on SunOS 4.1.4 system.

From-SVN: r37641
2000-11-22 02:23:40 +00:00
Loren J. Rittle 19322a5c41 mkcheck.in (explanation): Retain output of all failing compiles.
2000-11-21  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in (explanation): Retain output of all failing
        compiles.  Don't add gratuitous space to the log file.

From-SVN: r37640
2000-11-22 02:19:07 +00:00
Loren J. Rittle 5388a89aac mkcheck.in (explanation): Retain output of all failing compiles.
2000-11-21  Loren J. Rittle  <ljrittle@acm.org>

        * mkcheck.in (explanation): Retain output of all failing
        compiles.  Don't add gratuitous space to the log file.

From-SVN: r37639
2000-11-22 02:15:49 +00:00
Richard Henderson cac16ef9da varasm.c (record_constant): Pad the constructed constant_descriptor appropriately.
* varasm.c (record_constant): Pad the constructed
        constant_descriptor appropriately.

From-SVN: r37638
2000-11-21 17:52:14 -08:00
Hans-Peter Nilsson 033b8a0cdb Fix typo in scan-assembler-dem-not
From-SVN: r37637
2000-11-22 01:50:15 +00:00
Hans-Peter Nilsson d93415c9e0 gcc-dg.exp: load_lib scanasm.exp.
* lib/gcc-dg.exp: load_lib scanasm.exp.
	(scan-assembler, scan-assembler-not): Break out to scanasm.exp.
	* lib/g++-dg.exp: load_lib scanasm.exp.
	* lib/scanasm.exp: New.
	(scan-assembler, scan-assembler-not): Add optional arguments to
	test name, or if not present, the pattern name.
	(scan-assembler-dem, scan-assembler-demnot): New.

	* g++.dg/dg.exp: New.

From-SVN: r37636
2000-11-22 01:40:49 +00:00
J"orn Rennecke c25c12b8aa rtl.h (traverse_md_constants): Declare.
* rtl.h (traverse_md_constants): Declare.
	(struct md_constant): Define.
	* Makefile.in (HOST_RTL): Add hashtab.o .
	(OBJS): Add hashtab.o .
	(hashtab.o): New rule.
	(rtl.o): Depends on HASHTAB_H.
	* rtl.c (hashtab.h): #include.
	(md_constants): New static variable.
	(def_hash, def_name_eq_p, read_constants): New static functions.
	(traverse_md_constants): New function.
	(read_name): Do constant expansion.
	(read_rtx): Recognize define_constants.
	* gencodes.c (print_md_constant): New function.
	(main): Emit #defines for all constant definitions encountered.
	* md.texi (Constant Definitions): New node.
	* gensupport.c (xcalloc): New function.

From-SVN: r37635
2000-11-22 01:22:02 +00:00
Richard Henderson f940c352de alpha.c (alpha_split_tfmode_frobsign): New.
* config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
        * config/alpha/alpha-protos.h: Declare it.
        * config/alpha/alpha.md (abstf_internal): Use it.
        (negtf_internal): Likewise.
        (andnotdi3): Unstar the name.
        (movtf_internal): Add o/G alternative.

From-SVN: r37634
2000-11-21 16:59:12 -08:00
Zack Weinberg dfc5597093 stringpool.c (stringpool_statistics): Also report number and percentage of entries which are identifiers.
* stringpool.c (stringpool_statistics): Also report number and
	percentage of entries which are identifiers.

From-SVN: r37633
2000-11-22 00:18:18 +00:00
Benjamin Kosnik 5feb272b7a strstream.cc: Adjust includes.
2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* src/strstream.cc: Adjust includes.
	* src/Makefile.am (base_headers): Remove std_strstream.h, add
	backwards/strstream.h.
	(std_headers): Remove strstream.
	* src/Makefile.in: Regenerate.
	* libsupc++/Makefile.am (headers): Remove new.h
	* libsupc++/Makefile.in: Regenerate.
	* include/std/strstream: Remove.
	* include/backward/strstream.h: Replace with...
	* include/bits/std_strstream.h: ...this. Move.
	* include/backward/complex.h: Remove SGIisms.
	* include/backward/streambuf.h: Same.
	* include/backward/stream.h: Same.
	* include/backward/ostream.h: Same.
	* include/backward/istream.h: Same.
	* include/backward/iostream.h: Same.
	* include/backward/iomanip.h: Same.
	* include/backward/fstream.h: Same.
	* libsupc++/new.h: Add using declarations for bad_alloc,
	nothrow_t, and nothrow, move to ...
	* include/backward/new.h: ...here.

From-SVN: r37632
2000-11-22 00:05:16 +00:00