Commit Graph

38532 Commits

Author SHA1 Message Date
Richard Henderson 1ee9fb202a dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING on the symbol string.
* dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
        on the symbol string.

From-SVN: r46906
2001-11-09 15:18:56 -08:00
Kaveh R. Ghazi 1e5cf79655 elf.h (ASM_DECLARE_FUNCTION_NAME, [...]): Undef before defining.
* pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
	ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
	* config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.

From-SVN: r46905
2001-11-09 23:16:04 +00:00
Kaveh R. Ghazi 137bb46a78 clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
* clipper.h (ASM_OUTPUT_REG_POP): Fix typo.

	* tlink.c (recompile_files): Copy strings passed to `putenv'.

From-SVN: r46904
2001-11-09 23:13:22 +00:00
Kaveh R. Ghazi 4fdc14caaa * class.c (dump_array): Fix format specifier warning.
From-SVN: r46903
2001-11-09 23:08:36 +00:00
Geoffrey Keating 50e9f73a3b tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
* tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
	(TYPE_READONLY): Likewise.

From-SVN: r46902
2001-11-09 23:08:19 +00:00
Geoffrey Keating ff6051b76e flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
* flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.

In testsuite/:

	* gcc.c-torture/execute/20011109-2.c: New test.

From-SVN: r46901
2001-11-09 23:06:04 +00:00
Geoffrey Keating 322fe6e185 stormy16.h (ASM_SPEC): Revert last change...
* config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
	don't pass --gdwarf2 to the assembler if the compiler will also
	provide debug info.

From-SVN: r46900
2001-11-09 23:04:52 +00:00
Geoffrey Keating 4192f0d20d stormy16.c (xstormy16_expand_casesi): Don't change INDEX.
* config/stormy16/stormy16.c (xstormy16_expand_casesi):
	Don't change INDEX.

In testsuite/:

	* gcc.c-torture/execute/20011109-1.c: New test.

From-SVN: r46899
2001-11-09 23:04:01 +00:00
Richard Kenner a4311dfe6d alias.c (nonoverlapping_memrefs_p): New function.
* alias.c (nonoverlapping_memrefs_p): New function.
	(true_dependence, canon_true_depenence, write_dependence_p): Call it.

From-SVN: r46897
2001-11-09 17:52:09 -05:00
Richard Kenner 9ddfb1a75b * emit-rtl.c (set_mem_attributes): Get alignments for constants.
From-SVN: r46896
2001-11-09 17:48:29 -05:00
Aldy Hernandez 2473ee110f rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
2001-11-09  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
	(CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
	generating altivec code.
	(FIXED_REGISTERS): VRSAVE is fixed.
	(CALL_USED_REGISTERS): VRSAVE is call used.

From-SVN: r46895
2001-11-09 22:34:47 +00:00
Jason Eckhardt 53c12e8dfc mips.c (mips_output_conditional_branch): Do not hard code the branch target as ".+16/.+12", but rather use labels.
* config/mips/mips.c (mips_output_conditional_branch): Do not hard
        code the branch target as ".+16/.+12", but rather use labels.

From-SVN: r46893
2001-11-09 14:00:08 -08:00
Jeffrey A Law 9db5bf7113 milli64.S: Use %r25 and %r0 instead of arg1 and r0 to work around limitations of certain...
* config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0
        to work around limitations of certain versions of GAS.

From-SVN: r46890
2001-11-09 13:07:43 -07:00
Jeffrey A Law 512672fd5a pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
* pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
        (muldi3): Update due to SUBREG_BYTE changes.
        (casesi): Similarly.

From-SVN: r46889
2001-11-09 13:00:50 -07:00
Kazu Hirata beda04276f * MAINTAINERS (Various maintainers: h8 port): Add myself.
From-SVN: r46888
2001-11-09 19:09:06 +00:00
Zack Weinberg 2e7bb36bf1 * doc/invoke.texi: Remove comment referring to -xf77-version.
From-SVN: r46887
2001-11-09 18:54:32 +00:00
Kazu Hirata cde34caf14 convex.c: Fix comment formatting.
* config/convex/convex.c: Fix comment formatting.
	* config/convex/convex.h: Likewise.

From-SVN: r46886
2001-11-09 18:37:42 +00:00
John David Anglin 6ca224d34d * MAINTAINERS (Various maintainers: hppa port): Added myself.
From-SVN: r46885
2001-11-09 18:11:37 +00:00
Zack Weinberg 359cd11e36 Makefile.in (.po.pox): Look both in srcdir and builddir for $(PACKAGE).pot.
* Makefile.in (.po.pox): Look both in srcdir and builddir
	for $(PACKAGE).pot.
	(po/$(PACKAGE).pot): Don't move-if-change the new potfile over
	to the source directory.
	* po/exgettext: Deposit new potfile in po subdir.

From-SVN: r46884
2001-11-09 17:51:56 +00:00
Zack Weinberg 8fbea508b1 g77spec.c (lang_specific_driver): Adjust behavior of -v and --version for consistency with other front ends.
* g77spec.c (lang_specific_driver): Adjust behavior of -v and
	--version for consistency with other front ends.  Remove large
	#if 0 block.  Do not add libraries to argv if there are no
	input files.
	(add_version_magic): Delete all references and dependent code.
	* lang-options.h: Delete -fnull-version.
	* lang-specs.h: Delete f77-version spec.

	* lex.c: Delete logic conditional on ffe_is_null_version() and
	now-unused label.
	* top.c: Delete ffe_is_null_version_ variable.
	(ffe_decode_option): Delete -fnull-version case.
	* top.h: Delete declaration of ffe_is_null_version_ and
	ffe_is_null_version(), ffe_set_is_null_version() macros.

From-SVN: r46883
2001-11-09 17:50:06 +00:00
Jeff Sturm 75b17b742a * verify.cc: Wrap in #ifdef INTERPRETER...#endif.
From-SVN: r46882
2001-11-09 17:33:45 +00:00
Ben Elliston de41e41c42 m32r.c: Add support for m32rx processor.
* m32r.c: Add support for m32rx processor.
        * m32r.h: Ditto.
        * m32r.md: Ditto.
        * t-m32r: Ditto.
        * m32r-protos.h: Add prototypes for m32rx functions.
        * doc/invoke.texi: Document -m32rx option.

Co-Authored-By: Andrew MacLeod <amacleod@redhat.com>
Co-Authored-By: Catherine Moore <clm@redhat.com>
Co-Authored-By: Michael Meissner <meissner@redhat.com>
Co-Authored-By: Nick Clifton <nickc@redhat.com>
Co-Authored-By: Richard Henderson <rth@redhat.com>

From-SVN: r46881
2001-11-09 09:57:50 -05:00
Jakub Jelinek a3d87e92eb sparc.md (movdf): Avoid calling validize_mem during or after reload.
* config/sparc/sparc.md (movdf): Avoid calling validize_mem during
	or after reload.

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

From-SVN: r46880
2001-11-09 15:30:33 +01:00
Gerald Pfeifer 7ade1c9cd7 * doc/install.texi2html: Use $MAKEINFO --no-split.
From-SVN: r46879
2001-11-09 10:56:01 +00:00
Andreas Schwab 66e918e53f Makefile.in ($(HOST_PREFIX_1)rtl.o, $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o, $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o, $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
* Makefile.in ($(HOST_PREFIX_1)rtl.o,
	$(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
	$(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
	$(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
	$(HOST_PREFIX_1)ggc-none.o): Update dependencies.

From-SVN: r46878
2001-11-09 09:55:23 +00:00
H.J. Lu 2aae2cc70c mips.c (mips_output_function_prologues): Cast `tsize' to long for output.
2001-11-09  H.J. Lu <hjl@gnu.org>

	* config/mips/mips.c (mips_output_function_prologues): Cast
	`tsize' to long for output.

From-SVN: r46877
2001-11-09 00:53:18 -08:00
GCC Administrator 594f48d917 Daily bump.
From-SVN: r46876
2001-11-09 08:20:48 +00:00
Neil Booth 3ac88239fc c-lang.c (LANG_HOOKS_NAME): New.
* c-lang.c (LANG_HOOKS_NAME): New.
	(lang_hooks): Constify.
	(c_init_options): Update.
	(lang_identify): Remove.
	* c-parse.in (language_string): Remove.
	* dbxout.c: Include langhooks.h.
	(dbxout_symbol_location): Update.
	* dwarf2out.c: Include langhooks.h.
	(gen_compile_unit_die): Update.
	* dwarfout.c: Include langhooks.h.
	(prototyped_attribute, output_compile_unit_die): Update.
	* langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
	(LANG_HOOKS_INITIALIZER): Update.
	* langhooks.h (struct lang_hooks): New members.  Constify.
	* stringpool.c: Don't include toplev.h.
	(set_identifier_size): Remove.
	* toplev.c (toplev_main): Initialize identifier size.
	(print_version): Update.
	* tree.h (language_string, init_lex, lang_identify,
	set_identifier_size): Remove.
	* Makefile.in: Update dependencies.
	* config/darwin.c: Include langhooks.h.
	(func_name_maybe_scoped): Update.
	* config/darwin.h (ASM_END_FILE): Update.
	* config/nextstep.h (ASM_END_FILE): Update.
	* config/nextstep21.h (ASM_END_FILE): Update.
	* config/i386/sun386.h (ASM_END_FILE): Update.
	* config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
	(rs6000_output_function_epilogue): Update.
ada:
	* misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override.
	(struct lang_hooks): Constify.
	(language_string, lang_identify): Remove.
	* utils.c (init_decl_processing): Update.
cp:
	* cp-lang.c (LANG_HOOKS_NAME): Override.
	(struct lang_hooks): Constify.
	* lex.c (cxx_init_options): Update.
	(lang_identify): Remove.
	* parse.y (language_string): Remove.
f:
	* com.c (language_string, lang_identify): Remove.
	(struct lang_hooks): Constify.
	(LANG_HOOKS_NAME): Override.
	(init_parse): Update.
java:
	* jcf-parse.c (init_lex): Remove.
	* lang.c (language_string, lang_identify): Remove.
	(struct lang_hooks): Constify.
	(LANG_HOOKS_NAME): Override.
	(init_parse): Update.
objc:
	* objc-act.c (LANG_HOOKS_NAME): Override.
	(struct lang_hooks): Constify.
	(objc_init_options): Update.
	(lang_identify): Remove.

From-SVN: r46874
2001-11-09 07:14:20 +00:00
Geoffrey Keating 14d269bba7 * config.gcc: Rename stormy16 to xstormy16.
From-SVN: r46873
2001-11-09 05:32:46 +00:00
John Wehle 11b161d069 fold-const.c (lshift_double): Honor PREC.
* fold-const.c (lshift_double): Honor PREC.
	(rshift_double): Likewise.

From-SVN: r46872
2001-11-09 05:27:51 +00:00
Kazu Hirata 702020d658 1750a.c: Fix comment formatting.
* config/1750a/1750a.c: Fix comment formatting.
	* config/1750a/1750a.h: Likewise.

From-SVN: r46871
2001-11-09 02:51:34 +00:00
Phil Edwards cc9a08e014 configure.in (--enable-languages): Be more permissive about syntax.
* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.
* configure: Regenerated.

From-SVN: r46870
2001-11-08 21:06:30 -05:00
Phil Edwards 132e4bd7eb configure.in (--enable-languages): Be more permissive about syntax.
* configure.in (--enable-languages): Be more permissive about
syntax.  Check for empty lists better.  Warn about $LANGUAGES.

From-SVN: r46869
2001-11-08 21:06:18 -05:00
Richard Henderson aa1c9d3875 * dwarf2asm.c (dw2_force_const_mem): Fix typo.
From-SVN: r46868
2001-11-08 17:21:13 -08:00
Geoffrey Keating c6243b4cbd In ChangeLog: 2001-11-08 Geoffrey Keating <geoffk@redhat.com>
In ChangeLog:
2001-11-08  Geoffrey Keating  <geoffk@redhat.com>

	* config.sub: Import from master sources, rev. 1.230.
	* MAINTAINERS: Change 'stormy16' to 'xstormy16'.

Index: gcc/ChangeLog
2001-11-08  Geoffrey Keating  <geoffk@redhat.com>

	* config.gcc: Rename stormy16 to xstormy16.
	* config/stormy16/stormy-abi: Likewise.
	* config/stormy16/stormy16-protos.h: Likewise.
	* config/stormy16/stormy16.c: Likewise.
	* config/stormy16/stormy16.h: Likewise.
	* config/stormy16/stormy16.md: Likewise.

Index: gcc/testsuite/ChangeLog
2001-11-08  Geoffrey Keating  <geoffk@redhat.com>

	* g++.old-deja/g++.bugs/900227_01.C: Change stormy16 to xstormy16.
	* g++.old-deja/g++.eh/badalloc1.C: Change stormy16 to xstormy16.
	* g++.old-deja/g++.mike/ns15.C: Change stormy16 to xstormy16.
	* g++.old-deja/g++.pt/crash16.C: Change stormy16 to xstormy16.
	* gcc.c-torture/compile/961203-1.x: Change stormy16 to xstormy16.
	* gcc.c-torture/compile/980506-1.x: Change stormy16 to xstormy16.
	* gcc.c-torture/compile/990617-1.x: Change stormy16 to xstormy16.

From-SVN: r46867
2001-11-09 01:17:07 +00:00
Richard Kenner 7857151141 * reload1.c (reload): Don't delete equiv insn if can throw.
From-SVN: r46866
2001-11-08 18:40:15 -05:00
Richard Kenner 66c60e6756 expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
* expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
	(clear_storage): Likewise, for OBJECT.

From-SVN: r46865
2001-11-08 18:33:08 -05:00
Jeffrey A Law 99a2782c86 pa.c (emit_move_sequence): Fix SUBREG expression to use proper byte offset when...
* pa.c (emit_move_sequence): Fix SUBREG expression to
        use proper byte offset when extending a constant from
        SImode to DImode.

From-SVN: r46864
2001-11-08 16:23:29 -07:00
Jakub Jelinek 89753b3a90 cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns which cannot throw.
* cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
	which cannot throw.

From-SVN: r46863
2001-11-09 00:14:26 +01:00
Richard Kenner 6608bd4de4 explow.c (convert_memory_address, [...]): Only return inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
* explow.c (convert_memory_address, case SUBREG): Only return
	inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.

From-SVN: r46862
2001-11-08 17:56:52 -05:00
Richard Henderson f098ead2f5 Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
* Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
        (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
        (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.

From-SVN: r46860
2001-11-08 14:48:13 -08:00
Aldy Hernandez 775db4902f * rs6000.h (ASM_CPU_SPEC): Add -maltivec.
From-SVN: r46859
2001-11-08 22:46:23 +00:00
Jakub Jelinek 9eb4015a4a dwarf2out.c (debug_str_hash): New.
* dwarf2out.c (debug_str_hash): New.
	(struct indirect_string_node): New.
	(struct dw_val_struct): Change type of val_str to it.
	(DEBUG_STR_SECTION_FLAGS): Define.
	(add_AT_string): Push string into hashtable, increment reference
	counter.
	(AT_string): Return string from ht_identifier.
	(AT_string_form): New.
	(free_AT): For dw_val_class_str, just decrement reference counter.
	(size_of_string): Remove.
	(size_of_die): Use AT_string_form to decide what size the string
	occupies in DIE.
	(size_of_pubnames): Use strlen instead of size_of_string.
	(value_format): Use AT_string_form for dw_val_class_str.
	(output_die): Output DW_FORM_strp strings using
	dw2_asm_output_offset.
	(indirect_string_alloc, output_indirect_string): New.
	(dwarf2out_finish): Emit .debug_str strings if there are any.

From-SVN: r46858
2001-11-08 22:07:46 +01:00
Danny Smith 944effb637 configure.target: Add os_include_dir for mingw32* target.
* configure.target: Add os_include_dir for mingw32* target.
* docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting from
_GLIBCPP_AVOID_FSEEK.
* config/os/mingw32/bits/ctype_base.h: New file.
* config/os/mingw32/bits/ctype_inline.h: New file.
* config/os/mingw32/bits/ctype_noninline.h: New file.
* config/os/mingw32/bits/os_defines.h: New file.

From-SVN: r46857
2001-11-08 20:52:29 +00:00
Andreas Franck b21d216c74 configure.in: Add AC_ARG_PROGRAM to support program name transformation with --program-prefix...
* configure.in: Add AC_ARG_PROGRAM to support program name
transformation with --program-prefix, --program-suffix and
--program-transform-name.
* Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(GCC_TARGET_INSTALL_NAME): Define.
(install-driver): Use the transformed target alias name.


* Make-lang.in (CXX_INSTALL_NAME, GXX_CROSS_NAME,
DEMANGLER_CROSS_NAME): Handle program_transform_name the way
suggested by autoconf.
(GXX_TARGET_INSTALL_NAME, CXX_TARGET_INSTALL_NAME): Define.
(c++.install-common): Use the transformed target alias names.

* Make-lang.in (G77_INSTALL_NAME, G77_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.

* Make-lang.in (JAVA_INSTALL_NAME, JAVA_CROSS_NAME): Handle
program_transform_name the way suggested by autoconf.
(java.install-common): Also transform auxiliary program names with
program_transform_name.

From-SVN: r46856
2001-11-08 15:18:18 -05:00
Richard Henderson c8a14e0e9a mips.c (save_restore_insns): Remove GP from the restore registers mask early instead of special casing it...
* config/mips/mips.c (save_restore_insns): Remove GP from the
        restore registers mask early instead of special casing it inside
        the loop.

From-SVN: r46853
2001-11-08 11:20:38 -08:00
Neil Booth 8ac9ea616e decl.c (shadow_warning): New function.
* cp/decl.c (shadow_warning): New function.
	(pushdecl): Improve -Wshadow warnings.  Don't give both a warning
	and an error when a block scope decl shadows a parameter.

	* g++.dg/warn/Wshadow-1.C: New tests.
	* g++.old-deja/g++.mike/for3.C: Update.

From-SVN: r46852
2001-11-08 19:04:43 +00:00
Richard Henderson 86724f7f86 fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST case as well.
* config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
        case as well.

From-SVN: r46851
2001-11-08 10:56:45 -08:00
Aldy Hernandez f4fdaedae3 objc-api.h (_C_VECTOR): New.
2001-11-07  Aldy Hernandez  <aldyh@redhat.com>

	 * objc-api.h (_C_VECTOR): New.

	 * encoding.c (VECTOR_TYPE): New.

From-SVN: r46849
2001-11-08 18:51:27 +00:00
John David Anglin 8270e11fe7 pa.md (negdf2, negsf2): Use multiplication rather than subtraction to implement floating negation on...
* pa.md (negdf2, negsf2): Use multiplication rather than subtraction
	to implement floating negation on processors prior to PA 2.0.

From-SVN: r46847
2001-11-08 17:19:07 +00:00