Commit Graph

35825 Commits

Author SHA1 Message Date
Joseph Myers
c50174e729 * doc/gcov.texi: Use more logical markup.
From-SVN: r43253
2001-06-12 12:00:29 +01:00
Jan Hubicka
17d6c819b2 * analyze_brprob: New file.
From-SVN: r43252
2001-06-12 10:39:42 +00:00
Jan Hubicka
aa18f20e74 loop.c: Include predict.h
* loop.c: Include predict.h
	(strength_reduce): Drop branch prediction note in case
	number of iterations is known.
	* predict.def (PRED_LOOP_ITERATIONS): new.
	* Makefile.in (loop.o): Add dependancy on predict.h

From-SVN: r43251
2001-06-12 10:22:22 +00:00
Nathan Sidwell
7bdcf888aa re PR c++/3089 (ICE in dfs_accumulate_vtbl_inits)
cp:
	PR c++/3089
	* class.c (dfs_accumulate_vtbl_inits): Always walk down the
	hierarchy looking for primary bases for a ctor
	vtable. Recursively call oneself, if we meet our primary via
	this route and haven't met it yet via inheritance graph order.
testsuite:
	* g++.old-deja/g++.abi/vbase4.C: New test.

From-SVN: r43248
2001-06-12 08:47:48 +00:00
GCC Administrator
5a2dd36ccd Daily bump.
From-SVN: r43246
2001-06-12 07:16:10 +00:00
Loren J. Rittle
a4c03da24b Add GNATS ID.
From-SVN: r43244
2001-06-12 05:08:23 +00:00
Loren J. Rittle
473c2d0bcb strerror.c (sys_nerr): Hide the OS header version.
* strerror.c (sys_nerr): Hide the OS header version.
	* strsignal.c (sys_nsig): Likewise.

From-SVN: r43242
2001-06-12 05:04:42 +00:00
Mark Mitchell
b59a386b2e unroll.c (initial_reg_note_copy): Use PUT_REG_NOTE_KIND and REG_NOTE_KIND, not PUT_MODE and GET_MODE.
* unroll.c (initial_reg_note_copy): Use PUT_REG_NOTE_KIND and
	REG_NOTE_KIND, not PUT_MODE and GET_MODE.
	(final_reg_note_copy): Remove REG_WAS_0 notes that are no longer
	valid.

From-SVN: r43241
2001-06-12 04:42:46 +00:00
Benjamin Kosnik
3b0fd4bcdb basic_string.h (string::compare): Adjust signatures as per DR 5.
2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3126
	* include/bits/basic_string.h (string::compare): Adjust signatures
	as per DR 5.
	* include/bits/basic_string.tcc: And here.

	libstdc++/2346
	* config/c_io_stdio.h: Remove whitespace.
	* testsuite/27_io/istream_seeks.cc (test03): Add regression.
	(test02): Add regression.
	* testsuite/27_io/istream_seeks-3.tst: New file.

From-SVN: r43240
2001-06-12 02:30:37 +00:00
Stan Shebs
9dffe3b49e * darwin.h (ASM_FILE_END): Remove decl of language_string.
From-SVN: r43238
2001-06-12 00:27:31 +00:00
Zack Weinberg
6137abd318 POTFILES.in: Comment out config/float-*.
* POTFILES.in: Comment out config/float-*.
	No need to regenerate gcc.pot.

From-SVN: r43237
2001-06-11 23:00:39 +00:00
Stephane Carrez
b05d820141 920501-8.x: New file, sprintf() does not support %f for HC11/HC12 targets.
* gcc.c-torture/execute/920501-8.x: New file, sprintf() does not
	support %f for HC11/HC12 targets.
	* gcc.c-torture/execute/930513-1.x: New file, likewise.
	* gcc.c-torture/execute/980709-1.x: New file, pow() is not available
	on HC11/HC12 targets.
	* gcc.c-torture/execute/990826-0.x: New file, likewise for floor().

From-SVN: r43233
2001-06-12 00:26:58 +02:00
Stephane Carrez
c6af4c2e6c m68hc11.md ("*lshrdi3_const32"): Mark the clobber as an early clobber to make sure it is not used by reload in...
* config/m68hc11/m68hc11.md ("*lshrdi3_const32"): Mark the clobber
	as an early clobber to make sure it is not used by reload in
	one of the operands.

From-SVN: r43231
2001-06-12 00:11:02 +02:00
Zack Weinberg
e8c443781f gcc.pot: Regenerate, again.
* gcc.pot: Regenerate, again.  You go away for five minutes
	and someone tweaks the messages on you.
	* cat-id-tbl.c: Regenerate this too.

From-SVN: r43230
2001-06-11 22:05:04 +00:00
Zack Weinberg
9e62008227 Makefile.in.in: Take --defines switch off of xgettext command line.
* Makefile.in.in: Take --defines switch off of xgettext
	command line.
	* POTFILES.in: Massive update, removing all dead files and
	adding approximately 300 files which had been left out.
	Clarify comments on what should and should not appear here.

	* gcc.pot: Regenerate.

From-SVN: r43228
2001-06-11 21:50:54 +00:00
Daniel Berlin
4f5d646cce MAINTAINERS (Write After Approval): Add myself.
2001-06-11  Daniel Berlin  <dan@cgsoftware.com>

	* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r43227
2001-06-11 21:49:05 +00:00
Mark Mitchell
25b5b4657b c-tree.texi: Update information about flag_honor_std.
* doc/c-tree.texi: Update information about flag_honor_std.
	* doc/install.texi: Note that binutils is required on HPUX 11.
	* doc/invoke.texi (-fhonor-std): Note that -fno-honor-std is
	now the default.

	* config/mips/abi64.h (RETURN_IN_MEMORY): Fix handling of
	variable-sized types.

	* lang-options.h: Emit documentation for -fno-honor-std, not
	-fhonor-std.

From-SVN: r43226
2001-06-11 21:29:39 +00:00
Loren J. Rittle
c94cfc8b23 Add bug ID.
From-SVN: r43223
2001-06-11 21:18:44 +00:00
Mark Mitchell
72e0bae59f gcc_build: Output information about the commands used to configure the compiler.
* gcc_build: Output information about the commands used to
	configure the compiler.

From-SVN: r43222
2001-06-11 21:13:36 +00:00
Joseph Myers
d7d9c429a5 * doc/md.texi: Use TeX dashes and quotes.
From-SVN: r43219
2001-06-11 21:52:30 +01:00
Joseph Myers
49a4e827eb * doc/rtl.texi: Reference manual chapter about trees.
From-SVN: r43217
2001-06-11 21:47:35 +01:00
Rainer Orth
55f61a5602 iris6.h (NO_BUILTIN_WINT_TYPE): Define.
* config/mips/iris6.h (NO_BUILTIN_WINT_TYPE): Define.
	(WINT_TYPE): Override.
	(WINT_TYPE_SIZE): Likewise.
	(SUBTARGET_CPP_SIZE_SPEC): Define __WINT_TYPE__ as appropriate.

	* config/sparc/sol2.h (WINT_TYPE): Define.
	(WINT_TYPE_SIZE): Likewise.

	* config/sparc/sol2-sld-64.h (NO_BUILTIN_WINT_TYPE): Define.
	(WINT_TYPE): Override.
	(WINT_TYPE_SIZE): Likewise.
	(CPP_ARCH32_SPEC): Add __WINT_TYPE__ definition.
	(CPP_ARCH64_SPEC): Likewise.

	testsuite:
	* gcc.dg/wchar_t-1.c: New file.
	* gcc.dg/wint_t-1.c: Likewise.

From-SVN: r43216
2001-06-11 20:36:56 +00:00
Richard Henderson
8ac9057145 unwind-dw2-fde.c (__deregister_frame_info): Don't play games with alias attribute.
* unwind-dw2-fde.c (__deregister_frame_info): Don't play games
        with alias attribute.

From-SVN: r43214
2001-06-11 13:15:44 -07:00
Richard Henderson
eb2d0fd5f2 Fix typo in comment.
From-SVN: r43211
2001-06-11 12:51:59 -07:00
Richard Henderson
281e78ae1c linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
* config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
        * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise.

From-SVN: r43210
2001-06-11 12:51:02 -07:00
Franz Sirl
437558e818 linux.h (CPLUSPLUS_CPP_SPEC): New.
2001-06-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.

From-SVN: r43207
2001-06-11 19:39:06 +00:00
Phil Edwards
52b55e7ddc README: Update to reflect reality.
2001-06-11  Phil Edwards  <pme@sources.redhat.com>

	* README:  Update to reflect reality.
	* acinclude.m4:  Update descriptions, fix typos.  Comment changes only.
	* configure.in:  Make certain target_alias is set and subst'd for 2.50.
	* aclocal.m4:  Regenerate.
	* configure:  Regenerate (with 2.13).

From-SVN: r43203
2001-06-11 19:35:32 +00:00
Bernd Schmidt
07732516da Remove Stepanov test
From-SVN: r43202
2001-06-11 19:28:51 +00:00
Benjamin Kosnik
d52a984783 ostream.tcc (ostream::seekp): Add error checking as per DR 129.
2001-06-11  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3114
	* include/bits/ostream.tcc (ostream::seekp): Add error checking as
	per DR 129.
	* include/bits/istream.tcc (istream::seekg): Same.
	* testsuite/27_io/istream_seeks.cc: Fix.

	libstdc++/3113
	* include/bits/stl_function.h (binder2nd): Fix as per DR 109.
	(binder1st): Same.
	* include/bits/std_queue.h: Add c++config.h.
	* testsuite/20_util/binders.cc: New test.

From-SVN: r43201
2001-06-11 19:20:20 +00:00
Stan Shebs
353e51f8e5 darwin.c (darwin_encode_section_info): Rewrite to simplify and fix coding mistakes.
* darwin.c (darwin_encode_section_info):  Rewrite to simplify
        and fix coding mistakes.

From-SVN: r43200
2001-06-11 18:59:42 +00:00
Nick Clifton
16f104b32c Fix compile time warnings
From-SVN: r43199
2001-06-11 16:58:56 +00:00
Richard Henderson
d4a6cf3861 * g++.old-deja/g++.law/code-gen5.C: Don't send raw pointers to assert.
From-SVN: r43198
2001-06-11 09:34:29 -07:00
Richard Henderson
ccb83cbced osf5.h (TARGET_LD_BUGGY_LDGP): New.
* config/alpha/osf5.h (TARGET_LD_BUGGY_LDGP): New.
        * config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Default.
        (struct machine_function): Add gp_save_rtx.
        * config/alpha/alpha.c (alpha_mark_machine_status): Mark it.
        (alpha_gp_save_rtx): New.
        * config/alpha/alpha-protos.h: Declare it.
        * config/alpha/alpha.md (exception_receiver): Make an expander.
        Use alpha_gp_save_rtx if TARGET_LD_BUGGY_LDGP.

From-SVN: r43196
2001-06-11 09:27:26 -07:00
Richard Henderson
f90e86cd00 * config/alpha/osf.h (LINK_SPEC): Hide _GLOBAL_* symbols.
From-SVN: r43194
2001-06-11 09:21:52 -07:00
Rainer Orth
e8bec1365a configure.in: Align --help messages.
* configure.in: Align --help messages.
	Remove trailing full stops.
	Consistently use lower case.
	Fix DWARF 2 spelling.
	* configure: Rebuilt.

From-SVN: r43192
2001-06-11 15:01:40 +00:00
Rainer Orth
887af1f271 alpha.h (CPP_SPEC): Don't define __LANGUAGE_C and variants for .cpp/.cp/.c++ files.
* config/alpha/alpha.h (CPP_SPEC): Don't define __LANGUAGE_C and
	variants for .cpp/.cp/.c++ files.
	Move definition of __LANGUAGE_C_PLUS_PLUS ...
	(CPLUSPLUS_CPP_SPEC): ... here.

From-SVN: r43190
2001-06-11 14:48:11 +00:00
Jan Hubicka
4bb83350d4 * jump.c (duplicate_loop_exit_test): Fix loop header heuristics.
From-SVN: r43189
2001-06-11 13:49:24 +00:00
Joseph Myers
1552f87457 re PR c/3116 (Bug with using oldstyle prototype declarations)
* c-decl.c (store_parm_decls): When comparing types in an
	old-style function declaration with those from a previous
	prototype, compare the unqualified versions of parameter types.
	Fixes PR c/3116.

testsuite:
	* gcc.c-torture/compile/20010611-1.c: New test.

From-SVN: r43186
2001-06-11 14:26:19 +01:00
Matthias Klose
cff75d2efe run_doxygen (find_doxygen): Tweak version check.
2001-06-11  Matthias Klose  <doko@debian.org>
            Phil Edwards  <pme@sources.redhat.com>

	* docs/doxygen/run_doxygen (find_doxygen):  Tweak version check.
	(main script):  Echo more information.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>

From-SVN: r43184
2001-06-11 13:04:07 +00:00
Joseph Myers
bd91de6329 * doc/objc.texi: Use more logical markup. Use TeX dashes.
From-SVN: r43182
2001-06-11 13:05:10 +01:00
Joseph Myers
2c96a7ca3c * doc/c-tree.texi: Use more logical markup.
From-SVN: r43180
2001-06-11 13:00:41 +01:00
Joseph Myers
f18b70f587 c-decl.c (xref_tag): Don't return previous tags of wrong type.
* c-decl.c (xref_tag): Don't return previous tags of wrong type.

testsuite:
	* gcc.dg/c99-tag-1.c: Add more tests.

From-SVN: r43179
2001-06-11 12:50:29 +01:00
Aldy Hernandez
89cc6be350 do not combine asm stmts in scan_loop
From-SVN: r43178
2001-06-11 09:36:06 +00:00
Michael Hayes
5fd83d4e51 simplify-rtx.c (simplify_subreg): Fix offset calculation for complex values within a CONCAT.
* simplify-rtx.c (simplify_subreg): Fix offset calculation
	for complex values within a CONCAT.

From-SVN: r43177
2001-06-11 09:30:50 +00:00
Joseph Myers
ecb7d6b3f4 install.texi: Update details of what components are included in the GCC distribution.
* doc/install.texi: Update details of what components are included
	in the GCC distribution.  Update default directory for g++
	includes.  Update documentation relating to old libio.  Adjust
	documentation on DejaGnu environment variables.  Remove
	documentation of --enable-cpplib.

From-SVN: r43175
2001-06-11 08:26:33 +01:00
Joseph Myers
3b04da4260 contrib.texi: Fix alphabetical order.
* doc/contrib.texi: Fix alphabetical order.  Fix typos.  Improve
	markup.

From-SVN: r43173
2001-06-11 08:23:20 +01:00
GCC Administrator
0b51912a1d Daily bump.
From-SVN: r43171
2001-06-11 07:16:15 +00:00
Richard Henderson
e16d045df7 ifcvt.c (life_data_ok): New.
* ifcvt.c (life_data_ok): New.
        (merge_if_block): Use it to determine whether to update
        global_live_at_end.
        (if_convert): Set it.

From-SVN: r43170
2001-06-10 22:16:10 -07:00
Benjamin Kosnik
68fe6226c8 std_cwchar.h: Alphabetize.
2001-06-10  Benjamin Kosnik  <bkoz@redhat.com>

	* include/c_std/bits/std_cwchar.h: Alphabetize.
	* include/bits/char_traits.h: Tweak.
	* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Check for
	everything used by std_cwchar.h.
	* aclocal.m4: Regenerate.
	* configure.in: Regenerate.
	* config.h.in: Regenerate.

From-SVN: r43167
2001-06-11 04:36:59 +00:00
Richard Henderson
ad5ef673ca * config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
From-SVN: r43166
2001-06-10 19:31:56 -07:00