Commit Graph

47021 Commits

Author SHA1 Message Date
Geoffrey Keating
5f7c78d8a4 ffi_darwin.c: Remove RCS version string.
* src/powerpc/ffi_darwin.c: Remove RCS version string.
	* src/powerpc/darwin.S: Remove RCS version string.

From-SVN: r61135
2003-01-10 00:01:32 +00:00
Michael Hayes
eb47a20599 c4x.c (c4x_naked_function_p): Rename from c4x_assembler_function_p.
* config/c4x/c4x.c (c4x_naked_function_p): Rename from
	c4x_assembler_function_p.
	(c4x_null_epilogue_p): Complement return value, all uses updated.
	(c4x_insert_attributes): Add naked.

From-SVN: r61134
2003-01-09 23:24:48 +00:00
Kaveh R. Ghazi
d2097937c5 * All Files: Remove PARAMS macro.
From-SVN: r61133
2003-01-09 23:16:56 +00:00
Vladimir Makarov
30028c8515 2003-01-09 Vladimir Makarov <vmakarov@redhat.com>
Merging changes from itanium-sched-branch:

From-SVN: r61132
2003-01-09 23:15:34 +00:00
Kaveh R. Ghazi
6ff2fe3933 expr.c, [...]: Don't rely on the DEFUN', AND' or `__STDC__' macros.
* expr.c, gjavah.c, javaop.h, jcf-dump.c, jcf-io.c, jcf-reader.c,
	jcf-write.c, jcf.h, jv-scan.c: Don't rely on the `DEFUN', `AND' or
	`__STDC__' macros.

From-SVN: r61131
2003-01-09 23:13:02 +00:00
Kaveh R. Ghazi
b3339cf7a7 jv-scan.c, parse.y: Remove VPARAMS, VA_OPEN, VA_FIXEDARG and VA_CLOSE.
* jv-scan.c, parse.y: Remove VPARAMS, VA_OPEN, VA_FIXEDARG and
	VA_CLOSE.

From-SVN: r61129
2003-01-09 22:53:28 +00:00
Jan Hubicka
cb297538d0 * i386.md (unit, prefix_0f, memory attributes): Hanlde sseicvt correctly.
From-SVN: r61128
2003-01-09 21:49:31 +00:00
Alexandre Oliva
cf53ae10de configure.in: Remove Makefile in build...
* configure.in: Remove Makefile in build, host and target modules
unless configure was run with --no-recursion.
* configure: Rebuilt.

From-SVN: r61126
2003-01-09 20:44:53 +00:00
Paolo Carlini
3a6e2189f3 tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.
2003-01-09  Paolo Carlini  <pcarlini@unitus.it>

	* doc/tm.texi (EXTRA_ADDRESS_CONSTRAINT): Fix typo.

From-SVN: r61124
2003-01-09 20:02:51 +00:00
Jakub Jelinek
ca5dd8b7e5 * decl.c (start_decl): Only check DECL_THREAD_LOCAL for VAR_DECLs.
From-SVN: r61121
2003-01-09 19:13:40 +01:00
J"orn Rennecke
9748887028 defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
* defaults.h (EXTRA_MEMORY_CONSTRAINT): Add STR argument.
	(EXTRA_ADDRESS_CONSTRAINT): Likewise.
	(CONSTRAINT_LEN): Provide default definition.
	(CONST_OK_FOR_CONSTRAINT_P): Likewise.
	(CONST_DOUBLE_OK_FOR_CONSTRAINT_P): Likewise.
	(EXTRA_CONSTRAINT_STR): Likewise.
	(REG_CLASS_FROM_CONSTRAINT): Define.
	* genoutput.c (check_constraint_len, constraint_len): New functions.
	(validate_insn_alternatives): Check CONSTRAINT_LEN for each
	constraint / modifier.
	(gen_insn): Call check_constraint_len.
	* local-alloc.c (block_alloc): Update to use new macros / pass
	second argument to EXTRA_{MEMORY,ADDRESS}_CONSTRAINT.
	* ra-build.c (handle_asm_insn): Likewise.
	* recog.c (asm_operand_ok, preprocess_constraints): Likewise.
	(constrain_operands, peep2_find_free_register): Likewise.
	* regclass.c (record_operand_costs, record_reg_classes): Likewise.
	* regmove.c (find_matches): Likewise.
	* reload.c (push_secondary_reload, find_reloads): Likewise.
	(alternative_allows_memconst): Likewise.
	* reload1.c (maybe_fix_stack_asms): Likewise.
	(reload_cse_simplify_operands): Likewise.
	* stmt.c (parse_output_constraint, parse_input_constraint): Likewise.
	* doc/tm.texi (CONSTRAINT_LEN, REG_CLASS_FROM_CONSTRAINT): Document.
	(CONST_OK_FOR_CONSTRAINT_P): Likewise.
	(CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR): Likewise.
	(EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT): Add STR argument.
	* config/s390/s390.h (EXTRA_MEMORY_CONSTRAINT): Likewise.

From-SVN: r61119
2003-01-09 17:28:49 +00:00
J"orn Rennecke
e2c734c181 * sh.h (OVERRIDE_OPTIONS): Allow first scheduling pass for SH5.
From-SVN: r61118
2003-01-09 17:25:29 +00:00
Kazu Hirata
fc182093e6 h8300.md (*extzv_1_r_h8300): Correct the insn length.
* config/h8300/h8300.md (*extzv_1_r_h8300): Correct the insn
	length.
	(*extzv_1_r_h8300hs): Likewise.
	(*extzv_1_r_inv_h8300): Likewise.
	(*extzv_1_r_inv_h8300hs): Likewise.

From-SVN: r61115
2003-01-09 14:59:01 +00:00
Kriang Lerdsuwanakij
0f399e5f9b pt.c (push_access_scope_real): Call push_to_top_level for function in namespace scope.
* pt.c (push_access_scope_real): Call push_to_top_level for
	function in namespace scope.
	(pop_access_scope): Call pop_from_top_level for function in
	namespace scope.

	* g++.dg/template/friend14.C: New test.

From-SVN: r61114
2003-01-09 13:55:46 +00:00
Jakub Jelinek
c456a45a19 * decl.c (start_decl): Don't set DECL_COMMON for __thread variables.
From-SVN: r61111
2003-01-09 14:27:49 +01:00
Kazu Hirata
3b1c9927ca * config/h8300/h8300.h (PREDICATE_CODES): New.
From-SVN: r61109
2003-01-09 13:19:58 +00:00
Kazu Hirata
867504e660 h8300.md (*addsi3_upper): New.
* config/h8300/h8300.md (*addsi3_upper): New.
	(*iorsi3_shift): Likewise.
	(two splitters): Likewise.
	(*addsi3_shift): Likewise.
	(two splitters): Likewise.

From-SVN: r61106
2003-01-09 13:05:49 +00:00
Josef Zlomek
4a69cf7914 Makefile.in (optabs.o): Add dependency on basic-block.h.
* Makefile.in (optabs.o): Add dependency on basic-block.h.
	* basic-block.h (control_flow_insn_p): Fuction was exported.
	* cfgbuild.c (control_flow_insn_p): Fuction was made non-static.
	* optabs.c (emit_libcall_block): Emit REG_LIBCALL and REG_RETVAL
	notes only when the region is contained in a single basic block.

From-SVN: r61101
2003-01-09 11:47:35 +00:00
Eric Botcazou
8cb1a818e9 Forgot the '*'...
From-SVN: r61100
2003-01-09 11:15:15 +00:00
Eric Botcazou
4c46ea2353 re PR inline-asm/8832 (traditional "asm volatile" code is illegally optimized)
PR inline-asm/8832
	* tree.h (expand_asm): New prototype.
	* stmt.c (expand_asm): Set the MEM_VOLATILE_P flag if instructed
	to do so.
	* c-semantics (genrtl_asm_stmt): Pass the RID_VOLATILE qualifier
	down to expand_asm.
	* c-typeck.c (simple_asm_stmt): Set the RID_VOLATILE qualifier.
	* rtlanal.c (volatile_insn_p) [ASM_INPUT]: Test the MEM_VOLATILE_P flag.
	(volatile_refs_p) [ASM_INPUT]: Likewise.
	(side_effects_p) [ASM_INPUT]: Likewise.

From-SVN: r61099
2003-01-09 11:13:07 +00:00
Jan Hubicka
f56e86bd9c re PR target/8343 ([m68k] [3.2 regression] m68k-elf/rtems ICE at instantiate_virtual_regs_1)
* i386.md (*mul*): FIx constraints; remove confused comment; fix
	athlon_decode attributes
	(imul/k8 optimization peep2s): New.

	* athlon.md (athlon_ssecmp*): Handle ssecomi as well.
	* i386.md (type attribute): Add ssecomi.
	(unit, memory, prefix attributes): Handle ssecomi.
	(cvt?2? patterns): Fix athlon_decode attribute
	(comi patterns): Set attribute to ssecomi.

	PR target/8343
	* m68k.md (umulsidi, mulsidi expanders): Use register operand.

From-SVN: r61098
2003-01-09 11:03:00 +00:00
Richard Sandiford
98c29f719c mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates that match register_operands.
* config/mips/mips.h (PREDICATE_CODES): Add ADDRESSOF for predicates
	that match register_operands.
	* config/mips/mips.c (reg_or_0_operand, true_reg_or_0_operand): Make
	register_operand the default case.

From-SVN: r61097
2003-01-09 09:43:23 +00:00
Eric Botcazou
bbb818c65a re PR c/8032 (GCC >= 3.0 incorrectly initializes static structs in the presence of flexible arrays)
PR c/8032
	* c-typeck.c (process_init_element) [RECORD_TYPE]: For
	an empty element, do not advance the pointer to unfilled
	fields if there are pending initializers.

From-SVN: r61092
2003-01-09 09:18:52 +00:00
GCC Administrator
eb27f449b6 Daily bump.
From-SVN: r61091
2003-01-09 08:17:32 +00:00
Christian Cornelssen
d7082cd712 Makefile.in (install_to_libdir, [...]): Add a mkinstalldirs command.
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Makefile.in (install_to_libdir, install_to_tooldir): Add a
	mkinstalldirs command.

From-SVN: r61083
2003-01-09 09:10:57 +01:00
Christian Cornelssen
90e5b39f8e Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
libf2c:
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
	(install, uninstall): Prepend $(DESTDIR) to destination
	paths in all (un)installation commands.

libiberty:
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.

libobjc:
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
	(install-libs, install-headers): Prepend $(DESTDIR) to
	destination paths in all (un)installation commands.

libstdc++:
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* include/Makefile.am (install-data-local): Prepend
	$(DESTDIR) to destination paths in all (un)installation
	commands.  Use ${c_base_builddir} and ${std_builddir}
	as destination subdirectories to achieve consistency with
	preceding mkinstalldirs commands.  No effect because both
	variables contain "." only.
	* include/Makefile.in: Regenerate.

From-SVN: r61082
2003-01-09 09:08:30 +01:00
Christian Cornelssen
8a4c5898ad Make-lang.in (java.install-common, [...]): Prepend $(DESTDIR) to destination paths in all (un)installation commands.
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Make-lang.in (java.install-common, java.uninstall,
	java.install-info, java.install-man): Prepend $(DESTDIR)
	to destination paths in all (un)installation commands.
	(java.install-common): Rewrite $(LN) command to support
	DESTDIR with "ln" as well as with "ln -s".

From-SVN: r61081
2003-01-09 09:05:56 +01:00
Christian Cornelssen
17b4fdbff2 Make-lang.in (treelang.install.common.done, [...]): Prepend $(DESTDIR) to destination paths in all (un)installation commands.
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Make-lang.in (treelang.install.common.done,
	treelang.install-info, treelang.uninstall): Prepend
	$(DESTDIR) to destination paths in all (un)installation
	commands.

From-SVN: r61080
2003-01-09 09:05:30 +01:00
Christian Cornelssen
2c6ce97ed1 Make-lang.in (c++.install-common, [...]): Prepend $(DESTDIR) to destination paths in all (un)installation commands.
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Make-lang.in (c++.install-common, c++.install-man,
	c++.uninstall): Prepend $(DESTDIR) to destination paths in
	all (un)installation commands.
	(c++.install-common): Rewrite $(LN) commands to support
	DESTDIR with "ln" as well as with "ln -s".

From-SVN: r61079
2003-01-09 09:04:52 +01:00
Christian Cornelssen
1d27195cb6 Make-lang.in (ada.install-info, [...]): Prepend $(DESTDIR) to the destination directory in all (un)installation commands.
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Make-lang.in (ada.install-info, ada.install-common,
	ada.uninstall): Prepend $(DESTDIR) to the destination
	directory in all (un)installation commands.
	* Makefile.in (install-gnatlib, install-rts): Ditto.

From-SVN: r61078
2003-01-09 09:03:46 +01:00
Christian Cornelssen
cc8e84c975 Make-lang.in (f77.install-common, [...]): Prepend $(DESTDIR) to destination paths in all (un)installation commands.
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Make-lang.in (f77.install-common, f77.install-info,
	f77.install-man, f77.uninstall): Prepend $(DESTDIR) to
	destination paths in all (un)installation commands.

From-SVN: r61077
2003-01-09 09:01:16 +01:00
Andreas Jaeger
90961eff1b Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Also pass DESTDIR.
	(install-gcc-tooldir, install-cpp, installdirs,
	install-common, install-driver, install-info, install-man,
	install-headers, install-include-dir, install-headers-tar,
	install-headers-cpio, install-headers-cp, install-mkheaders,
	install-collect2, uninstall): Prepend $(DESTDIR) to
	destination paths in all (un)installation commands.
	(install-driver): Rewrite $(LN) commands to support DESTDIR
	with "ln" as well as with "ln -s".
	(installdirs): Simply use mkinstalldirs.
	(install-libgcc, install-multilib): Also pass DESTDIR.
	* mklibgcc.in: Prepend $(DESTDIR) to $(libsubdir) in the
	installation destination variable ldir.
	* config/alpha/t-osf4, config/arm/t-netbsd,
	config/ia64/t-hpux, config/mips/t-iris5-6,
	config/pa/t-hpux-shlib, config/rs6000/t-aix43,
	config/rs6000/t-aix52, config/t-slibgcc-elf-ver,
	config/t-slibgcc-sld: Prepend $$(DESTDIR) to $$(slibdir)
	in the definition of SHLIB_INSTALL.
	* config/arc/t-arc (install-multilib-arc): Prepend $(DESTDIR) to
	$(libsubdir) in the installation commands.

From-SVN: r61076
2003-01-09 09:00:41 +01:00
Kaz Kojima
8b26829f59 sh.h (CASE_VECTOR_MODE): Use SImode for a non-optimizing compile.
* config/sh/sh.h (CASE_VECTOR_MODE): Use SImode for a
	non-optimizing compile.
	(ASM_OUTPUT_ADDR_VEC_ELT): Use .long for a non-optimizing
	compile.

From-SVN: r61075
2003-01-09 07:58:34 +00:00
Christian Cornelssen
3fbe8e4a05 Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>

	* Makefile.tpl (BASE_FLAGS_TO_PASS): Also pass DESTDIR.
	(install-info, dir.info): Prepend $(DESTDIR) to $(infodir).
	* Makefile.in: Regenerate.

From-SVN: r61074
2003-01-09 08:57:00 +01:00
Douglas B Rupp
fe77449a16 i386.c (ix86_attribute_table): Add new attributes ms_struct and gcc_struct.
* config/i386/i386.c (ix86_attribute_table): Add new attributes
	ms_struct and gcc_struct.
	(ix86_handle_struct_attribute): New function.
	(ix86_ms_bitfield_layout_p): Update to take new attributes
	into account.
	* doc/extend.texi: Document new attributes.
	* testsuite/gcc.dg/bf-ms-attrib.c: New test.

From-SVN: r61072
2003-01-09 05:23:55 +00:00
Danny Smith
984179689f re PR rtl-optimization/8750 (Cygwin prolog generation erroneously emitting __alloca as regular function call)
PR optimization/8750
        * config/i386/i386.c (ix86_expand_prologue): Don't allow
        scheduling pass to move insns across __alloca call.

From-SVN: r61068
2003-01-08 18:34:52 -08:00
Dale Johannesen
e46e313075 rs6000.md: Replace *store_multiple_string with *stmsi[3-8].
2003-01-08  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.md:  Replace *store_multiple_string
        with *stmsi[3-8].

From-SVN: r61067
2003-01-09 02:01:57 +00:00
Jeff Sturm
c40e5172f1 re PR target/9210 ([gcc-3.3] bootstrap error in libffi building nof libs)
PR target/9210
* config/rs6000/rs6000.c (rs6000_elf_encode_section_info):
Set SYMBOL_REF_FLAG on local data sym_ref.

From-SVN: r61064
2003-01-09 01:10:43 +00:00
Dale Johannesen
de62b72ce7 function.c (assign_parms): Don't set pretend_args_size if REG_PARM_STACK_SPACE.
2003-01-08  Dale Johannesen  <dalej@apple.com>

        * function.c (assign_parms):  Don't set pretend_args_size if
          REG_PARM_STACK_SPACE.
          config/rs6000/rs6000.c (setup_incoming_varargs):  Don't set
          pretend_args_size.

From-SVN: r61063
2003-01-09 00:53:29 +00:00
Larin Hennessy
cdc497ddf9 dyncast1.C: Remove reference to AMD A29K
2003-01-08  Larin Hennessey  <larin@science.oregonstate.edu>

	* g++.old-deja/g++.mike/dyncast1.C: Remove reference to AMD A29K
	* g++.old-deja/g++.mike/dyncast2.C: Likewise
	* g++.old-deja/g++.mike/dyncast3.C: Likewise
	* g++.old-deja/g++.mike/eh2.C: Likewise
	* g++.old-deja/g++.mike/eh3.C: Likewise
	* g++.old-deja/g++.mike/eh5.C: Likewise
	* g++.old-deja/g++.mike/eh6.C: Likewise
	* g++.old-deja/g++.mike/eh7.C: Likewise
	* g++.old-deja/g++.mike/eh8.C: Likewise
	* g++.old-deja/g++.mike/eh9.C: Likewise
	* g++.old-deja/g++.mike/eh10.C: Likewise
	* g++.old-deja/g++.mike/eh12.C: Likewise
	* g++.old-deja/g++.mike/eh13.C: Likewise
	* g++.old-deja/g++.mike/eh14.C: Likewise
	* g++.old-deja/g++.mike/eh16.C: Likewise
	* g++.old-deja/g++.mike/eh17.C: Likewise
	* g++.old-deja/g++.mike/eh18.C: Likewise
	* g++.old-deja/g++.mike/eh21.C: Likewise
	* g++.old-deja/g++.mike/eh23.C: Likewise
	* g++.old-deja/g++.mike/eh24.C: Likewise
	* g++.old-deja/g++.mike/eh25.C: Likewise
	* g++.old-deja/g++.mike/eh26.C: Likewise
	* g++.old-deja/g++.mike/eh27.C: Likewise
	* g++.old-deja/g++.mike/eh28.C: Likewise
	* g++.old-deja/g++.mike/eh29.C: Likewise
	* g++.old-deja/g++.mike/eh31.C: Likewise
	* g++.old-deja/g++.mike/eh33.C: Likewise
	* g++.old-deja/g++.mike/eh34.C: Likewise
	* g++.old-deja/g++.mike/eh35.C: Likewise
	* g++.old-deja/g++.mike/eh36.C: Likewise
	* g++.old-deja/g++.mike/eh37.C: Likewise
	* g++.old-deja/g++.mike/eh38.C: Likewise
	* g++.old-deja/g++.mike/eh39.C: Likewise
	* g++.old-deja/g++.mike/eh40.C: Likewise
	* g++.old-deja/g++.mike/eh41.C: Likewise
	* g++.old-deja/g++.mike/eh42.C: Likewise
	* g++.old-deja/g++.mike/eh44.C: Likewise
	* g++.old-deja/g++.mike/eh46.C: Likewise
	* g++.old-deja/g++.mike/eh47.C: Likewise
	* g++.old-deja/g++.mike/eh48.C: Likewise
	* g++.old-deja/g++.mike/eh49.C: Likewise
	* g++.old-deja/g++.mike/eh50.C: Likewise
	* g++.old-deja/g++.mike/eh51.C: Likewise
	* g++.old-deja/g++.mike/eh53.C: Likewise
	* g++.old-deja/g++.mike/eh55.C: Likewise
	* g++.old-deja/g++.mike/p7912.C: Likewise
	* g++.old-deja/g++.mike/p9706.C: Likewise
	* g++.old-deja/g++.mike/p10416.C: Likewise
	* g++.old-deja/g++.mike/p11667.C: Likewise
	* g77.f-torture/compile/20010519-1.f: Remove reference to Convex.
	Remove redundant reference to Iris.
	* gcc.dg/20020312-2.c: Remove references to AMD A29K, Clipper, Convex,
	Elxsi, i860, Pico Java, and WE32K.

From-SVN: r61062
2003-01-09 00:46:10 +00:00
Nathanael Nerode
1774f99d7d (This line wasn't in the ChangeLog even though the change was committed)
(This line wasn't in the ChangeLog even though the change was committed)
	* decl.c: Remove some #if 0 code.

From-SVN: r61061
2003-01-09 00:32:06 +00:00
Nathanael Nerode
25839c4147 * gcc.hlp: Delete.
From-SVN: r61060
2003-01-09 00:30:09 +00:00
Jan Hubicka
4bdc8610f2 * i386.c (ix86_expand_int_addcc): Fix thinko.
From-SVN: r61059
2003-01-09 00:00:53 +00:00
David Edelsohn
5b71a4e7ac rs6000.h (FUNCTION_MODE): Always use SImode.
* config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode.
        * config/rs6000/rs6000.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Redefine
        as hook_bool_tree_hwi_hwi_tree_true.
        (rs6000_emit_allocate_stack): Use TARGET_32BIT.
        (rs6000_emit_epilogue): Same.
        (rs6000_output_mi_thunk): Re-implement as RTL.
        * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Call
        xcoffout_declare_function if any debugging enabled.

From-SVN: r61058
2003-01-08 18:05:22 -05:00
Chris Demetriou
66e2aa7d3a config.guess: Update to 2003-01-03 version.
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

        * config.guess: Update to 2003-01-03 version.
        * config.sub: Update to 2003-01-03 version.

From-SVN: r61057
2003-01-08 14:49:26 -08:00
Jason Merrill
f74dbcece0 parser.c (cp_parser_primary_expression): See through explicitly scoped ALIAS_DECLs, too.
* parser.c (cp_parser_primary_expression): See through explicitly
        scoped ALIAS_DECLs, too.

From-SVN: r61054
2003-01-08 15:00:17 -05:00
Chris Demetriou
2d2a50c30a config.gcc (mipsisa32r2-*-elf*, [...]): New targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
2003-01-08  Chris Demetriou  <cgd@broadcom.com>

	* config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New
	targets, to support MIPS32 Release 2 (MIPS32R2) configurations.
	* config/mips/mips.h (enum processor_type): Rename
	PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to
	PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC.
	Add PROCESSOR_M4K.
	(TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming.
	(ISA_MIPS32R2): New define.
	(GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC)
	(ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO)
	(ISA_HAS_PREFETCH): Add support for MIPS32R2.
	(MIPS_ISA_DEFAULT): Likewise.  Also, fix indentation.
	(TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2.  Add new
	predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64.
	(ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if
	compiling MIPS16 code.
	(ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix
	comment.
	(ISA_HAS_SEB_SEH): New define.
	(ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker.
	* config/mips/mips.c (mips_cpu_info_table): Adjust for enum
	processor_type value renaming.  Add support for MIPS32R2.
	Clean up comments, and move "sb1" entry with other MIPS64 CPU
	entries.
	(override_options): Reimplement -mipsN option handling so that
	it will work correctly for -mips32r2.  Avoid branch-likely
	instructions on MIPS32R2.
	* config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2.
	(extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH.
	(extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH.
	(extendhisi2_hw, extendqisi2_hw): New.
	* config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support
	for MIPS32R2.  Add new predefine __mips_isa_rev for MIPS32,
	MIPS32R2, and MIPS64.
	(LINK_SPEC): Pass -mips32r2 to linker.
	* config/mips/t-isa3264: Built -mips32r2 multilibs.
	* doc/invoke.texi (MIPS Options): Add -mips32r2, add support
	for mips32r2 in the -march description.  Alphabetically sort
	CPU names in the -march description.  Add long-missed -mips32
	and -mips64 to MIPS option summary.

	* config.gcc: Update copyright years to include 2003.
	* config/mips/mips.c: Likewise.
	* config/mips/mips.h: Likewise.
	* config/mips/mips.md: Likewise.
	* config/mips/netbsd.h: Likewise.

From-SVN: r61053
2003-01-08 11:57:52 -08:00
Benjamin Kosnik
7ec3af37b9 [multiple changes]
2003-01-08  Benjamin Kosnik  <bkoz@redhat.com>

	* include/Makefile.am (stamp-*): Add checks for existing stamps.
	* include/Makefile.in: Regenerate.

	* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
	* aclocal.m4: Regenerate.

	* configure.in: Don't add new multi-do rules every time the
	directory is reconfigured.
	* configure: Regenerate.

2003-01-08  Brad Spencer  <spencer@infointeractive.com>
            Nathan Myers  <ncm@cantrip.org>

	* src/Makefile.am (stamp-debug): Clean.
	* src/Makefile.in: Regenerate.

From-SVN: r61052
2003-01-08 19:43:11 +00:00
Nathanael Nerode
11f6b45110 * decl.c: ANSIfy function declarations.
From-SVN: r61049
2003-01-08 17:32:13 +00:00
Mark Mitchell
8caf4c38d8 parser.c (cp_parser_asm_definition): Correct handling of omitted operands.
* parser.c (cp_parser_asm_definition): Correct handling of omitted
	operands.

	* g++.dg/ext/asm4.C: New test.

From-SVN: r61048
2003-01-08 16:59:31 +00:00