Commit Graph

63898 Commits

Author SHA1 Message Date
Kelley Cook b269c22bbb Makefile.am: Revert previous.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am: Revert previous.
	* acinclude.m4: Restore.
	* aclocal.m4, configure, Makefile.in: Regenerate.
	* testsuite/Makefile.in: Likewise.

From-SVN: r91292
2004-11-25 13:35:35 +00:00
Gerald Pfeifer 6ade095922 tree-cfg.c (tree_verify_flow_info): Do not terminate error() message with \n.
* tree-cfg.c (tree_verify_flow_info): Do not terminate error()
	message with \n.

From-SVN: r91291
2004-11-25 13:31:47 +00:00
Olivier Hainque e850e1f4bd tb-gcc.c: GCC infrastructure based implementation of __gnat_backtrace.
* tb-gcc.c: GCC infrastructure based implementation of
	__gnat_backtrace.

From-SVN: r91290
2004-11-25 14:11:09 +01:00
Arnaud Charlet 62b6316473 Complete previous check-in: add Style_Check_Xtra_Parens.
From-SVN: r91289
2004-11-25 14:07:56 +01:00
Michael Koch bef638f4d4 Makefile.am: Added most of javax.print again.
2004-11-25  Michael Koch  <konqueror@gmx.de>

	* Makefile.am: Added most of javax.print again.
	* Makefile.in: Regenerated.

From-SVN: r91288
2004-11-25 12:54:38 +00:00
Nathan Sidwell aba5fb01be altivec.md (VIshort): New mode macro.
* config/rs6000/altivec.md (VIshort): New mode macro.
	(altivec_vaddubs, altivec_vadduhs, altivec_vadduws): Replace
	with ...
	(altivec_vaddu<VI_char>s): ... this.
	(altivec_vaddsbs, altivec_vaddshs, altivec_vaddsws): Replace
	with ...
	(altivec_vadds<VI_char>s): ... this.
	(altivec_vsububs, altivec_vsubuhs, altivec_vsubuws): Replace
	with ...
	(altivec_vsubu<VI_char>s): ... this.
	(altivec_vsubsbs, altivec_vsubshs, altivec_vsubsws): Replace
	with ...
	(altivec_vsubs<VI_char>s): ... this.
	(altivec_vavgub, altivec_vavguh, altivec_vavguw): Replace
	with ...
	(altivec_vavgu<VI_char>): ... this.
	(altivec_vavgsb, altivec_vavgsh, altivec_vavgsw): Replace
	with ...
	(altivec_vavgs<VI_char>): ... this.
	(altivec_vmsumubm, altivec_vmsumuhm): Replace with ...
	(altivec_vmsumu<VI_char>m): ... this.
	(altivec_vmsummbm, altivec_vmsummhm): Replace
	with ...
	(altivec_vmsumm<VI_char>m): ... this.
	(altivec_vandc): Remove.
	(*andc<mode>3): Renamed to ...
	(andc<mode>3): ... here. Swap operand 1 and 2 numbering.
	(altivec_vrlb, altivec_vrlh, altivec_vrlw): Replace
	with ...
	(altivec_vrl<VI_char>): ... this.
	(altivec_vslb, altivec_vslh, altivec_vslw): Replace
	with ...
	(altivec_vsl<VI_char>): ... this.
	(altivec_vsrb, altivec_vsrh, altivec_vsrw): Replace
	with ...
	(altivec_vsr<VI_char>): ... this.
	(altivec_vsrab, altivec_vsrah, altivec_vsraw): Replace
	with ...
	(altivec_vsra<VI_char>): ... this.
	(altivec_vsum4sbs, altivec_vsum4shs): Replace with ...
	(altivec_vsum4s<VI_char>s): ... this.
	(altivec_vperm_4si, altivec_vperm_8hi, altivec_vperm_16qi): Replace
	with ...
	(altivec_vperm_<mode>): ... this.
	(altivec_vsel_4sf): Rename to ...
	(altivec_vsel_v4sf): ... here.
	(altivec_vsel_4si, altivec_vsel_8hi, altivec_vsel_16qi): Replace
	with ...
	(altivec_vsel_<mode>): ... this.
	(altivec_vsldoi_4si, altivec_vsldoi_8hi,
	altivec_vsldoi_16qi): Rename to ...
	(altivec_vsldoi_v4si, altivec_vsldoi_v8hi,
	altivec_vsldoi_v16qi): ... here.
	(altivec_vsldoi_4sf): Rename to ...
	(altivec_vsldoi_v4sf): ... here.
	(altivec_predicate_v4si, altivec_predicate_v8hi,
	altivec_predicate_v16qi): Replace with ...
	(altivec_predicate_<mode>): ... this.
	(altivec_lvebx, altivec_lvehx, altivec_lvewx): Replace
	with ...
	(altivec_lve<VI_char>x): ... this.
	(altivec_stvebx, altivec_stvehx, altivec_stvewx): Replace
	with ...
	(altivec_stve<VI_char>x): ... this.
	(absv16qi2, absv8hi2, absv4si2): Replace
	with ...
	(abs<mode>2): ... this.
	(altivec_abss_v16qi, altivec_abss_v8hi, altivec_abss_v4si): Replace
	with ...
	(altivec_abss_<mode>): ... this.
	(vec_realign_load_v16qi, vec_realign_load_v8hi,
	vec_realign_load_v4si): Replace with ...
	(vec_realign_load_<mode>): ... this.
	* config/rs6000/rs6000.c (bdesc_3arg, bdesc_2arg): Update tweaked
	insn names.
	(rs6000_expand_ternop_builtin): Likewise.

From-SVN: r91287
2004-11-25 12:43:39 +00:00
Michael Koch 8f9bd7769a Makefile.am: Added most of javax.print again.
2004-11-25  Michael Koch  <konqueror@gmx.de>

	* Makefile.am: Added most of javax.print again.
	* Makefile.in: Regenerated.

From-SVN: r91286
2004-11-25 12:29:22 +00:00
Andrew Haley fbd8fb2d03 Add missing file from gcj-abi-2-dev-branch merge
From-SVN: r91285
2004-11-25 11:54:53 +00:00
Andrew Haley e0966a17a3 Add missing file from gcj-abi-2-dev-branch merge.
From-SVN: r91284
2004-11-25 11:50:45 +00:00
Andrew Haley b1df6376dc gcc.c (process_command): Don't supply -v to linker.
2004-11-25  Andrew Haley  <aph@redhat.com>

        * gcc.c (process_command): Don't supply -v to linker.

From-SVN: r91283
2004-11-25 11:44:46 +00:00
Joseph Myers 597cdf4f43 darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs instead of `%s' in diagnostic.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs
	instead of `%s' in diagnostic.

cp:
	* g++spec.c, lex.c: Avoid ` as left quote in diagnostics.

fortran:
	* f95-lang.c, gfortranspec.c, trans-decl.c: Avoid ` as left quote
	in diagnostics.

java:
	* gjavah.c, jcf-dump.c, jv-scan.c, jvspec.c: Avoid ` as left quote
	in diagnostics.

From-SVN: r91282
2004-11-25 11:13:38 +00:00
Nathan Sidwell cc175e7c89 basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.
* basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.
	(FREE_REG_SET): Adjust.
	* bitmap.c (bitmap_obstack_free): Cope with NULL bitmap.
	* bitmap.h (BITMAP_OBSTACK_ALLOC): Rename to ...
	(BITMAP_ALLOC): ... here.
	(BITMAP_OBSTACK_FREE): Rename to ...
	(BITMAP_FREE): Don't check for NULL bitmap here.
	* tree-ssa-pre.c (value_insert_into_set_bitmap,
	bitmap_set_new): Use new names.

From-SVN: r91281
2004-11-25 10:31:38 +00:00
Nathan Sidwell d0397fd970 bt-load.c (migrate_btr_defs): Remove unneeded NULL check.
* bt-load.c (migrate_btr_defs): Remove unneeded NULL check.
	* df.c (df_free): Likewise.
	* ra-build.c (ra_build_free, ra_build_free_all): Likewise.
	* tree-ssa-loop-ivopts.c (set_use_iv_cost): Likewise.

From-SVN: r91280
2004-11-25 10:28:01 +00:00
Nathan Sidwell 04389919a6 basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ...
* basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ...
	(ALLOC_REG_SET): ... here.
	(FREE_REG_SET): Adjust.
	(XMALLOC_REG_SET, XFREE_REG_SET): Remove.
	* bb-reorder.c (fix_crossing_conditional_branches): Adjust.
	* cfglayout.c (cfg_layout_duplicate_bb): Adjust.
	* cfgrtl.c (rtl_split_block, rtl_split_edge,
	safe_insert_insn_on_edge, cfg_layout_split_edge): Adjust.
	* flow.c (update_life_info, calculate_global_regs_live,
	allocate_bb_life_data, init_propagate_block_info): Adjust.
	* global.c (build_insn_chain): Adjust.
	* ifcvt.c (dead_or_predicable): Adjust.
	* loop-iv.c (simplify_using_initial_values): Adjust.
	* recog.c (peephole2_optimize): Adjust.
	* sched-deps.c (init_deps_global): Adjust.

From-SVN: r91279
2004-11-25 09:30:04 +00:00
Richard Henderson eb9744a7a6 verify-glue.c (vfy_init_name, [...]): Use ANSI declaration form.
* verify-glue.c (vfy_init_name, vfy_clinit_name, vfy_object_type,
        vfy_string_type, vfy_throwable_type): Use ANSI declaration form.

From-SVN: r91278
2004-11-25 00:00:33 -08:00
Tom Tromey 6a4877c440 verify.c (defer_merging): Don't use C++-style comment.
* verify.c (defer_merging): Don't use C++-style comment.
	* verify.h (java_opcode): Added java_opcode_end.
	* class.c (build_class_ref): Remove C++ comment and old FIXME.

From-SVN: r91277
2004-11-25 07:03:55 +00:00
Tom Tromey 528d9c63e7 verify-impl.c (vfy_push_type): Removed bogus "return".
* verify-impl.c (vfy_push_type): Removed bogus "return".
	(initialize_stack): Use vfy_alloc and vfy_free.
	(verify_instructions_0): Likewise.

From-SVN: r91276
2004-11-25 05:14:25 +00:00
Ralf Corsepius 91ff950773 config.gcc (avr-*-rtems*): Fix typo.
2004-11-25  Ralf Corsepius <ralf.corsepius@rtems.org>

	* config.gcc (avr-*-rtems*): Fix typo.

From-SVN: r91274
2004-11-25 05:49:30 +01:00
J"orn Rennecke f04e1b1b4d sh.c (sh_output_mi_thunk): Do not call regset_release_memory.
2004-11-25  J"orn Rennecke <joern.rennecke@st.com>

	* sh.c (sh_output_mi_thunk): Do not call regset_release_memory.

From-SVN: r91273
2004-11-25 04:29:31 +00:00
John David Anglin fc6fdbf3fe * lib/target-libpath.exp (orig_ld_library_path_saved): Add missing set.
From-SVN: r91272
2004-11-25 04:27:13 +00:00
Jeff Law 0bab1c8887 tree-ssa-alias.c (compute_flow_insensitive_aliasing): Reduce the number of queries to random elements in the ai->written_vars bitmap.
* tree-ssa-alias.c (compute_flow_insensitive_aliasing): Reduce
        the number of queries to random elements in the ai->written_vars
        bitmap.

From-SVN: r91271
2004-11-24 20:54:07 -07:00
Tom Tromey 367390404d * Merged gcj-abi-2-dev-branch to trunk.
(Actual changes too large to list in the commit message;
see ChangeLog.)

From-SVN: r91270
2004-11-25 03:47:08 +00:00
Roger Sayle ec0641f612 i386.c (override_options): Disable x87 fancy math intrinsics if -mfpmath= doesn't include 387 (default on...
* config/i386/i386.c (override_options): Disable x87 fancy math
	intrinsics if -mfpmath= doesn't include 387 (default on x86_64).

From-SVN: r91267
2004-11-25 02:05:21 +00:00
Roger Sayle 2102b2fe72 configure.ac: Tweak test for HAVE_DECL_LDGETNAME to avoid a system header conflict on AIX 5.2.
* configure.ac: Tweak test for HAVE_DECL_LDGETNAME to avoid a
	system header conflict on AIX 5.2.
	* configure: Regenerate.

From-SVN: r91266
2004-11-25 01:41:20 +00:00
John David Anglin a26e9a2687 * ChangeLog: Remove duplication.
From-SVN: r91265
2004-11-25 00:40:19 +00:00
Kazu Hirata 92faa2d1fe tree-phinodes.c (remove_phi_args): Replace phi_arg_from_edge with e->dest_idx.
* tree-phinodes.c (remove_phi_args): Replace phi_arg_from_edge
	with e->dest_idx.

From-SVN: r91264
2004-11-25 00:34:35 +00:00
GCC Administrator 5f0a713c2a Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r91262.2
2004-11-25 00:16:28 +00:00
GCC Administrator fffb7887ed Daily bump.
[[Split portion of a mixed commit.]]

From-SVN: r91261.2
2004-11-25 00:16:20 +00:00
Kazu Hirata be6be25851 tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx instead of calling phi_arg_from_edge.
* tree-outof-ssa.c (coalesce_abnormal_edges): Use e->dest_idx
	instead of calling phi_arg_from_edge.

From-SVN: r91259
2004-11-25 00:14:21 +00:00
Ben Elliston a312d1f182 i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
* config/i386/i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
	* config/i386/i386.c (i386_dwarf_output_addr_const): Likewise.
	* config/i386/i386-protos.h (i386_dwarf_output_addr_const):
	Likewise.

From-SVN: r91255
2004-11-25 10:37:19 +11:00
Mark Mitchell 9306cccbb5 re PR c++/17473 (typedef redefinition in struct is accepted)
PR c++/17473
	* name-lookup.c (supplement_binding): Do not allow typedefs to be
	redefined in class scope.

	PR c++/18285
	* parser.c (cp_parser_set_decl_type_spec): Do not try to allow
	redefinitions of builtin types other that "bool" or "wchar_t".

	PR c++/17473
	* g++.dg/tc1/dr56.C: Remove.
	* g++.dg/template/typedef1.C: Add dg-error markers.
	* g++.old-deja/g++.other/typedef7.C: Likewise.

	PR c++/18285
	* g++.dg/parse/typedef7.C: New test.

From-SVN: r91254
2004-11-24 23:18:56 +00:00
Kelley Cook b7392506fd Makefile.am: Define ACLOCAL_AMFLAGS.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am: Define ACLOCAL_AMFLAGS.
	* acinclude.m4: Remove.
	* aclocal.m4, configure, Makefile.in: Regenerate.
	* testsuite/Makefile.in: Likewise.

From-SVN: r91209
2004-11-24 22:13:19 +00:00
R. Kelley Cook 4ef2718af7 Undo mistaken commit
From-SVN: r91201
2004-11-24 22:07:04 +00:00
Kelley Cook 2c92e90fa5 libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case from CVS libtool to always pass_all.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case
	from CVS libtool to always pass_all.
	* boehm-gc/configure: Regenerate.
	* libffi/configure: Regenerate.
	* libgfortran/configure: Regenerate.
	* libjava/configure: Regenerate.
	* libobjc/configure: Regenerate.
	* libstdc++-v3/configure: Regenerate.
	* zlib/configure: Regenerate.

From-SVN: r91200
2004-11-24 22:04:38 +00:00
Kelley Cook f91eaa015a aclocal.m4: Regenerate.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* aclocal.m4: Regenerate.

From-SVN: r91199
2004-11-24 21:53:28 +00:00
Kelley Cook 2fc30700a4 aclocal.m4, [...]: Regenerate.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* aclocal.m4, config.h.in: Regenerate.

From-SVN: r91198
2004-11-24 21:50:47 +00:00
Kelley Cook a38fb0a7a4 Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
	* include/Makefile.in: Likewise.
	* libmath/Makefile.in: Likewise.
	* libsupc++/Makefile.in: Likewise.
	* po/Makefile.in: Likewise.
	* src/Makefile.in: Likewise.
	* testsuite/Makefile.in: Likewise.

From-SVN: r91197
2004-11-24 21:12:26 +00:00
Kelley Cook 75485e8118 Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in, aclocal.m4: Regenerate with automake 1.9.3.

From-SVN: r91196
2004-11-24 21:04:28 +00:00
Kelley Cook b2de8bb1d2 Makefile.in: Regenrate with Automake 1.9.3.
2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.in: Regenrate with Automake 1.9.3.
	* aclocal.m4: Likewise.
	* configure: Regenerate.

From-SVN: r91195
2004-11-24 21:01:02 +00:00
Richard Kenner 317c0092a6 Fix indentation on line 3063.
From-SVN: r91194
2004-11-24 15:43:44 -05:00
Richard Kenner d4d3aad9fd * tree-sra.c (sra_walk_modify_expr): Handle RHS first, then LHS.
From-SVN: r91193
2004-11-24 15:21:29 -05:00
Richard Kenner bb04998ab7 tree-inline.c (copy_body_r): Explicitly copy a constant if the type will be remapped.
* tree-inline.c (copy_body_r): Explicitly copy a constant if the
	type will be remapped.

From-SVN: r91192
2004-11-24 15:19:36 -05:00
Mark Mitchell 8adb21944e re PR c++/18586 (ICE on invalid template member declaration)
PR c++/18586
	* g++.dg/template/crash27.C: New test.

From-SVN: r91191
2004-11-24 20:10:46 +00:00
Steven Bosscher 39afeb1aad c-opts.c (c_common_post_options): Don't clear flag_inline_functions.
gcc/
	* c-opts.c (c_common_post_options): Don't clear
	flag_inline_functions.
	* dojump.c (clear_pending_stack_adjust): Remove check on
	flag_inline_functions, it's always true.
	* config/alpha/alpha.md (movdi_er_maybe_g): Remove splitter
	that can never trigger.
	* config/c4x/c4x.h (TARGET_CPU_CPP_BUILTINS): Don't look at
	flag_inline_trees, now that flag_inline_functions is never
	cleared.
	* config/pdp11/pdp11.h (OPTIMIZATION_OPTIONS): Don't set
	flag_inline_functions at optimization levels greater than
	or equal to 3.  This is already done by default.

ada/
	* misc.c (gnat_post_options): Don't clear
	flag_inline_functions.

cp/
	* decl.c (cxx_init_decl_processing): Don't clear
	flag_inline_functions.

fortran/
	* options.c (gfc_post_options): Don't clear flag_inline_functions.

java/
	* class.c (make_class_data): Don't check flag_inline_functions.
	* lang.c (flag_really_inline): Remove unused flag.
	(java_handle_option): Don't set it here.  Remove special handling
	of flag_inline_functions for Java.
	(java_init): Don't set flag_inline_trees here.  Already done...
	(java_post_options): ...here.  Don't clear flag_inline_functions.

From-SVN: r91190
2004-11-24 19:45:32 +00:00
Kazu Hirata 41f683efe5 tree-outof-ssa.c (eliminate_build): Use g->e->dest_idx instead to find the PHI argument.
* tree-outof-ssa.c (eliminate_build): Use g->e->dest_idx
	instead to find the PHI argument.  Do not take I as an
	argument.
	(eliminate_phi): Adjust the call to eliminate_build.  Do not
	take I as an argument.
	(rewrite_trees): Adjust the call to eliminate_phi.

From-SVN: r91188
2004-11-24 19:22:48 +00:00
Richard Sandiford bef5d8b61f optabs.h (force_expand_binop): Declare.
* optabs.h (force_expand_binop): Declare.
	* optabs.c (force_expand_binop): Export.
	* stmt.c (shift_return_value): Delete.
	(expand_return): Don't call it.
	* expr.h (shift_return_value): Declare.
	* calls.c (shift_returned_value): Delete in favor of...
	(shift_return_value): ...this new function.  Leave the caller to check
	for non-BLKmode values passed in the msb of a register.  Take said mode
	and a shift direction as argument.  Operate on the hard function value,
	not a pseudo.
	(expand_call): Adjust accordingly.
	* function.c (expand_function_start): If a non-BLKmode return value
	is padded at the last significant end of the return register, use the
	return value's natural mode for the DECL_RESULT, not the mode of the
	padded register.
	(expand_function_end): Shift the same sort of return values left by
	the appropriate amount.

From-SVN: r91187
2004-11-24 18:50:26 +00:00
Mark Mitchell 6e2993bf5b pt.c (tsubst_function_type): Do not permit function types which return arrays or functions.
* pt.c (tsubst_function_type): Do not permit function types which
	return arrays or functions.

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

From-SVN: r91186
2004-11-24 18:45:33 +00:00
Matt Austern f5523e6ded Minor back end speedup.
* recog.c (recog_memoized_1): Remove.
	* recog.h (recog_memoized_1): Remove declaration.
	(recog_memoized): Change from macro to inline function.

From-SVN: r91185
2004-11-24 18:22:27 +00:00
Mark Mitchell 62a4d9428b re PR c++/18586 (ICE on invalid template member declaration)
PR c++/18586
	* parser.c (cp_parser_init_declarator): Do not pop scope twice.

	PR c++/18586
	* g++.dg/template/crash27.C: New test.

From-SVN: r91182
2004-11-24 18:10:26 +00:00
Jonathan Wakely fc57e2c7ef howto.html: Fix incorrect link.
2004-11-24  Jonathan Wakely  <redi@kayari.org>

	* docs/html/ext/howto.html: Fix incorrect link.
	* docs/html/documentation.html: Regenerate.

From-SVN: r91181
2004-11-24 18:09:05 +00:00