Commit Graph

35760 Commits

Author SHA1 Message Date
Tom Tromey c3b488478b aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt.
	* acinclude.m4: Find configure.host in srcdir.

From-SVN: r43324
2001-06-13 16:38:39 +00:00
Gerald Pfeifer 9f29389307 * release: Remove.
From-SVN: r43322
2001-06-13 16:27:29 +00:00
Phil Edwards 89c0830cba contrib.texi: Link to libstdc++'s thanks.html for now.
2001-06-13  Phil Edwards  <pme@sources.redhat.com>

	* doc/contrib.texi:  Link to libstdc++'s thanks.html for now.

From-SVN: r43319
2001-06-13 15:15:24 +00:00
Gerald Pfeifer 5b5b420750 README: Update wrt.
* INSTALL/README: Update wrt. to the installation instructions now
	residing in gcc/doc/install.texi.

From-SVN: r43318
2001-06-13 14:51:33 +00:00
Zack Weinberg 72aad6e65d Makefile.in: Move _bb and __gcc_bcmp to LIB2FUNCS_ST.
* Makefile.in: Move _bb and __gcc_bcmp to LIB2FUNCS_ST.
	* libgcc-std.ver: Take out __bb* and __gcc_bcmp.

	* config/t-slibgcc-elf-ver, config/t-slibgcc-sld,
	config/alpha/t-osf4, config/mips/t-iris6: Extract all
	references to @shlib_map_file@, @shlib_objs@, or
	@shlib_base_name@ to Makefile variables.
	Bump soname version of libgcc to 1.

From-SVN: r43316
2001-06-13 14:26:03 +00:00
Joseph Myers 6cfb3f16f1 install.texi: Use more logical markup.
* doc/install.texi: Use more logical markup.  Include @node
	commands in the source when generating any non-HTML.

From-SVN: r43314
2001-06-13 14:07:28 +01:00
Joseph Myers be839b69fd README: Replace with a cut-down and updated version of gcc/README.
* README: Replace with a cut-down and updated version of gcc/README.

gcc:
	* README: Remove.  Some of the contents moved to ../README.

From-SVN: r43312
2001-06-13 08:55:27 +01:00
GCC Administrator 01fe4f7259 Daily bump.
From-SVN: r43311
2001-06-13 07:18:21 +00:00
Alexandre Oliva 0cb98517cb install.texi (--enable-shared): List package names recognized by GCC.
* doc/install.texi (--enable-shared): List package names
recognized by GCC.

From-SVN: r43308
2001-06-13 07:11:59 +00:00
Jeff Law 63f39cc982 Add various folks.
From-SVN: r43305
2001-06-12 22:16:45 -06:00
Alexandre Oliva 0e96b2039c install.texi (ix86-*-solaris*): Removed, outdated.
* doc/install.texi (ix86-*-solaris*): Removed, outdated.
(*-*-solaris*): Document problem in /bin/sh that affects
configuring libraries.
(sparc-*-solaris*): Recommend GNU binutils 2.11.1 or vendor tools.
(*-sun-solaris2.8): Document linker problem that explains why
libjava is disabled by default.

From-SVN: r43303
2001-06-13 03:38:52 +00:00
Mark Mitchell 6c7905cd83 Revert this patch:
* toplev.c (rest_of_compilation): Remove dead code before
	purge_addressof.

From-SVN: r43301
2001-06-13 03:21:48 +00:00
Alexandre Oliva cb65112ade revert: configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
Reverted:
2001-06-07  Nathan Sidwell  <nathan@codesourcery.com>
* configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
* configure: Rebuilt.

From-SVN: r43300
2001-06-13 03:10:44 +00:00
Jim Wilson 97ebd24c89 Fix for PR 3128, IA-64 linux kernel miscompile
Fix for PR 3128, IA-64 linux kernel miscompile
	* loop.c (strength_reduce): Move bl->all_reduced set before
	check_ext_dependant_givs call.
	(check_ext_dependant_givs): Clear bl->all_reduced when ignoring givs.

From-SVN: r43298
2001-06-12 19:48:45 -07:00
David Edelsohn fe2ee7c4a7 config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread multilibs to be disabled.
* config-ml.in (powerpc-*-* | rs6000-*-*): Allow aix64 and pthread
        multilibs to be disabled.

From-SVN: r43294
2001-06-12 22:12:07 -04:00
Alexandre Oliva b93e38937e extend.texi (Function Attributes): Document SH's sp_switch and trap_exit.
* doc/extend.texi (Function Attributes): Document SH's sp_switch
and trap_exit.

From-SVN: r43293
2001-06-13 02:09:18 +00:00
Benjamin Kosnik 9aaa9ee026 fpos.h (fpos::operator-): Don't return reference, return original, non-modified version.
2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/fpos.h (fpos::operator-): Don't return reference,
	return original, non-modified version.
	(fpos::operator+): Same.
	* testsuite/27_io/fpos.cc: Add test.

[[Split portion of a mixed commit.]]

From-SVN: r43290.2
2001-06-13 01:50:27 +00:00
Benjamin Kosnik 7f3e3e0a22 fpos.h (fpos::operator-): Don't return reference, return original, non-modified version.
2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/fpos.h (fpos::operator-): Don't return reference,
	return original, non-modified version.
	(fpos::operator+): Same.

From-SVN: r43287
2001-06-13 01:14:42 +00:00
Joseph Myers 695ac33fac invoke.texi: Use more logical markup.
* doc/invoke.texi: Use more logical markup.  Use TeX quotes,
	dashes and @dots{}.

From-SVN: r43286
2001-06-13 02:12:19 +01:00
Richard Henderson f2042df38f i386.c (ix86_expand_prologue): Always use gen_pro_epilogue_adjust_stack; update arguments.
* config/i386/i386.c (ix86_expand_prologue): Always use
        gen_pro_epilogue_adjust_stack; update arguments.
        (ix86_expand_epilogue): Likewise.
        (ix86_emit_epilogue_esp_adjustment): Remove.
        (ix86_adjust_cost): Remove pro_epilogue_adjust_stack hack.
        * config/i386/i386.md (pro_epilogue_adjust_stack): Use a BLKmode
        clobber of scratch memory instead of a modification of EBP as the
        barrier.  Update all peepholes to match.

From-SVN: r43284
2001-06-12 17:54:41 -07:00
Richard Henderson 757e4f2317 * g++.old-deja/g++.other/crash27.C: Don't XFAIL.
From-SVN: r43282
2001-06-12 17:43:18 -07:00
Loren J. Rittle ddf1e65262 porting.texi: Add documentation about libstdc++-v3-specific macros that are currently...
libstdc++/2071
	* porting.texi: Add documentation about libstdc++-v3-specific
	macros that are currently included in os_defines.h files.

	* config/basic_file_stdio.h (sys_getc): New method.
	(sys_ungetc): New method.
	* include/bits/basic_file.h: (sys_getc): New method signature.
	(sys_ungetc): New method signature.

	* include/bits/fstream.tcc (underflow): Add conditional code
	paths which avoid using short seeks on streams (especially
	useful when the stream might be interactive or a pipe).  At
	the moment, this alternate path only avoids seeking when the
	``buffer size'' of underflow() is 1 since the C standard only
	guarantees buffer space for one ungetc (this technique could
	be extended since *-*-solaris* supports buffering for 4 calls
	to ungetc and *-*-*bsd* supports buffering limited only by
	memory resources).  Also, _GLIBCPP_AVOID_FSEEK must be defined
	in a port's os_defines.h file for this alternate path to even
	be considered.  As a bonus, the idiom of using getc/ungetc
	requires no system calls whereas fseek maps to one or two
	system call(s) on many platforms.

	* config/os/bsd/freebsd/bits/os_defines.h (_GLIBCPP_AVOID_FSEEK):
	Define it.
	* config/os/solaris/solaris2.5/bits/os_defines.h
	(_GLIBCPP_AVOID_FSEEK): Likewise.
	* config/os/solaris/solaris2.6/bits/os_defines.h
	(_GLIBCPP_AVOID_FSEEK): Likewise.
	* config/os/solaris/solaris2.7/bits/os_defines.h
	(_GLIBCPP_AVOID_FSEEK): Likewise.

From-SVN: r43278
2001-06-12 23:09:09 +00:00
Benjamin Kosnik 1d855e87fd std_sstream.h: Add allocator_type, as per DR 251.
2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3142
	* include/bits/std_sstream.h: Add allocator_type, as per DR 251.

	libstdc++/3141
	* include/bits/istream.tcc (getline, get): Fix as per DR 243.

	libstdc++/3140
	* include/bits/std_bitset.h (bitset::set): Fix as per DR 186.

	libstdc++/3139
	* include/bits/limits_generic.h: Fix as per DR 184.

From-SVN: r43276
2001-06-12 23:00:39 +00:00
Joseph Myers 84330467cd gcc.texi: Change the font used for @def...
* doc/gcc.texi: Change the font used for @def... commands to a
	fixed width font.
	* doc/extend.texi: Use more logical markup.  Use "built-in"
	instead of "builtin".  Use @deftypefn to mark up built-in
	functions; specify their types in the @deftypefn and not in the
	descriptive text.  Use TeX quotes and dashes.  Add more index
	entries.

From-SVN: r43274
2001-06-12 23:40:00 +01:00
Benjamin Kosnik 30f69f71d8 std_sstream.h: Add allocator_type, as per DR 251.
2001-06-12  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/3142
	* include/bits/std_sstream.h: Add allocator_type, as per DR 251.

	libstdc++/3141
	* include/bits/istream.tcc (getline, get): Fix as per DR 243.

	libstdc++/3140
	* include/bits/std_bitset.h (bitset::set): Fix as per DR 186.

	libstdc++/3139
	* include/bits/limits_generic.h: Fix as per DR 184.

From-SVN: r43273
2001-06-12 22:14:08 +00:00
Lars Brinkhoff 3a08e428d3 gcc.texi (HOST_BITS_PER_LONGLONG): Document.
* gcc.texi (HOST_BITS_PER_LONGLONG): Document.
	(DIR_SEPARATOR_2): Likewise.

From-SVN: r43272
2001-06-12 19:47:44 +00:00
Joseph Myers ab130aa59f install.texi (--exec-prefix, [...]): Document.
* doc/install.texi (--exec-prefix, --bindir, --libdir,
	--with-slibdir, --infodir, --mandir, --with-cpp-install-dir):
	Document.
	(--enable-cpp): Change to document --disable-cpp instead; update
	to reflect current default.
	(--without-fast-fixincludes): Remove documentation.
	(Final install): Document installation directories in more
	detail.  Document use of make dvi.

From-SVN: r43270
2001-06-12 20:36:53 +01:00
Andrew Haley be72207cd2 osf.S (__FRAME_BEGIN__): Conditionalize for ELF.
2001-06-06  Andrew Haley  <aph@redhat.com>

        * src/alpha/osf.S (__FRAME_BEGIN__): Conditionalize for ELF.

From-SVN: r43268
2001-06-12 19:14:04 +00:00
Nathan Sidwell 623fe76a4c PR c++/3130, c++/3131, c++/3132
cp:
	PR c++/3130, c++/3131, c++/3132
	* cp-tree.h (BINFO_UNSHARED_MARKED): New #define.
	* class.c (force_canonical_binfo_r): Move
	BINFO_UNSHARED_MARKED, BINFO_LOST_PRIMARY_P. Don't move
	virtual bases unless they're primary and what they're primary
	too has been moved.
	(dfs_unshared_virtual_bases): Use BINFO_UNSHARED_MARKED. Cope
	with morally virtual bases. Duplicate BINFO_LOST_PRIMARY_P and
	BINFO_PRIMARY_BASE_OF. Clear BINFO_VTABLE for all but the most
	derived binfo.
	(mark_primary_bases): Use BINFO_UNSHARED_MARKED.
	(layout_nonempty_base_or_field): Add most derived type
	parameter. Adjust.
	(layout_empty_base): Likewise.
	(build_base_field): Likewise.
	(build_base_fields): Likewise.
	(propagate_binfo_offsets): Add most derived type
	parameter. Skip non canonical virtual bases too.
	(dfs_set_offset_for_unshared_vbases): Don't skip primary
	bases. Do skip canonical bases.
	(layout_virtual_bases): Adjust.
	(layout_class_type): Adjust.
	(dfs_get_primary_binfo): Build list of virtual primary base
	candidates.
	(get_primary_binfo): Check that the shared virtual primary
	base candidate was found first.
	(accumulate_vtbl_inits): Don't do anything for non-vptr
	containing binfos. For case 1 primary virtual bases, keep
	checking that we've not emerged from the hierarchy of RTTI_BINFO.
testsuite:
	* g++.old-deja/g++.abi/vbase5.C: New test.
	* g++.old-deja/g++.abi/vbase6.C: New test.
	* g++.old-deja/g++.abi/vbase7.C: New test.

From-SVN: r43266
2001-06-12 18:08:05 +00:00
Jan Hubicka 205a5b4550 damn me,
now it must be correct.

From-SVN: r43264
2001-06-12 17:54:39 +00:00
Jan Hubicka 963943b0ee * recog.c (validate_replace_rtx_1): Fix previous patch.
From-SVN: r43263
2001-06-12 17:06:18 +00:00
Jan Hubicka 5fecb52868 * recog.c (validate_replace_rtx_1): Do plus_constant call always.
From-SVN: r43262
2001-06-12 15:26:49 +00:00
Jan Hubicka 04864a4677 simplify-rtx.c (simplify_subreg): Allow volatile memory to be subregged in case we don't have move instruction.
* simplify-rtx.c (simplify_subreg): Allow volatile memory
	to be subregged in case we don't have move instruction.

From-SVN: r43261
2001-06-12 15:25:16 +00:00
Kaveh R. Ghazi 2c1a24210c c-decl.c (grokdeclarator): Use INTEGRAL_TYPE_P.
* c-decl.c (grokdeclarator): Use INTEGRAL_TYPE_P.

	* c-typeck.c (c_start_case): Likewise.

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

From-SVN: r43257
2001-06-12 12:15:46 +00:00
Mark Mitchell 0ea834c115 expr.c (store_field): Don't set MEM_ALIAS_SET for a field in a structure at a variable address.
* expr.c (store_field): Don't set MEM_ALIAS_SET for a field
	in a structure at a variable address.

From-SVN: r43256
2001-06-12 11:17:09 +00:00
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