Commit Graph

36035 Commits

Author SHA1 Message Date
GCC Administrator ff9c9107d8 Daily bump.
From-SVN: r43723
2001-07-03 07:16:12 +00:00
Andreas Jaeger 5b7c704627 Makefile.in (insn-recog.o): Add dependency on reload.h.
* Makefile.in (insn-recog.o): Add dependency on reload.h.

	* genrecog.c (write_header): Include reload.h for prototypes in
	insn-recog.c.

From-SVN: r43722
2001-07-03 08:22:01 +02:00
Neil Booth f5f4be4280 cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE, [...]): Remove.
config:
	* i386/cygwin.h (VALID_MACHINE_DECL_ATTRIBUTE,
	VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
	* i386/i386-protos.h (i386_pe_valid_decl_attribute_p,
	i386_pe_valid_type_attribute_p): Add.
	* i386/i386.c (TARGET_INITIALIZER): Override for cygwin targets.
	* i386/winnt.c (i386_valid_decl_attribute_p): Return directly.

From-SVN: r43721
2001-07-03 05:56:32 +00:00
Richard Kenner ed8908e739 explow.c (plus_constant_wide, [...]): New case.
* explow.c (plus_constant_wide, case LO_SUM): New case.
	(plus_constant_for_output_wide): Delete.
	* rtl.h (plus_constant_for_output): Delete.
	* alias.c (canon_rtx, init_alias_analysis): Call plus_constant
	instead of plus_constant_for_output.
	* recog.c (offsettable_address_p, adj_offsettable_operand): Likewise.
	* config/darwin.c, config/arm/arm.c, config/m68k/m68k.c: Likewise.
	* config/m88k/m88k.c, config/mips/mips.c, config/pa/pa.c: Likewise.
	* config/rs6000/rs6000.c, config/sparc/sparc.c: Likewise.
	* config/sparc/sparc.md: Likewise.
	Convert some change_address calls to adjust_address.

From-SVN: r43720
2001-07-02 21:58:35 -04:00
Joseph Myers aee96fe99b extend.texi, [...]: Improve formatting.
gcc:
	* doc/extend.texi, doc/gcc.texi, doc/invoke.texi, doc/md.texi,
	doc/rtl.texi, doc/tm.texi: Improve formatting.  Improve
	documentation of -std and -Wwrite-strings.

contrib:
	* texi2pod.pl: Handle @r inside @item.

From-SVN: r43718
2001-07-03 01:46:05 +01:00
Loren J. Rittle 1ce847cf95 acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell expansion (thanks to Alexandre Oliva).
* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Protect variable from shell
	expansion (thanks to Alexandre Oliva).
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

Also, re-add last comment since Benjamin accidentally trashed it with
his last check-in.

From-SVN: r43715
2001-07-02 23:30:01 +00:00
Geoffrey Keating 8bf4dfc24f cse.c (canon_hash): Don't register registers in very small register classes...
* cse.c (canon_hash): Don't register registers in very small
	register classes, as extending their lifetime might cause
	reload to fail.

From-SVN: r43714
2001-07-02 23:24:02 +00:00
Benjamin Kosnik 213c2316b6 locale.cc (locale::locale(const char*)): Make sure global locales are initialized.
2001-07-02  Benjamin Kosnik  <bkoz@redhat.com>

	* src/locale.cc (locale::locale(const char*)): Make sure global
	locales are initialized.
	* include/bits/locale_facets.tcc (locale::combine): Refcout should
	be zero, not one as it's return-by-value.
	* testsuite/27_io/ios_base_callbacks.cc (test01): Don't check for
	named locales here.
	* testsuite/22_locale/ctor_copy_dtor.cc (test01): Instead, check
	for it here.
	(test02): Add test.
	* libsupc++/eh_alloc.cc: Use climits, not limits.h.

From-SVN: r43713
2001-07-02 23:08:28 +00:00
Loren J. Rittle 30b3a033af acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
libstdc++/3284
	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Portability enhancement.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r43711
2001-07-02 22:24:57 +00:00
Loren J. Rittle 3a5e0e62b0 acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to staged/installed area to support -I-.
libstdc++/3243
	* acinclude.m4 (GLIBCPP_ENABLE_THREADS): Add relative path to
	staged/installed area to support -I-.  Document.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.

From-SVN: r43709
2001-07-02 21:30:30 +00:00
Jan Hubicka f8d1529b85 flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.
* flow.c (try_redirect_by_replacing_jump): Remove cc0 setter.

	* flow.c (forwarder_block_p): Fix for fallthru blocks.
	(try_redirect_by_replacing_jump): Update properly the count
	and frequency information.

From-SVN: r43708
2001-07-02 21:16:50 +00:00
Loren J. Rittle 861d4e70e8 ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to __out_bufsize.
libstdc++/2211
	* src/ios.cc (ios_base::Init::_S_ios_create): Rename __bufsize to
	__out_bufsize.  Add __in_bufsize, document it and use it.

From-SVN: r43707
2001-07-02 20:50:40 +00:00
Jeff Law 528aeb4896 Rotate ChangeLog.
From-SVN: r43706
2001-07-02 14:23:53 -06:00
Jeffrey A Law 0826f1d89f toplev.c (dump_file_index): Move SSA dumps just after first jump dump.
* toplev.c (dump_file_index): Move SSA dumps just after first
        jump dump.
        (dump_file): Corresponding changes.
        (rest_of_compilation): Move SSA path to just after the first
        jump pass.
        * doc/gcc.texi (Passes): Update due to movement of SSA path.
        * doc/invoke.texi: Update dump file #s as they were completely
        out of date with reality.

From-SVN: r43704
2001-07-02 14:21:15 -06:00
Geoffrey Keating 918a61248d [multiple changes]
2001-07-02  Geoffrey Keating  <geoffk@redhat.com>

	* doc/tm.texi (Frame Layout): Document STACK_PUSH_CODE.

	* expr.c (emit_move_insn_1): Deal with non-default
	STACK_PUSH_CODE.

	* expr.c (emit_single_push_insn): Fix warning.

2001-07-02  Toshiyasu Morita  <toshiyasu.morita@hsa.hitachi.com>

	* expr.c (emit_move_insn_1): Avoid modifying
	cfun->expr->x_stack_pointer when PUSH_ROUNDING is defined.

From-SVN: r43703
2001-07-02 20:02:54 +00:00
Richard Kenner f4ef873c31 emit-rtl.c (adjust_address): New function.
* emit-rtl.c (adjust_address): New function.
	* expr.h (adjust_address): Add declaration.
	* builtins.c: Replace some calls to change_address with calls to it
	or to validize_mem.
	* caller-save.c, dwarf2out.c, except.c, expmed.c, expr.c: Likewise.
	* function.c, config/a29k/a29k.md, config/alpha/alpha.c: Likewise.
	* config/arm/arm.c, config/convex/convex.c: Likewise.
	* config/dsp16xx/dsp16xx.md, config/fr30/fr30.c: Likewise.
	* config/i386/i386.c, config/i386/i386.md: Likewise.
	* config/ia64/ia64.c, config/ia64/ia64.md: Likewise.
	* config/m32r/m32r.c, config/m68k/m68k.md: Likewise.
	* config/m88k/m88k.c, config/mips/mips.md: Likewise.
	* config/ns32k/ns32k.c, config/rs6000/rs6000.c: Likewise.
	* config/sh/sh.c, config/sparc/sparc.md: Likewise.

From-SVN: r43702
2001-07-02 15:47:44 -04:00
Stephen M. Webb 494fff4cea stl_construct.h (construct): Remove.
2001-07-01  Stephen M. Webb <stephen@bregmasoft.com>

	* include/bits/stl_construct.h (construct): Remove.
      	(destroy): Remove.
      	(__destroy): Replaced by use of iterator_traits.
	* include/bits/stl_deque.h: replaced HP iterator functions with
	iterator_traits.
        (construct): changed to _Construct.
	(destroy): changed to _Destroy.
	* include/bits/stl_tempbuf.h: Same.
	* include/bits/stl_tree.h: Same.
	* include/bits/stl_vector.h: Same.
	* include/backward/iterator.h (construct): moved definition to here.
	(destroy): Same.

From-SVN: r43701
2001-07-02 19:47:09 +00:00
Jim Wilson becbcf96da Fix HPUX libgcc_s.so linking problem.
* config/ia64/ia64.h: Delete obsolete lib1funcs.asm comment.
        * config/ia64/t-ia64: Change LIB1ASMFUNCS to use single underscore.
        * config/ia64/lib1funcs.asm: Change macro names to match t-ia64.

From-SVN: r43700
2001-07-02 12:36:58 -07:00
Zack Weinberg a01eb545c4 cppinit.c (lang_defaults): New table.
* cppinit.c (lang_defaults): New table.
	(set_lang): Just read from lang_defaults into the live options
	structure.

From-SVN: r43699
2001-07-02 18:55:35 +00:00
Zack Weinberg 51817b107a Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
gcc:
	* Makefile.in (doc): Depend on $(GENERATED_MANPAGES).
	* doc/.cvsignore: Add gcc.1, cpp.1, gcov.1.
	* doc/gcc.1, doc/cpp.1, doc/gcov.1: Removed.
contrib:
	* gcc_update: Remove entries for gcc.1, cpp.1, gcov.1.

From-SVN: r43698
2001-07-02 18:35:32 +00:00
Rainer Orth eea81d3e5d install.texi: Various spelling and markup fixes.
* doc/install.texi: Various spelling and markup fixes.
	(Installing GCC): Component specific installation instructions are
	gone.
	Fix reference.
	Warn about removing old install dir in the presence of shared libs.
	(Configuration): Invoke with options target to match configure
	--help.
	Consistently refer to gas, gld pathnames.
	Invert --enable-multilib documentation.
	Remove references to old compiler versions.

From-SVN: r43697
2001-07-02 18:08:42 +00:00
Richard Kenner faf041ed6b * flow.c (try_simplify_condjump): Fix typo in updating fallthru flags.
From-SVN: r43695
2001-07-02 12:47:57 -04:00
Rainer Orth 213ba34531 install.texi (Specific, [...]): Split from IRIX 5 section.
* doc/install.texi (Specific, mips*-sgi-irix4): Split from IRIX 5
	section.
	(Specific, mips*-sgi-irix5): Note IDO download.
	Reworded MIPS C hints.
	Use GNU as instead of GAS.
	Markup fixes.
	Removed SGI Freeware reference, IRIX 6 only.
	(Specific, mips*-sgi-irix6): Removed ranlib caveats, obsolete.
	Note N64 library requirement/workaround.
	Update O32 hints.
	Complete list of structure passing bug victims.

From-SVN: r43694
2001-07-02 16:46:07 +00:00
Jeffrey A Law df0afdbe34 + * simplify-rtx.c (simplify_rtx): Use swap_commutative_operands_p.
+       * simplify-rtx.c (simplify_rtx): Use swap_commutative_operands_p.
Forgot to commit Friday.

From-SVN: r43692
2001-07-02 09:43:38 -06:00
Gerald Pfeifer b9063b3da1 * doc/install.texi: Remove CVS Id.
From-SVN: r43691
2001-07-02 15:33:05 +00:00
Andreas Jaeger 766890e16d ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
* ssa-dce.c (note_inherently_necessary_set): Add unused attribute.
        (find_inherently_necessary): Remove unused variable.

From-SVN: r43690
2001-07-02 16:46:12 +02:00
Nathan Sidwell dfb5868dcf Revert piece of previous patch about include directories
From-SVN: r43688
2001-07-02 12:55:33 +00:00
Nathan Sidwell 6be777481e c-common.h (TDI_inlined): New ast dump phase.
* c-common.h (TDI_inlined): New ast dump phase.
	(dump_flag_name): New function.
	* c-dump.c (dump_files): Add inlined phase.
	(dump_flag_name): Define.
	* doc/invoke.texi (-fdump-ast-inlined): Document.
cp:
	* optimize.c (optimize_inline_calls): New function, broken out
	of ...
	(optimize_function): ... here. Call it. Don't inline if it is
	a thunk.
	(dump_function): Print name of dump flag causing this dump.
	* semantics.c (expand_body): Move thunk inline check to
	optimize_function.

From-SVN: r43687
2001-07-02 12:16:58 +00:00
Richard Kenner 3aa12a583f stor-layout.c (layout_decl): Revert change to handling of alignment in packed types.
* stor-layout.c (layout_decl): Revert change to handling of alignment
	in packed types.

From-SVN: r43686
2001-07-02 06:27:17 -04:00
GCC Administrator 071d36e295 Daily bump.
From-SVN: r43684
2001-07-02 07:16:12 +00:00
Jeremy Nimmer e2a6abb6d5 For PR libgcj/3523:
2001-07-01  Jeremy Nimmer  <jwnimmer@alum.mit.edu>

	For PR libgcj/3523:
	* java/io/LineNumberReader.java (reset): Pass correct arguments to
	countLines.

From-SVN: r43683
2001-07-02 05:16:24 +00:00
Richard Kenner 21266f819a c-common.c (decl_attributes, [...]): Don't call layout_decl for FIELD_DECL.
* c-common.c (decl_attributes, case A_MODE): Don't call layout_decl
	for FIELD_DECL.

From-SVN: r43682
2001-07-01 19:23:28 -04:00
Geoffrey Keating 1cc5e43240 tm.texi (FUNCTION_ARG): Document that the last call is special.
* doc/tm.texi (FUNCTION_ARG): Document that the last call
	is special.

From-SVN: r43681
2001-07-01 23:21:11 +00:00
Mark Mitchell c54b0a5e4b expr.c (expand_expr, [...]): Correct check for side-effects in the value of an array element.
* expr.c (expand_expr, case ARRAY_REF): Correct check for
	side-effects in the value of an array element.

From-SVN: r43680
2001-07-01 20:50:03 +00:00
Toon Moene 074919faea fio.h: Include <sys/types.h> for off_t.
2001-07-01  Toon Moene  <toon@moene.indiv.nluug.nl>

	* libI77/fio.h: Include <sys/types.h> for off_t.

From-SVN: r43678
2001-07-01 20:19:33 +00:00
Nathan Sidwell 3746c4a2d6 tlink.c (recompile_files): Remove COMPILER_PATH and LIBRARY_PATH from the environment.
* tlink.c (recompile_files): Remove COMPILER_PATH and
	LIBRARY_PATH from the environment.

From-SVN: r43677
2001-07-01 20:01:47 +00:00
Michael Chamberlain 809353e149 mg.exp (compiler_output): Support tcl 8.3.1.
2000-09-10  Michael Chamberlain <michael@chamberlain.net.au>

	* gcc.misc-tests/mg.exp (compiler_output): Support tcl 8.3.1.

From-SVN: r43675
2001-07-01 18:55:46 +00:00
Zack Weinberg b8363a243d c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT, RID_LAST_PQ.
* c-common.h (enum rid): Add RID_FIRST_AT, RID_LAST_AT,
	RID_LAST_PQ.  Move RID_FIRST_PQ down with the other FIRST/LAST
	enumerators.
	(OBJC_IS_AT_KEYWORD, OBJC_IS_PQ_KEYWORD): New macros.

	* c-parse.in (OBJC_STRING): Kill.
	(objc_string): Decompose to [objc_string] '@' STRING.
	(reswords): Take the leading '@' off all the Objective C keywords.
	(objc_rid_sans_at): Kill.
	(init_reswords): Don't initialize it.
	(yylexname): Use OBJC_IS_AT_KEYWORD and OBJC_IS_PQ_KEYWORD.
	(_yylex): Kill reconsider label.  Look ahead one token after
	an '@'; if we get an identifier, check whether it's an
	Objective C @-keyword.  If so, return the keyword.  Otherwise,
	put back the token and return the '@' as a terminal.

	* cpplib.c (lex_macro_node): Remove unnecessary check for
	leading '@' on identifier.  Clarify control flow and commentary.

From-SVN: r43674
2001-07-01 18:48:13 +00:00
Richard Kenner 128e8aa952 Minor comment and whitespace changes
From-SVN: r43673
2001-07-01 12:50:11 -04:00
Richard Kenner be8ac49a3e cse.c (new_label_ref): Variable deleted.
* cse.c (new_label_ref): Variable deleted.
	(insert): Remove set of new_label_ref.
	(check_for_label_ref): New function.
	(cse_basic_block): Don't check new_label_ref; call check_for_label_ref.

From-SVN: r43672
2001-07-01 11:52:26 -04:00
Richard Kenner b987f23731 Trivial whitespace changes
From-SVN: r43671
2001-07-01 09:34:02 -04:00
Toon Moene cf382a9154 fio.h: Use off_t when appropriate.
2001-07-01  Toon Moene  <toon@moene.indiv.nluug.nl>
            Pedro Vazquez  <vazquez@penelope.iqm.unicamp.br>

	* libI77/fio.h: Use off_t when appropriate.
	* libI77/backspace.c (f_back): Ditto.
	* libI77/endfile.c (t_runc): Ditto.
	* libI77/err.c (f__nowreading): Ditto.
	* libI77/ftell_.c (unit_chk): Ditto.
	* libI77/sue.c (global f__recloc, s_wsue): Ditto.

Co-Authored-By: Pedro Vazquez <vazquez@penelope.iqm.unicamp.br>

From-SVN: r43670
2001-07-01 13:18:08 +00:00
Zoltan Felleg e514984118 * warn_summary: Fix typo in a comment.
From-SVN: r43669
2001-07-01 10:25:32 +00:00
GCC Administrator 80617fee7e Daily bump.
From-SVN: r43668
2001-07-01 07:16:41 +00:00
Zack Weinberg b3da804c23 * ns32k.md: Remove stray backslash-newline in output template.
From-SVN: r43666
2001-06-30 18:07:44 +00:00
Zack Weinberg 1f3b37a3d5 rtl.def (DEFINE_INSN, [...]): Change output-template slot to format 'T'.
* rtl.def (DEFINE_INSN, DEFINE_INSN_AND_SPLIT, DEFINE_PEEPHOLE):
	Change output-template slot to format 'T'.
	* rtl.h (XTMPL): New.
	* read-rtl.c (read_escape): New function.
	(read_quoted_string, read_braced_string): Use it.
	(read_rtx): Set star_if_braced from the format string.
	Use XTMPL where appropriate.
	* genoutput.c (gen_insn, gen_peephole): Use XTMPL to get the
	template string.

	* rtl.c: Include errors.h for sake of rtl_check_failed* routines.
	Document 'T' in rtx format strings.
	* Makefile.in (rtl.o, $(HOST_PREFIX_1)rtl.o): Depend on errors.h.
	* errors.c (internal_error): Add missing ": " at end of string.

	* i860.md: Change triple backslashes to double backslashes at
	ends of lines in output templates.

From-SVN: r43665
2001-06-30 17:23:53 +00:00
Nick Clifton 07804c3b7d Append a DIR_SEPARATOR to a path specified by the -B switch, if doing so would
create a valid directory name.

From-SVN: r43664
2001-06-30 08:46:31 +00:00
GCC Administrator bc2fa2fd2e Daily bump.
From-SVN: r43663
2001-06-30 07:17:41 +00:00
Benjamin Kosnik 13f83598b3 locale_facets.tcc (locale::combine): Clone _Impl.
2001-06-29  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/locale_facets.tcc (locale::combine): Clone _Impl.
	before replacing facet.
	* include/bits/localefwd.h (locale::_Impl::_M_remove_reference):
	Correct decrement.
	* src/localename.cc (locale::_Impl): Correct ctor initialization
	lists. Initialize ref count with one. Simplify.
	* src/locale.cc: Add comment.
	* testsuite/22_locale/numpunct.cc (test01): Add derivation test.
	* testsuite/22_locale/numpunct_char_members.cc (test01): Add tests.
	* testsuite/22_locale/members.cc (test02): Fix.

From-SVN: r43661
2001-06-30 04:35:49 +00:00
Jeffrey A Law 8f1ae09ac2 gcc.texi (Passes): Update due to recent -fdce -> -fssa-dce changes.
* gcc.texi (Passes): Update due to recent -fdce -> -fssa-dce
        changes.  Fix documentation for SSA DCE pass.

From-SVN: r43660
2001-06-29 16:04:40 -06:00