Commit Graph

31714 Commits

Author SHA1 Message Date
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
Benjamin Kosnik
63e749a813 strstream.h: Replace with...
2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* 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: r37631
2000-11-21 23:44:50 +00:00
Mark Mitchell
f45d23308a * porting.texi: New file.
From-SVN: r37630
2000-11-21 22:59:13 +00:00
Neil Booth
0736a307e3 * Put changelog in wrong ChangeLog.
From-SVN: r37629
2000-11-21 22:54:57 +00:00
Branko Cibej
b6bcb20e17 os_defines.h: Define _XOPEN_SOURCE...
2000-11-21  Branko Cibej  <brankoe@xbc.nu>

        * config/os/solaris/solaris2.6/bits/os_defines.h: Define
        _XOPEN_SOURCE, _LARGEFILE64_SOURCE, __EXTENSIONS__, __off_t,
        __off64_t and __ssize_t.
	* config/os/solaris/solaris2.5/bits/os_defines.h: For now, use the
	same configuration as above.

From-SVN: r37628
2000-11-21 21:58:28 +00:00
Diego Novillo
d1cc928a7b gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as visited before visiting it.
2000-11-21  Diego Novillo  <dnovillo@redhat.com>

	* gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
	visited before visiting it.

From-SVN: r37627
2000-11-21 16:00:20 -05:00
Benjamin Kosnik
819004bbd0 acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
2000-11-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* acinclude.m4 (AC_LC_MESSAGES): Check for locale.h.
	* aclocal.m4: Regenerate.
	* configure: Renerate.

From-SVN: r37626
2000-11-21 20:53:36 +00:00
Nick Clifton
70f24e495c Allow ARM configurations with --with-cpu=arm9 or --with-cpu=arm9tdmi or...
Allow ARM configurations with --with-cpu=arm9 or --with-cpu=arm9tdmi or
--with-cpu=strongarm110 or --with-cpu=strongarm1100

From-SVN: r37625
2000-11-21 19:34:14 +00:00
Mark Mitchell
c132c0e3c7 * gcc_build: Remove code to put information in a log file.
From-SVN: r37624
2000-11-21 19:16:45 +00:00
Richard Henderson
3fe30ff6f7 c-common.c (c_unsafe_for_reeval): New function.
* c-common.c (c_unsafe_for_reeval): New function.
        (add_c_tree_codes): Register it.
        * c-common.h: Declare it.
        * tree.c (lang_unsafe_for_reeval): New hook.
        (unsafe_for_reeval): Call it.
        * tree.h: Declare it.

From-SVN: r37623
2000-11-21 11:09:38 -08:00
Richard Henderson
3adbce3d89 i386.c (i386_simplify_dwarf_addr): Simplify @GOT references as well.
* config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
        references as well.

From-SVN: r37622
2000-11-21 11:05:59 -08:00
Neil Booth
65aa827646 * gcc.dg/cpp/integrated1.c: Remove.
From-SVN: r37621
2000-11-21 18:30:13 +00:00
Neil Booth
3fc786a446 * do_includes: Revert to using cpp_read_file.
From-SVN: r37620
2000-11-21 18:27:49 +00:00
Bernd Schmidt
847dde9555 Fix consec_sets_giv bug.
From-SVN: r37619
2000-11-21 18:24:42 +00:00
Jakub Jelinek
ce79b0cace * gcc.c-torture/execute/20001121-1.c: New test.
From-SVN: r37618
2000-11-21 18:32:08 +01:00
Bernd Schmidt
52e12ad06f More accurate insn class attributes
From-SVN: r37617
2000-11-21 17:29:49 +00:00
Kaveh R. Ghazi
b3e2d1eb53 tradcpp.c (output_line_command): Mark system headers as such in `line' commands.
* tradcpp.c (output_line_command): Mark system headers as such in
	`line' commands.

From-SVN: r37616
2000-11-21 15:55:08 +00:00
Jakub Jelinek
0faf814fba configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc support in as as well.
* configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
	support in as as well.
	* configure: Regenerate.

From-SVN: r37615
2000-11-21 13:50:52 +01:00
Bernd Schmidt
bf6fc7b255 Update my entries in the MAINTAINERS file.
From-SVN: r37614
2000-11-21 11:40:05 +00:00
Andreas Jaeger
cfe83a543f g77.texi (Floating-point Exception Handling): Use feenableexcept in example.
* g77.texi (Floating-point Exception Handling): Use feenableexcept
	in example.
	(Floating-point precision): Change to match above change.

From-SVN: r37613
2000-11-21 12:12:22 +01:00
Hans-Peter Nilsson
cf183ac2bd cplus-dem.c (cplus_demangle): Fix formatting.
* cplus-dem.c (cplus_demangle): Fix formatting.
	(grow_vect): Ditto.
	(ada_demangle): Ditto.
	(internal_cplus_demangle): Ditto.
	(mop_up): Ditto.

	* cplus-dem.c (main): Handle java_demangling.

From-SVN: r37612
2000-11-21 10:47:30 +00:00