Commit Graph

39459 Commits

Author SHA1 Message Date
Ian Lance Taylor ed2eaa9f6e configure.ac: Change default of poststage1_ldflags to be empty if poststage1_libs is set.
./:	* configure.ac: Change default of poststage1_ldflags to be empty if
	poststage1_libs is set.  When poststage1_libs is empty, and
	ENABLE_BUILD_WITH_CXX is set, add -static-libgcc.
	* configure: Rebuild.
gcc/:
	* Makefile.in (HOST_LIBS): Move higher in file.
	(LINKER, LINKER_FLAGS): If ENABLE_BUILD_WITH_CXX, but $(HOST_LIBS)
	is not empty, set to $(CC) and $(CFLAGS).

From-SVN: r154422
2009-11-22 04:25:56 +00:00
Martin Jambor cc12e76082 tree-cfg.c (verify_types_in_gimple_reference): Error out on V_C_E of an SSA_NAME or an invariant if lvalue is required.
2009-11-22  Martin Jambor  <mjambor@suse.cz>

	* tree-cfg.c (verify_types_in_gimple_reference): Error out on
	V_C_E of an SSA_NAME or an invariant if lvalue is required.
	(verify_gimple_call): Verify LHS also with with
	verify_types_in_gimple_reference.

From-SVN: r154414
2009-11-22 00:05:13 +01:00
Martin Jambor c6a2c25d12 re PR middle-end/42025 (ICE verify_stmts failed (non-trivial conversion at assignment))
2009-11-21  Martin Jambor  <mjambor@suse.cz>

	PR middle-end/42025
	* tree-sra.c (access_precludes_ipa_sra_p): New function.
	(splice_param_accesses): Check all accesses by calling
	access_precludes_ipa_sra_p.
	(sra_ipa_modify_expr): Rename argument erite to dont_convert and do
	not convert types if it is true.
	(sra_ipa_modify_assign): Convert types in case of mismatch.

	* testsuite/gcc.c-torture/compile/pr42025-1.c: New test.
	* testsuite/gcc.c-torture/compile/pr42025-2.c: New test.

From-SVN: r154413
2009-11-21 23:56:36 +01:00
Kaushik Phatak bcd9e00d09 sh.md (cmpeqsi_t-1): Use logical_operand predicate for operand 1.
* config/sh/sh.md (cmpeqsi_t-1): Use logical_operand predicate
	for operand 1.

From-SVN: r154412
2009-11-21 22:51:07 +00:00
Adam Nemet a3c7bb26ea mips-protos.h (mulsidi3_gen_fn): New typedef.
* config/mips/mips-protos.h (mulsidi3_gen_fn): New typedef.
	(mips_mulsidi3_gen_fn): Declare new function.
	* config/mips/mips.c (mips_mulsidi3_gen_fn): New function.
	* config/mips/mips.md (<u>mulsidi3): Change condition to use
	mips_mulsidi3_gen_fn.  Use mips_mulsidi3_gen_fn to generate the
	insn.
	(<u>mulsidi3_64bit): Don't match for ISA_HAS_DMUL3.
	(mulsidi3_64bit_dmul): New define_insn.

testsuite/
	* gcc.target/mips/mult-1.c: Forbid octeon.
	* gcc.target/mips/octeon-dmul-3.c: New test.

From-SVN: r154410
2009-11-21 19:25:35 +00:00
Ben Elliston e81f2ecf58 gengtype-lex.l: Enable noinput flex option.
* gengtype-lex.l: Enable noinput flex option.
	(YY_NO_INPUT): Remove define.

From-SVN: r154406
2009-11-21 21:24:25 +11:00
Alexandre Oliva 42a06e46ab tree-ssa.c (find_released_ssa_name): Handle NULL wi.
* tree-ssa.c (find_released_ssa_name): Handle NULL wi.
(insert_debug_temp_for_var_def): Handle degenerate PHI nodes.
(insert_debug_temps_for_defs): Handle PHI nodes.
* tree-ssa-dom.c (degenerate_phi_result): Don't crash on released
SSA names.

From-SVN: r154402
2009-11-21 05:06:24 +00:00
Alexandre Oliva b70fdfe4be tree-ssa-pre.c (remove_dead_inserted_code): Don't release_defs after remove_phi_node.
* tree-ssa-pre.c (remove_dead_inserted_code): Don't release_defs
after remove_phi_node.

From-SVN: r154401
2009-11-21 05:04:50 +00:00
Alexandre Oliva 21cf718065 re PR tree-optimization/42078 (ICE in gimple_assign_set_rhs_code)
gcc/ChangeLog:
PR tree-optimization/42078
* gimple.h (gimple_replace_lhs): New declaration.
* gimple.c (gimple_replace_lhs): New function.
* tree-ssa-math-opts.c (execute_cse_reciprocals): Call it before
modifying the call.
gcc/testsuite/ChangeLog:
PR tree-optimization/42078
* gcc.dg/pr42078.c: New test.

From-SVN: r154400
2009-11-21 05:04:30 +00:00
Sebastian Pop 04482dd105 Remove use of reg_mentioned_p.
2009-11-20  Sebastian Pop  <sebastian.pop@amd.com>

	* config/i386/sse.md (*xop_pmacsdql_mem): Don't call reg_mentioned_p.
	(xop_mulv2div2di3_low): Same.
	(*xop_pmacsdqh_mem): Same.

From-SVN: r154399
2009-11-21 03:43:03 +00:00
Richard Henderson fe40daa0c3 i386-builtin-types.awk: New file.
* config/i386/i386-builtin-types.awk: New file.
	* config/i386/i386-builtin-types.def: New file.
	* config/i386/t-i386: Use them to build i386-builtin-types.inc.
	* config/i386/i386.c: Include it.
	(ix86_builtin_type_tab, ix86_get_builtin_type): New.
	(ix86_builtin_func_type_tab, ix86_get_builtin_func_type): New.
	(struct builtin_isa): Remove GTY marker.  Replace tree type with
	ix86_builtin_func_type; add set_and_not_built_p.
	(def_builtin): Change type parameter to tcode; use
	ix86_get_builtin_func_type; update all callers.  Accept zero mask
	to mean the builtin is unconditionally available.
	(ix86_add_new_builtins): Use set_and_not_built_p instead of type
	being set to NULL.
	(enum ix86_special_builtin_type, enum ix86_builtin_type): Remove.
	Update some users to rationalized enumeration codes from new include.
	(enum multi_arg_type): Remove.  Replace all enumeration values
	with defines to new ix86_builtin_func_type.
	(ix86_init_mmx_sse_builtins): Don't build any types here.  Defer
	all type resolution to def_builtin.
	(ix86_init_builtin_types): Split out from ...
	(ix86_init_builtins): ... here.  Use ix86_get_builtin_func_type.

From-SVN: r154388
2009-11-20 15:51:52 -08:00
Michael Meissner 497d383424 Undo part of 2009-10-23 change
From-SVN: r154380
2009-11-20 21:40:39 +00:00
Paul Brook d547364305 invoke.texi: Document ARM -mcpu=cortex-a5.
2009-11-20  Paul Brook  <paul@codesourcery.com>

	gcc/
	* doc/invoke.texi: Document ARM -mcpu=cortex-a5.
	* config/arm/arm-cores.def: Add cortex-a5.
	* config/arm/bpabi.h (BE8_LINK_SPEC): Add mcpu=cortex-a5.
	* config/arm/arm-tune.md: Regenerate.

From-SVN: r154375
2009-11-20 17:37:30 +00:00
Olga Golovanevsky eed8fcad82 re PR tree-optimization/39960 (struct-reorg is broken)
2009-11-17 Olga Golovanevsky <olga@il.ibm.com>

	PR middle-end/39960
	* ipa-struct-reorg.c (find_pos_in_stmt): New parameter.
	(ref_pos): New field in structure.
	(insert_new_var_in_stmt): New function.

From-SVN: r154374
2009-11-20 16:57:35 +00:00
Rainer Orth 25bcd7ea32 config.gcc (alpha*-dec-osf[45]*): Set use_gcc_stdint.
gcc:
	* config.gcc (alpha*-dec-osf[45]*): Set use_gcc_stdint.
	* config/alpha/osf.h (SIG_ATOMIC_TYPE): Define.
	(INT8_TYPE, INT16_TYPE, INT32_TYPE, INT64_TYPE): Define.
	(UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE): Define.
	(INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE,
	(INT_LEAST64_TYPE): Define.
	(UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, UINT_LEAST32_TYPE,
	UINT_LEAST64_TYPE): Define.
	(INT_FAST8_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE,
	INT_FAST64_TYPE): Define.
	(UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE,
	UINT_FAST64_TYPE): Define.
	(INTPTR_TYPE, UINTPTR_TYPE): Define.

	gcc/testsuite:
	* gcc.dg/c99-stdint-6.c: Set dg-options for alpha*-dec-osf5*.
	Wrap *int_least*_t tests in !NO_LEAST_TYPES.
	Wrap *intmax_t tests in !NO_MAX_TYPES.

From-SVN: r154373
2009-11-20 16:55:19 +00:00
Julian Brown 2ee67fbb88 arm.h (ASM_OUTPUT_REG_PUSH): Handle STATIC_CHAIN_REGNUM specially for Thumb-1.
gcc/
	* config/arm/arm.h (ASM_OUTPUT_REG_PUSH): Handle STATIC_CHAIN_REGNUM
	specially for Thumb-1.
	(ASM_OUTPUT_REG_POP): Likewise.

From-SVN: r154372
2009-11-20 16:48:28 +00:00
Jason Merrill 98fba7f7af DR 176 permissiveness
DR 176 permissiveness
gcc/
	* dwarf2out.c (get_context_die): Take TYPE_MAIN_VARIANT.
gcc/cp/
	* class.c (build_self_reference): Call set_underlying_type.
	* decl.c (check_elaborated_type_specifier): Don't complain about
	injected-class-name.
	(type_is_deprecated): Use TYPE_MAIN_VARIANT.
	* pt.c (convert_template_argument): Handle injected-class-name used
	as template template argument.
	* typeck2.c (abstract_virtuals_error): Use TYPE_MAIN_VARIANT.

From-SVN: r154354
2009-11-19 22:12:07 -05:00
Rafael Espindola e4d5031cc8 [multiple changes]
2009-11-19  Rafael Avila de Espindola  <espindola@google.com>

	* g++.dg/plugin/selfassign.c: Include plugin-version.h.
	(plugin_init): Pass correct version to plugin_default_version_check.
	* gcc.dg/plugin/ggcplug.c: Include plugin-version.h.
	(plugin_init): Pass correct version to plugin_default_version_check.
	* gcc.dg/plugin/selfassign.c: Include plugin-version.h.
	(plugin_init): Pass correct version to plugin_default_version_check.


2009-11-19  Basile Starynkevitch  <basile@starynkevitch.net>
            Rafael Avila de Espindola  <espindola@google.com>

	* doc/plugins.texi (Plugin initialization): Added advices for
	retrieving the version of GCC at plugin compilation and loading
	times.

From-SVN: r154342
2009-11-19 20:22:53 +00:00
Basile Starynkevitch fdabb520f2 plugin.c (FMT_FOR_PLUGIN_EVENT): added definition.
2009-11-19  Basile Starynkevitch  <basile@starynkevitch.net>

	* gcc/plugin.c (FMT_FOR_PLUGIN_EVENT): added definition.
	(dump_active_plugins): output to file everything. Use
	internationalized dump & FMT_FOR_PLUGIN_EVENT.

From-SVN: r154337
2009-11-19 17:21:50 +00:00
Richard Guenther b66a1bac46 gimple.c (canonicalize_cond_expr_cond): Strip conversions around truth-valued expressions.
2009-11-19  Richard Guenther  <rguenther@suse.de>

	* gimple.c (canonicalize_cond_expr_cond): Strip conversions
	around truth-valued expressions.
	* tree.c (free_lang_data): Untangle check for LTO frontend.

From-SVN: r154332
2009-11-19 15:45:48 +00:00
Jakub Jelinek 986ad1338d tree.c (need_assembler_name_p): Use cgraph_get_node instead of cgraph_node_for_decl.
* tree.c (need_assembler_name_p): Use cgraph_get_node instead
	of cgraph_node_for_decl.
	* cgraph.h (cgraph_node_for_decl): Remove prototype.
	* cgraph.c (cgraph_node_for_decl): Remove.
	(cgraph_get_node): Just return NULL if !cgraph_hash.

From-SVN: r154329
2009-11-19 14:23:23 +01:00
Paul Brook 1abed66bb0 config.gcc: Add new ARM --with-fpu options.
2009-11-19  Paul Brook  <paul@codesourcery.com>

	gcc/
	* config.gcc: Add new ARM --with-fpu options.
	* doc/invoke.texi: Docuent ARM -mfpu=fpv4-sp-d16.
	* config/arm/arm.c (all_fpus): Add fpv4-sp-d16.

From-SVN: r154328
2009-11-19 12:09:22 +00:00
Richard Guenther bb4efb4dd0 gimple.h (union gimple_statement_d): Add gsmembase member.
2009-11-18  Richard Guenther  <rguenther@suse.de>

	* gimple.h (union gimple_statement_d): Add gsmembase member.
	(gimple_vuse_op): Use gsmembase for access.
	(gimple_vdef_op): Likewise.
	(gimple_vuse): Likewise.
	(gimple_vdef): Likewise.
	(gimple_vuse_ptr): Likewise.
	(gimple_vdef_ptr): Likewise.
	(gimple_set_vuse): Likewise.
	(gimple_set_vdef): Likewise.
	* gsstruct.def (GSS_WITH_MEM_OPS_BASE): Add.

From-SVN: r154306
2009-11-18 20:28:19 +00:00
Daniel Jacobowitz 573282f83b * doc/arm-neon-intrinsics.texi: Regenerated.
From-SVN: r154302
2009-11-18 17:06:46 +00:00
Daniel Jacobowitz 31d1afdee1 neon-docgen.ml (analyze_shape_elt): Handle Alternatives.
* config/arm/neon-docgen.ml (analyze_shape_elt): Handle
	Alternatives.

From-SVN: r154301
2009-11-18 17:04:34 +00:00
Paul Brook 60bd3528ad arm.c (FL_ARCH7EM, [...]): Define.
2009-11-18  Paul Brook  <paul@codesourcery.com>
	Daniel Jacobowitz  <dan@codesourcery.com>

	gcc/
	* config/arm/arm.c (FL_ARCH7EM, FL_FOR_ARCH7EM): Define.
	(arm_arch7em): New variable.
	(all_architectures): Add armv7e-m.
	(arm_override_options): Set arm_arch7em.
	* config/arm/arm.h (TARGET_DSP_MULTIPLY, TARGET_INT_SIMD):
	Include arm_arch7em.
	(arm_arch7em): Declare.


Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com>

From-SVN: r154299
2009-11-18 16:51:56 +00:00
Richard Guenther 7caa21fc32 lto-streamer-in.c (input_gimple_stmt): Assert that we find a valid field decl if checking is enabled.
2009-11-18  Richard Guenther  <rguenther@suse.de>

	* lto-streamer-in.c (input_gimple_stmt): Assert that we find
	a valid field decl if checking is enabled.

From-SVN: r154298
2009-11-18 16:13:09 +00:00
Martin Jambor 661e733051 ipa-prop.h (struct ipa_param_call_note): New field lto_stmt_uid.
2009-11-18  Martin Jambor  <mjambor@suse.cz>

	* ipa-prop.h (struct ipa_param_call_note): New field lto_stmt_uid.
	(lto_ipa_fixup_call_notes): Declare.
	* ipa-prop.c (ipa_note_param_call): Store gimple uid.
	(update_call_notes_after_inlining): Copy call stmt uid to the new
	edge.
	(ipa_write_param_call_note): New function.
	(ipa_read_param_call_note): New function
	(ipa_write_node_info): Write also param call notes.  Removed a bogus
	comment, reformatted to fit 80 columns.
	(ipa_read_node_info): Read also param call notes. Removed a bogus
	comment.  Remove ipa_edge_args_vector growth.
	(lto_ipa_fixup_call_notes): New function.
	* ipa-cp.c (pass_ipa_cp): Add stmt_fixup hook.
	* ipa-inline.c (cgraph_mark_inline_edge): Perform indirect
	inlining regardless of flag_wpa.
	(cgraph_decide_inlining_of_small_functions): Likewise.
	(cgraph_decide_inlining): Likewise.
	(inline_read_summary): Likewise.

From-SVN: r154293
2009-11-18 15:10:02 +01:00
Jan Hubicka 965b98d04b predict.c (compute_function_frequency): Export.
* predict.c (compute_function_frequency): Export.
	* predict.h (compute_function_frequency): Declare.
	* tree-optimize.c (execute_fixup_cfg): Rescale frequencies.

From-SVN: r154291
2009-11-18 13:09:15 +00:00
Martin Jambor 8b2205027d passes.c (ipa_write_summaries): Call renumber_gimple_stmt_uids on all nodes we write summaries for.
2009-11-18  Martin Jambor  <mjambor@suse.cz>

	* passes.c (ipa_write_summaries): Call renumber_gimple_stmt_uids
	on all nodes we write summaries for.

From-SVN: r154290
2009-11-18 13:19:04 +01:00
Shujing Zhao 7b98c16f7a re PR middle-end/22201 (Parameter description strings should all start with a capital letter)
2009-11-18  Shujing Zhao  <pearly.zhao@oracle.com>
	
	PR middle-end/22201
	* params.def (PARAM_INLINE_UNIT_GROWTH)
	PARAM_IPCP_UNIT_GROWTH)
	(PARAM_EARLY_INLINING_INSNS, PARAM_IRA_MAX_LOOPS_NUM)
	(PARAM_IRA_MAX_CONFLICT_TABLE_SIZE)
	(PARAM_LOOP_INVARIANT_MAX_BBS_IN_LOOP)
	(PARAM_MIN_INSN_TO_PREFETCH_RATIO)
	(PARAM_PREFETCH_MIN_INSN_TO_MEM_RATIO)
	PARAM_IPA_SRA_PTR_GROWTH_FACTOR): Uppercase the	first letter of the
	description string.

From-SVN: r154287
2009-11-18 11:09:50 +00:00
Jakub Jelinek 4f517dce47 dwarf2out.c (loc_list_from_tree): Don't call rtl_for_decl_location unnecessarily.
* dwarf2out.c (loc_list_from_tree): Don't call rtl_for_decl_location
	unnecessarily.
	(rtl_for_decl_location): Try harder to get a rtl for TREE_STATIC vars.

From-SVN: r154285
2009-11-18 10:57:47 +01:00
Jakub Jelinek b25833451b re PR c++/3187 (gcc lays down two copies of constructors)
PR c++/3187
	* cgraph.h (struct cgraph_node): Add same_body and same_body_alias
	fields.
	(cgraph_same_body_alias, cgraph_remove_same_body_alias): New
	prototypes.
	* cgraphunit.c (cgraph_expand_function, cgraph_emit_thunks,
	cgraph_materialize_all_clones): Handle same_body aliases.
	* cgraph.c (cgraph_allocate_node): New function.
	(cgraph_create_node): Use it.
	(cgraph_node_for_decl, cgraph_node, cgraph_get_node,
	cgraph_node_for_asm, cgraph_remove_node): Handle same_body aliases.
	(cgraph_same_body_alias, cgraph_remove_same_body_alias): New
	functions.
	* lto-cgraph.c (lto_output_node): Stream out same_body aliases.
	(input_node): Stream in same_body aliases.
	* lto-symtab.c (lto_cgraph_replace_node): Clear node pointers
	for same_body aliases.
	(lto_symtab_merge_cgraph_nodes_1): Handle same_body aliases.

	* cp-tree.h (expand_or_defer_fn_1): New prototype.
	* decl2.c (cp_write_global_declarations): Mark as !DECL_EXTERNAL
	also all same_body aliases.
	* semantics.c (expand_or_defer_fn): Move most of the function
	except registering with cgraph to ...
	(expand_or_defer_fn_1): ... here.  New function.
	* optimize.c: Include cgraph.h.
	(maybe_clone_body): If in charge parm is not used and both base
	and complete clones are created and are not comdat, tell cgraph
	they have the same body.
	* Make-lang.in (cp/optimize.o): Depend on $(CGRAPH_H).

	* g++.dg/abi/mangle26.C: Also match *C2* definition.
	* g++.dg/abi/mangle27.C: Likewise.
	* g++.dg/abi/mangle28.C: Likewise.
	* g++.dg/abi/mangle29.C: Likewise.

From-SVN: r154284
2009-11-18 10:53:52 +01:00
Iain Sandoe a64333b7ea re PR other/39888 (TLS emutls not linked to automatically on Darwin)
2009-11-18  Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>

	PR other/39888
	* config/darwin.h: Use the extension stub libraries to access
	current libgcc_s features.

From-SVN: r154283
2009-11-18 08:37:04 +01:00
Alexandre Oliva a83452e99b re PR debug/41926 ([VTA] internal compiler error: verify_ssa failed)
gcc/ChangeLog:
PR debug/41926
* tree-vect-loop.c (vect_loop_kill_debug_uses): New.
(vect_transform_loop): Call it.
gcc/testsuite/ChangeLog:
PR debug/41926
* gcc.dg/vect/vect-debug-pr41926.c: New.

From-SVN: r154281
2009-11-18 06:02:58 +00:00
Alexandre Oliva 462b701b20 tree-ssa.c (insert_debug_temp_for_var_def): Fix handling of released SSA names.
* tree-ssa.c (insert_debug_temp_for_var_def): Fix handling of
released SSA names.

From-SVN: r154280
2009-11-18 06:02:42 +00:00
Alexandre Oliva a3201927bb re PR debug/41888 (ICE from '-O -ftree-loop-distribution -fgraphite-identity -g')
PR debug/41888
PR debug/41886
* graphite-scop-detection.c (stmt_simple_for_scop_p): Debug stmts
are ok.
* graphite-sese-to-poly.c (graphite_stmt_p): Likewise.
(try_generate_gimple_bb): Skip debug stmts when finding data refs.
* sese.c (sese_build_liveouts_bb): Skip debug stmts.
(sese_bad_liveouts_use): New.
(sese_reset_debug_liveouts_bb): New.
(sese_build_liveouts): Use it.
(rename_variables_in_stmt): Reset debug stmts rather than creating
new vars for them.
(expand_scalar_variable_stmt): Likewise.

From-SVN: r154279
2009-11-18 06:02:26 +00:00
Alexandre Oliva d785e46f77 df-scan.c (df_ref_create): Don't mark BB as dirty on debug insns.
* df-scan.c (df_ref_create): Don't mark BB as dirty on debug insns.
(df_ref_remove): Likewise.

From-SVN: r154278
2009-11-18 06:02:12 +00:00
Jan Hubicka d1725344d1 ipa-struct-reorg.c (update_cgraph_with_malloc_call): Fix profile info.
* ipa-struct-reorg.c (update_cgraph_with_malloc_call): Fix profile
	info.

From-SVN: r154271
2009-11-17 21:18:49 +00:00
Eric Botcazou 37740cd3af toplev.c (process_options): Remove dead code.
* toplev.c (process_options): Remove dead code.
	* doc/invoke.texi (-frename-registers): Mention -fpeel-loops.

From-SVN: r154259
2009-11-17 17:19:39 +00:00
Rafael Avila de Espindola a5ac2cdf94 lto-symtab.c (lto_symtab_resolve_symbols): Always initialize the nodes.
2009-11-17  Rafael Avila de Espindola  <espindola@google.com>

	* lto-symtab.c (lto_symtab_resolve_symbols): Always initialize the
	nodes.

From-SVN: r154258
2009-11-17 16:49:22 +00:00
Ulrich Weigand 5456cefc68 re PR tree-optimization/41857 (Loop optimizer breaks __ea pointers with -mea64)
PR tree-optimization/41857
	* tree-ssa-address.c (move_hint_to_base): Use void pointer to
	TYPE's address space instead of pointer to TYPE.

From-SVN: r154255
2009-11-17 16:21:56 +00:00
Ulrich Weigand 263839d33b * reload.c (find_reloads_address): Fix typo.
From-SVN: r154253
2009-11-17 16:11:44 +00:00
Ulrich Weigand 6ca19a974b spu.c (get_pic_reg): Use LAST_ARG_REGNUM as PIC registers in leaf functions if possible.
* config/spu/spu.c (get_pic_reg): Use LAST_ARG_REGNUM as PIC
	registers in leaf functions if possible.

From-SVN: r154245
2009-11-17 13:25:54 +00:00
Maxim Kuvyrkov 73d2e138b1 * config/m68k/m68k-devices.def: Add MCF5441x family.
From-SVN: r154243
2009-11-17 10:23:10 +00:00
Jan Hubicka f875410705 cgraph.c (cgraph_update_edges_for_call_stmt_node): Do not access removed node.
* cgraph.c (cgraph_update_edges_for_call_stmt_node): Do not access
	removed node.
	* cgraphunit.c (verify_cgraph_node): Verify frequencies for match.

From-SVN: r154242
2009-11-17 09:35:51 +00:00
Uros Bizjak aaf5d6c03b predicates.md (x86_64_szext_general_operand): Do not nest ior expressions.
* config/i386/predicates.md (x86_64_szext_general_operand): Do not
	nest ior expressions.
	(x86_64_szext_nonmemory_operand): Ditto.
	(call_insn_operand): Ditto.

From-SVN: r154241
2009-11-17 08:30:55 +01:00
Alexandre Oliva efd0b0d36d * stmt.c (expand_asm_stmt): Get locus from stmt.
From-SVN: r154214
2009-11-16 20:18:45 +00:00
Alexandre Oliva f8981d1c08 tree-cfg.c (gimple_redirect_edge_and_branch): Create the decl label for the new dest block on demand.
* tree-cfg.c (gimple_redirect_edge_and_branch) <case GIMPLE_ASM>:
Create the decl label for the new dest block on demand.  Require
a fallthrough edge if no asm labels were redirected.

From-SVN: r154213
2009-11-16 20:18:33 +00:00
Uros Bizjak a81f2330a3 i386.md (cbranchsi4): Use nonimmediate_operand for operand 1 predicate.
* config/i386/i386.md (cbranchsi4): Use nonimmediate_operand for
	operand 1 predicate.
	(cstoresi4): Ditto for operand 2.
	(cbranch<mode>4): Macroize expander from cbranch{qi,hi,si,di,ti}4
	patterns using SDWIM mode iterator.
	(cstore<mode>4): Macroize expander from cstore{qi,hi,si,di}4 patterns
	using SWIM mode iterator.
	(cmpdi_1): Rename from cmpdi_1_rex64.
	(cmp<mode>_1): Macroize expander from cmp{si,di}_1 patterns using
	SWI48 mode iterator.
	(*cmp<mode>_1): Macroize insn from *cmp{qi,hi,si,di}_1_insn using SWI
	mode iterator.
	(*cmp<mode>_ccno_1): Ditto from *cmp{qi,hi,si,di}_ccno_1.
	(*cmp<mode>_minus_1): Ditto from *cmp{qi,hi,si,di}_minus_1.
	(*cmpqi_ext_3_insn): Make private.
	(*cmpqi_ext_3_insn_rex64): Make private.
	(cmpstrnsi): Update for renamed cmpdi_1_rex64.
	* config/i386/predicates.md (cmpsi_operand): Remove.

From-SVN: r154212
2009-11-16 19:42:35 +01:00