Commit Graph

41231 Commits

Author SHA1 Message Date
Jan Hubicka 82d68d46a3 predict.c (estimate_bb_frequencies): Do not reload the frequencies from notes.
* predict.c (estimate_bb_frequencies): Do not reload the
	frequencies from notes.

From-SVN: r50356
2002-03-06 10:29:11 +00:00
Jan Hubicka 3dec402428 cfgrtl.c (delete_insn_and_edges, [...]): New.
* cfgrtl.c (delete_insn_and_edges, delete_insn_chain_and_edges): New.
	* rtl.h (delete_insn_and_edges, delete_insn_chain_and_edges): Declare

	* basic-block.h (update_life_info, update_life_info_in_dirty_blocks,
	delete_noop_moves): Return indeger.
	* flow.c (ndead): New variable.
	(propagate_block_delete_insn): Use delete_insn_and_edges; remove
	BB argument; update callers.
	(propagate_block_delete_libcall): Use delete_insn_chain_and_edges.
	(life_analysis): Do not call purge_all_dead_edges.
	(update_life_info): Return number of deleted insns; print statistics.
	(update_life_info_in_dirty_blocks): likewise.
	(delete_noop_moves): Use delete_insn_and_edges; print statistics;
	return number of insns deleted.

	* cse.c: Include timevar.h
	(delete_trivially_dead_insns): Kill preserve_basic_blocks argument;
	iterate until stabilizes; print statistics; return number of killed
	insns.
	* Makefile.in: (cse.o): Add timevar.h dependency
	* rtl.h (delete_trivially_dead_insns): New.
	* timever.def: Add TV_DELETE_TRIVIALLY_DEAD timer.
	* toplev.c (rest_of_compilation): Update callers.

	* cfgcleanup.c (try_optimize_cfg): Kill blocks.
	(try_optimize_cfg): Do not update liveness.
	(cleanup-cfg): Loop until try_optimize_cfg and dead code
	removal stabilizes; use delete_trivially_dead_insns.

	* cfgrtl.c (verify_flow_info): Sanity check outgoing edges.

From-SVN: r50355
2002-03-06 10:17:23 +00:00
GCC Administrator 9533dec173 Daily bump.
From-SVN: r50353
2002-03-06 08:18:28 +00:00
Bryce McKinlay f095bbfc5b MediaTracker.java: Implemented.
* java/awt/MediaTracker.java: Implemented.
        * Makefile.am: Add MediaTracker.
        * Makefile.in: Rebuilt.

From-SVN: r50349
2002-03-06 08:11:06 +00:00
Zack Weinberg c7544dd8fd cppmain.c (setup_callbacks): Disable #pragma and #ident callbacks when processing assembly language.
* cppmain.c (setup_callbacks): Disable #pragma and #ident
	callbacks when processing assembly language.

From-SVN: r50346
2002-03-06 07:50:03 +00:00
Andrew Cagney ccc49bed1c Remove floatformat_arm_ext.
From-SVN: r50345
2002-03-06 06:29:00 +00:00
Tom Tromey 355526af2b natPosixProcess.cc (fail): Removed.
* java/lang/natPosixProcess.cc (fail): Removed.
	(startProcess): Simplified error-handling.  Preserve
	LD_LIBRARY_PATH across exec.

From-SVN: r50342
2002-03-06 05:13:58 +00:00
John David Anglin 50b424a908 pa.h (ASM_FILE_END): Define.
* pa.h (ASM_FILE_END): Define.
	* som.h (ASM_FILE_END): Delete.

	* pa.c (function_arg): Don't pass floats in general registers in
	indirect calls if TARGET_ELF32.

From-SVN: r50341
2002-03-06 04:59:28 +00:00
Richard Henderson 6185f21704 * config/i386/i386.md (floatsidf2): Conditionalize on hard-float.
From-SVN: r50339
2002-03-05 16:06:05 -08:00
Tom Tromey 6901a00903 jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError.
* jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
	AbstractMethodError.

From-SVN: r50337
2002-03-05 22:36:11 +00:00
Danny Smith 3020a4b265 gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.
From-SVN: r50336
2002-03-05 22:08:23 +00:00
Danny Smith c7fc1f8488 MAINTAINERS (Write After Approval): Add myself.
From-SVN: r50335
2002-03-05 21:29:18 +00:00
Benjamin Kosnik 251a817e23 002-03-05 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/RELEASE-NOTES: Fix usage.
	* README (libmath): Make clear.

From-SVN: r50331
2002-03-05 21:14:20 +00:00
Jakub Jelinek d7ac744e9f acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version script globbing in ld.
* acinclude.m4 (GLIBCPP_ENABLE_SYMVERS): Check for version
	script globbing in ld.
	* aclocal.m4: Rebuilt.
	* configure: Rebuilt.

From-SVN: r50330
2002-03-05 22:12:17 +01:00
Ira Ruben e8b3c8acf3 This is the documentation for -### that I forgot to add when -### was
originally added.

From-SVN: r50328
2002-03-05 20:17:57 +00:00
Benjamin Kosnik c01bfdbf7c RELEASE-NOTES: Update.
2002-03-05  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/html/17_intro/RELEASE-NOTES: Update.
	* README: Format subdirectories.

From-SVN: r50326
2002-03-05 20:16:09 +00:00
Jakub Jelinek 65649daa25 mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc -r command line.
* mklibgcc.in: Prepend a tab before .hidden, add $flags to gcc
	-r command line.  Don't hide any symbols if not building
	shared libgcc.

From-SVN: r50321
2002-03-05 19:09:29 +01:00
Jan Hubicka 5a1a3e5e4d cfg.c (dump_flow_info): Warn about profile mismatches.
* cfg.c (dump_flow_info): Warn about profile mismatches.
	* cfgrtl.c (verify_flow_info): Few aditional sanity checks.
	(purge_dead_edges): Remove REG_BR_PROB notes on simplejumps.

From-SVN: r50320
2002-03-05 17:34:16 +00:00
Joseph Myers 7ce5e9df40 snapshot-README: Note that snapshots come from the 3.1 branch.
* snapshot-README: Note that snapshots come from the 3.1 branch.
	Update list of files.

From-SVN: r50318
2002-03-05 13:50:12 +00:00
Paolo Carlini 84eb48794c 2002-03-05 Paolo Carlini <pcarlini@unitus.it>
libstdc++/5816
	* include/bits/locale_facets.tcc
	(num_get::_M_extract_float): Fix the parsing of __dec, since
	the standard prescribes that if no grouping characters are
	seen, no grouping check is applied.
        * testsuite/22_locale/num_get_members_char.cc: Add test05
	distilled from the PR.
        * testsuite/22_locale/num_get_members_wchar_t.cc: Ditto.

From-SVN: r50317
2002-03-05 12:09:45 +00:00
Jakub Jelinek 170c56da73 expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2 wide volatile memory by parts.
* expmed.c (emit_store_flag): Don't test BITS_PER_WORD * 2
	wide volatile memory by parts.

	* gcc.c-torture/compile/20020304-2.c: New test.

From-SVN: r50314
2002-03-05 12:10:43 +01:00
Jakub Jelinek 6d05169401 ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def is NULL.
* ssa-ccp.c (ssa_ccp_substitute_constants): Don't crash if def
	is NULL.
	* gcc.dg/20020304-1.c: New test.

From-SVN: r50311
2002-03-05 12:01:09 +01:00
GCC Administrator a562995d91 Daily bump.
From-SVN: r50310
2002-03-05 08:18:29 +00:00
David Billinghurst 6d6b5cd7b0 builtins.c (cos_builtin): method_return_type ATTRIBUTE_UNUSED
2002-03-05  David Billinghurst <David.Billinghurst@riotinto.com>

	* builtins.c(cos_builtin): method_return_type ATTRIBUTE_UNUSED
	* builtins.c(sin_builtin): Likewise
	* builtins.c(sqrt_builtin): Likewise

From-SVN: r50304
2002-03-05 05:16:15 +00:00
Richard Henderson 28bcfd4dbb rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.
2002-03-05  Richard Henderson  <rth@redhat.com>

        * rs6000.h (TOTAL_ALTIVEC_REGS): Fix off-by-one error.

From-SVN: r50301
2002-03-05 04:31:12 +00:00
Geoffrey Keating 75227a33f7 toplev.c (documented_lang_options): Document more language-specific options.
* toplev.c (documented_lang_options): Document more
	language-specific options.
	* doc/invoke.texi (Warning Options): Correct documentation for
	-Wno-multichar, -Wno-div-by-zero, and -Wsystem-headers.
	* c-decl.c (c_decode_option): Use a table to handle warning options.

From-SVN: r50299
2002-03-05 02:34:07 +00:00
Hans-Peter Nilsson 4f1aac4266 mmix.h (ENCODE_SECTION_INFO): Pass on new second parameter to mmix_encode_section_info.
* config/mmix/mmix.h (ENCODE_SECTION_INFO): Pass on new second
	parameter to mmix_encode_section_info.
	(LINK_SPEC): Don't defsym __.MMIX.start..text if linking
	relocatably.  Always produce ELF, not mmo if linking relocatably.
	* config/mmix/mmix.c (mmix_encode_section_info): If new parameter
	first is non-zero, don't add symbol prefix.
	* config/mmix/mmix-protos.h (mmix_encode_section_info): Tweak
	prototype accordingly.

From-SVN: r50298
2002-03-05 02:16:39 +00:00
Krister Walfridsson 123455433f * config.gcc (*-*-netbsd*): Add t-slibgcc-elf-ver to tmake_file.
From-SVN: r50297
2002-03-04 17:38:39 -08:00
Joseph Myers 8e97db8fe9 configure.in: Increase required makeinfo version to 4.1.
* configure.in: Increase required makeinfo version to 4.1.
	* configure: Regenerate.

From-SVN: r50294
2002-03-05 00:39:06 +00:00
Geoffrey Keating 06487868bb cvsignore: Remove *.info* and genrtl*; these files are generated elsewhere now.
* .cvsignore: Remove *.info* and genrtl*; these files are generated
	elsewhere now.

From-SVN: r50293
2002-03-04 23:21:41 +00:00
Craig Rodrigues b890704b15 porting-howto.xml: Refer to http://www.oasis-open.org for docbookx.dtd.
2002-03-04  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        * docs/html/17_intro/porting-howto.xml: Refer to
        http://www.oasis-open.org for docbookx.dtd.
        * docs/html/17_intro/porting-howto.html: Regenerated.

From-SVN: r50291
2002-03-04 22:58:50 +00:00
Geoffrey Keating 5ad1084650 Remove old unneeded .cvsignore files.
From-SVN: r50290
2002-03-04 22:57:38 +00:00
Phil Edwards 48d7db63ff configure.in: Add --enable-install-libiberty option.
2002-03-04  Phil Edwards  <pme@gcc.gnu.org>

	* configure.in:  Add --enable-install-libiberty option.
	* Makefile.in (INSTALLED_HEADERS):  New variable.
	(install_to_libdir):  Possibly also copy headers.
	* configure:  Regenerated.

From-SVN: r50288
2002-03-04 21:41:06 +00:00
Neil Booth af18e951d4 * xmalloc.c (xmalloc_fail): Clarify error message further.
From-SVN: r50287
2002-03-04 21:22:52 +00:00
Joseph Myers cff42170ce texinfo.tex: Update to version 2002-03-01.06.
* doc/include/texinfo.tex: Update to version 2002-03-01.06.
	* doc/invoke.texi: Fix @math uses.

From-SVN: r50284
2002-03-04 19:04:44 +00:00
Zack Weinberg a298d936f9 New test case (from PR c/5830).
From-SVN: r50279
2002-03-04 17:18:06 +00:00
Jan Hubicka 974a7f5672 toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables removal
* toplev.c (rest_of_compilation): Cleanup CFG after dead jumptables
	removal

From-SVN: r50277
2002-03-04 14:37:45 +00:00
GCC Administrator ecff97f32e Daily bump.
From-SVN: r50276
2002-03-04 08:17:49 +00:00
Bryce McKinlay 224c488894 Remove cvs junk
From-SVN: r50271
2002-03-04 01:01:08 +00:00
Bryce McKinlay bc24faf863 Makefile.am: Use -bootclasspath, not -CLASSPATH.
* Makefile.am: Use -bootclasspath, not -CLASSPATH.
	* Makefile.in: Rebuilt.

From-SVN: r50270
2002-03-04 01:00:16 +00:00
Aldy Hernandez 3b7d0e9830 config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
2002-03-03  Aldy Hernandez  <aldyh@redhat.com>

        * config.gcc (powerpc-*-eabialtivec*): Use t-ppcendian.
        (powerpc-*-eabisimaltivec*): Same.

        * config/rs6000/t-ppcendian: New.

From-SVN: r50268
2002-03-04 00:30:25 +00:00
Herman A.J. ten Brugge 65f2f288e4 c4x-protos.h, [...]: Add new functions nonimmediate_src_operand and nonimmediate_lsrc_operand to...
* c4x-protos.h, c4x.h, c4x.c, c4x.md: Add new functions
	nonimmediate_src_operand and nonimmediate_lsrc_operand to
	disallow ZERO_EXTEND with CONST_INT or CONST_DOUBLE.

From-SVN: r50266
2002-03-03 23:05:33 +00:00
Neil Booth d8d7c3c3e3 * xmalloc.c (xmalloc_fail): Clarify error message.
From-SVN: r50265
2002-03-03 21:57:57 +00:00
Richard Henderson 8ce0a8a5c9 * toplev.c (rest_of_decl_compilation): Revert last two changes.
From-SVN: r50264
2002-03-03 13:40:38 -08:00
Zack Weinberg ba31d94ee6 emit-rtl.c, [...]: Remove all #ifndef REAL_ARITHMETIC blocks...
* emit-rtl.c, final.c, fold-const.c, gengenrtl.c, optabs.c,
	print-tree.c, real.c, real.h, recog.c, rtl.c, simplify-rtx.c,
	tree.c, config/m68k/m68k.c, f/com.c, f/target.h, java/expr.c,
	java/jcf-parse.c, java/lex.c:
	Remove all #ifndef REAL_ARITHMETIC blocks, make all #ifdef
	REAL_ARITHMETIC blocks unconditional.  Delete some further
	#ifdef blocks predicated on REAL_ARITHMETIC.
	* flags.h, toplev.c: Delete remaining references to
	flag_pretend_float.

	* doc/invoke.texi: Remove documentation of -fpretend-float.
	* doc/tm.texi: Describe the various REAL_* macros as provided by
	real.h, not by the target configuration files.

	* config/alpha/alpha.h, config/alpha/unicosmk.h, config/arm/arm.h,
	config/avr/avr.h, config/c4x/c4x.h, config/convex/convex.h,
	config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h,
	config/h8300/h8300.h, config/i370/i370.h, config/i386/i386.h,
	config/i386/osf1elf.h, config/i960/i960.h, config/ia64/ia64.h,
	config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/dpx2.h,
	config/m68k/linux-aout.h, config/m68k/linux.h, config/m68k/m68k.h,
	config/m68k/sun3.h, config/m68k/vxm68k.h, config/mcore/mcore.h,
	config/mips/mips.h, config/mmix/mmix.h, config/mn10200/mn10200.h,
	config/mn10300/mn10300.h, config/pa/pa.h, config/pj/pj.h,
	config/rs6000/rs6000.h, config/s390/s390.h, config/sh/sh.h,
	config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
	config/sparc/sol2.h, config/sparc/sparc.h, config/sparc/vxsim.h,
	config/stormy16/stormy16.h, config/v850/v850.h, config/vax/vax.h,
	config/xtensa/xtensa.h:
	Do not define, undefine, or mention in comments any of
	REAL_ARITHMETIC, REAL_VALUE_ATOF, REAL_VALUE_HTOF,
	REAL_VALUE_ISNAN, REAL_VALUE_ISINF,
	REAL_VALUE_TO_TARGET_SINGLE, REAL_VALUE_TO_TARGET_DOUBLE,
	REAL_VALUE_TO_TARGET_LONG_DOUBLE, REAL_VALUE_TO_DECIMAL,
	REAL_VALUE_TYPE, REAL_VALUES_EQUAL, REAL_VALUES_LESS,
	REAL_VALUE_LDEXP, REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX,
	REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT,
	REAL_INFINITY, REAL_VALUE_NEGATE, REAL_VALUE_TRUNCATE,
	REAL_VALUE_TO_INT, or REAL_VALUE_FROM_INT.

From-SVN: r50263
2002-03-03 21:10:09 +00:00
Joseph Myers e98f0f5c13 * gcc_release: Make snapshots come from the 3.1 branch.
From-SVN: r50262
2002-03-03 18:58:36 +00:00
Phil Edwards 28ced9f821 Add missing PR tag for previous commit.
From-SVN: r50260
2002-03-03 17:52:41 +00:00
Phil Edwards 798355a229 std_sstream.h: Remove trailing spaces.
2002-03-03  Phil Edwards  <pme@gcc.gnu.org>

	* include/std/std_sstream.h:  Remove trailing spaces.
	(basic_stringbuf::_M_stringbuf_init):  Also check for ios_base::app.
	* testsuite/27_io/stringbuf.cc (test05, test06):  New tests.

From-SVN: r50258
2002-03-03 17:48:42 +00:00
Kaveh R. Ghazi e81dd3810b 1750a.h, [...] (BITS_PER_WORD): Delete.
* 1750a.h, a29k.h, alpha.h, arc.h, arm.h, avr.h, c4x.h, clipper.h,
	convex.h, cris.h, d30v.h, dsp16xx.h, elxsi.h, fr30.h, h8300.h,
	i370.h, i386.h, i860.h, i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h,
	m88k.h, mcore.h, mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h,
	pa.h, pdp11.h, pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h,
	stormy16.h, v850.h, vax.h, we32k.h, xtensa.h (BITS_PER_WORD):
	Delete.
	* defaults.h (BITS_PER_WORD): Define.
	* doc/tm.texi (BITS_PER_WORD): Document default value.

From-SVN: r50257
2002-03-03 15:40:44 +00:00
Kaveh R. Ghazi 9a571cfd9d 1750a.h, [...] (CHAR_TYPE_SIZE): Delete.
* 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h,
	m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c,
	stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete.

From-SVN: r50256
2002-03-03 15:37:32 +00:00