Commit Graph

31702 Commits

Author SHA1 Message Date
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
Richard Henderson a5ccb99da9 New test.
From-SVN: r37611
2000-11-21 01:09:45 -08:00
Jeff Law 325dd7fd88 Daily bump.
From-SVN: r37610
2000-11-21 01:45:08 -07:00
Ovidiu Predescu fa1996f36e Added.
From-SVN: r37609
2000-11-21 08:32:12 +00:00
Neil Booth 51073b1c46 New test.
From-SVN: r37608
2000-11-20 23:41:32 -08:00
Richard Henderson 3aac38d70c parse.y (yyparse_1): Rename the parser entry point.
* cp/parse.y (yyparse_1): Rename the parser entry point.

        * c-lex.c (orig_filename): New variable.
        (init_c_lex): Set it.  Move call to cpp_start_read ...
        (yyparse): ... here.  New function.
        * c-parse.in (yyparse_1): Rename the parser entry point.
        * c-tree.h: Declare it.

From-SVN: r37607
2000-11-20 23:39:52 -08:00
Benjamin Kosnik 66bc5940f1 mkcheck.in (explanation): Don't paste output of passing compiles into log file.
2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>

	* mkcheck.in (explanation): Don't paste output of passing compiles
	into log file. Use -static. Get version info.

	* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.

From-SVN: r37606
2000-11-21 07:32:03 +00:00
Jakub Jelinek 6b16805ede expr.c (do_compare_and_jump): If op0 was replaced by promoted integer constant, use type of op1 for comparison.
* expr.c (do_compare_and_jump): If op0 was replaced by promoted
	integer constant, use type of op1 for comparison.

	* g++.old-deja/g++.other/inline17.C: New test.

From-SVN: r37605
2000-11-21 07:55:42 +01:00
Benjamin Kosnik cd9c4fee8e mkcheck.in (explanation): Don't paste output of passing compiles into log file.
2000-11-20  Benjamin Kosnik  <bkoz@redhat.com>

	* mkcheck.in (explanation): Don't paste output of passing compiles
	into log file.

	* testsuite/23_containers/vector_ctor.cc (test02): Fix thinko.

From-SVN: r37604
2000-11-21 06:17:15 +00:00
Alex Samuel beac9b932c mangle.c (write_name): Use <unscoped-name> for names directly in function scope.
* mangle.c (write_name): Use <unscoped-name> for names directly in
	function scope.
	(write_unscoped_name): Accept names directly in function scope.

From-SVN: r37603
2000-11-21 04:38:08 +00:00
Stan Shebs 5d81021ea1 * POTFILES.in: Add config/rs6000/xm-darwin.h.
From-SVN: r37602
2000-11-21 03:04:44 +00:00
Stan Shebs 18922061f5 xm-darwin.h: New file, Darwin host definitions.
* config/rs6000/xm-darwin.h: New file, Darwin host definitions.
        * config/rs6000/x-darwin: New file, Darwin host fragment.
        * config.gcc (powerpc-*-darwin*): New host.
        * system.h (HAVE_DESIGNATED_INITIALIZERS):  Allow this to be
        overridden by a config file.

From-SVN: r37601
2000-11-21 03:02:09 +00:00
Gabriel Dos Reis b555ebaa9e std_complex.h (complex<double>): Constructor complex<double>::complex(const complex<float>&) is not explicit...
2000-11-21  Gabriel Dos Reis  <gdr@codesourcery.com>

	* include/bits/std_complex.h (complex<double>): Constructor
	complex<double>::complex(const complex<float>&) is not explicit;
	since it is a promotion.
	(complex<long double>): Constructors taking complex<float> and
	complex<double> are not explicit.

From-SVN: r37599
2000-11-21 00:08:02 +00:00