Commit Graph

96962 Commits

Author SHA1 Message Date
GCC Administrator
271cb0240a Daily bump.
From-SVN: r154311
2009-11-19 00:17:19 +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
H.J. Lu
76425f8978 linkage.exp: Also check -m32 for i*86-*-linux*.
2009-11-18  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.misc-tests/linkage.exp: Also check -m32 for i*86-*-linux*.

From-SVN: r154303
2009-11-18 09:50:45 -08: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
Nick Clifton
647e7a92de 20091002-1_0.C: Replace -shared with -r -nostlib.
* g++.dg/lto/20091002-1_0.C: Replace -shared with -r -nostlib.
        * g++.dg/lto/20081120-1_0.C: Likewise.
        * g++.dg/lto/20091002-2_0.C: Likewise.
        * g++.dg/lto/20081120-2_0.C: Likewise.
        * g++.dg/lto/20091002-3_0.C: Likewise.
        * g++.dg/lto/20081123_0.C: Likewise.
        * g++.dg/lto/20090313_0.C: Likewise.
        * g++.dg/lto/20081109-1_0.C: Likewise.
        * g++.dg/lto/20081219_0.C: Likewise.
        * g++.dg/lto/20081204-1_0.C: Likewise.
        * g++.dg/lto/20090302_0.C: Likewise.
        * g++.dg/lto/20081119-1_0.C: Likewise.
        * g++.dg/lto/20081118_0.C: Likewise.

From-SVN: r154297
2009-11-18 16:08:23 +00:00
H.J. Lu
b31c74fe48 re PR testsuite/41913 (ERROR: tcl error sourcing gcc.dg/lto/lto.exp)
2009-11-18  H.J. Lu  <hongjiu.lu@intel.com>

	PR testsuite/41913
	* lib/lto.exp (scan-symbol): Properly check if target exist.

From-SVN: r154296
2009-11-18 08:02:17 -08: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
Janus Weil
827c5be4f7 re PR fortran/42072 ([F03] wrong-code with C_F_PROCPOINTER)
2009-11-18  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/42072
	* trans-expr.c (gfc_conv_procedure_call): Handle procedure pointer
	dummies which are passed to C_F_PROCPOINTER.


2009-11-18  Janus Weil  <janus@gcc.gnu.org>

	PR fortran/42072
	* gfortran.dg/proc_ptr_8.f90: Extended.

From-SVN: r154292
2009-11-18 14:24:54 +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
848f237b0d re PR c++/40892 (maybe_warn_cpp0x i18n problems)
/cp
2009-11-18  Shujing Zhao  <pearly.zhao@oracle.com>

	PR c++/40892
	* error.c (maybe_warn_cpp0x): Accept enum cpp0x_warn_str as argument.
	(maybe_warn_variadic_templates): Update the maybe_warn_cpp0x calls to
	match the new declaration.
	* cp-tree.h (cpp0x_warn_str): New type.
	(maybe_warn_cpp0x): Adjust prototype with new argument.
	* call.c (reference_binding): Update the maybe_warn_cpp0x calls.
	* decl.c (reshape_init_r, check_initializer, grokdeclarator):
	Likewise.
	* parser.c (cp_parser_primary_expression)
	(cp_parser_parenthesized_expression_list, cp_parser_new_initializer)
	(cp_parser_assignment_expression, cp_parser_condition)
	(cp_parser_jump_statement, cp_parser_mem_initializer)
	(cp_parser_simple_type_specifier, cp_parser_elaborated_type_specifier)
	(cp_parser_enum_specifier, cp_parser_initializer)
	(cp_parser_pure_specifier, cp_parser_functional_cast): Likewise.

/testsuite
2009-11-18  Shujing Zhao  <pearly.zhao@oracle.com>

	* g++.old-deja/g++.other/crash28.C: Make expected dg-error strings
	explicit.
	* g++.dg/inherit/error4.C: Likewise.
	* g++.dg/template/crash90.C: Likewise.

From-SVN: r154288
2009-11-18 11:36:00 +00: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
Iain Sandoe
ca8520ad53 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/t-slibgcc-darwin: Fix embedded rpaths for
	--enable-version-specific-runtime-libs, build extension stub
	libs exposing features available from current libgcc_s.

From-SVN: r154282
2009-11-18 08:36:12 +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
Alexandre Oliva
0c4d91b9a1 * module.c (mio_f2k_derived): Initialize op.
From-SVN: r154277
2009-11-18 06:01:56 +00:00
GCC Administrator
cb34ef16bf Daily bump.
From-SVN: r154276
2009-11-18 00:17:16 +00:00
Benjamin Kosnik
5a5e2828d2 profiler.h: Remove namespace markup.
2009-11-17  Benjamin Kosnik  <bkoz@redhat.com>

	* include/profile/impl/profiler.h: Remove namespace markup.

From-SVN: r154272
2009-11-17 21:35:21 +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
Benjamin Kosnik
9ee6a74058 bitset: Tweak doxygen markup.
2009-11-17  Benjamin Kosnik  <bkoz@redhat.com>

	* include/profile/bitset: Tweak doxygen markup.
	* include/profile/deque: Same.
	* include/profile/list: Same.
	* include/profile/map.h: Same.
	* include/profile/multimap.h: Same.
	* include/profile/multiset.h: Same.
	* include/profile/set.h: Same.
	* include/profile/unordered_map: Same.
	* include/profile/vector: Same.

	* include/profile/impl/profiler_container_size.h: Use namespace
	__gnu_profile instead of __cxxprof_impl.
	* include/profile/impl/profiler.h: Same.
	(_GLIBCXX_PROFILE_IMPL_REENTRANCE_GUARD): To
	_GLIBCXX_PROFILE_REENTRANCE_GUARD.
	Remove namespace __cxxprof_guard.
	(__reentrance_guard): De-templatize.
	(__reentrance_guard::__inside_cxxprof_impl): To
	__reentrance_guard::_S_get_in.

	* include/profile/impl/profiler_hash_func.h: Use namespace
	__gnu_profile instead of __cxxprof_impl.
	* include/profile/impl/profiler_hashtable_size.h: Same.
	* include/profile/impl/profiler_map_to_unordered_map.h: Same.
	* include/profile/impl/profiler_node.h: Same.
	* include/profile/impl/profiler_state.h: Same.
	* include/profile/impl/profiler_trace.h: Same.
	* include/profile/impl/profiler_vector_size.h: Same.
	* include/profile/impl/profiler_vector_to_list.h: Same.
	* doc/xml/manual/profile_mode.xml: Update.

From-SVN: r154269
2009-11-17 20:45:32 +00:00
Benjamin Kosnik
1ceb9e066c bitset: Add doxygen markup.
2009-11-17  Benjamin Kosnik  <bkoz@redhat.com>

	* include/debug/bitset: Add doxygen markup.
	* include/debug/deque: Same.
	* include/debug/list: Same.
	* include/debug/map.h: Same.
	* include/debug/multimap.h: Same.
	* include/debug/set.h: Same.
	* include/debug/multiset.h: Same.
	* include/debug/unordered_map: Same.
	* include/debug/unordered_set: Same.
	* include/debug/string: Same.
	* include/debug/vector: Same.

From-SVN: r154268
2009-11-17 20:38:33 +00:00
Paolo Carlini
97471c71bf re PR c++/42058 (Trouble with invalid array initialization)
cp/
2009-11-17  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/42058
	* typeck2.c (digest_init_r): Check init for error_operand_p.
	* decl.c (reshape_init_class): Check return value of reshape_init_r
	for error_mark_node.

testsuite/
2009-11-17  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/42058
	* testsuite/g++.dg/init/array26.C: New.
	* testsuite/g++.dg/init/array27.C: Likewise.
	* testsuite/g++.old-deja/g++.benjamin/13478.C: Adjust dg-errors.

From-SVN: r154267
2009-11-17 20:03:03 +00:00
Andrew Haley
6bab028494 posix-threads.cc (park): Rewrite code to handle time.
2009-11-17  Andrew Haley  <aph@redhat.com>

	* posix-threads.cc (park): Rewrite code to handle time.
	Move mutex lock before the call to compare_and_swap to avoid a
	race condition.
	Add some assertions.
	(unpark): Add an assertion.
	(init): Move here from posix-threads.h.
	* include/posix-threads.h (destroy): removed.

From-SVN: r154265
2009-11-17 18:05:00 +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
Rafael Avila de Espindola
9870fe4f88 lto-elf.c (lto_file_init): Add offset argument.
2009-11-17  Rafael Avila de Espindola  <espindola@google.com>

	* lto-elf.c (lto_file_init): Add offset argument.
	(lto_elf_file_open): Record the offset.
	* lto.c (lto_resolution_read): Change file_name into a lto_file
	argument. Check offsets.
	(lto_file_read): Update call to lto_resolution_read.
	* lto.h (lto_file_struct): Add the offset field.

From-SVN: r154251
2009-11-17 16:00:19 +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
Jakub Jelinek
d22f0231e6 re PR c++/42061 ([c++0x] ICE with invalid initializer list for reference)
PR c++/42061
	* call.c (reference_binding): Return NULL for initializer list with
	error operand inside of it.

	* g++.dg/cpp0x/initlist27.C: New test.

From-SVN: r154238
2009-11-17 08:01:18 +01:00
Jakub Jelinek
84526801f6 re PR c++/42059 ([c++0x] ICE with initializer list for VLA)
PR c++/42059
	* typeck.c (cp_build_modify_expr): For initializer list call
	check_array_initializer to make sure lhs isn't a VLA.

	* g++.dg/cpp0x/initlist26.C: New test.

From-SVN: r154237
2009-11-17 07:59:13 +01:00
Jason Merrill
5a887be717 PR c++/189, c++/9937, c++/13950, DR 176
PR c++/189, c++/9937, c++/13950, DR 176
	* g++.dg/tc1/dr176.C: Adjust.

From-SVN: r154235
2009-11-17 00:58:03 -05:00
GCC Administrator
e91a8d0fe1 Daily bump.
From-SVN: r154232
2009-11-17 00:16:56 +00:00
Jason Merrill
5a080ad7b0 PR c++/13950, DR 176
PR c++/13950, DR 176
	* search.c (lookup_field_r): Allow lookup to find the
	injected-class-name from a template base.
	(template_self_reference_p): Remove.
	* decl.c (make_typename_type): Diagnose ambiguity.  Use
	maybe_get_template_decl_from_type_decl.
	* parser.c (cp_parser_template_name): Pass true to is_template
	rather than use maybe_get_template_decl_from_type_decl.
	(cp_parser_lookup_name): Use maybe_get_template_decl_from_type_decl.
	* pt.c (maybe_get_template_decl_from_type_decl): Handle ambiguity.
	Use DECL_SELF_REFERENCE_P.

	* parser.c (cp_parser_parse_and_diagnose_invalid_type_name):
	Avoid duplicate ambiguity error.
	* error.c (dump_decl): Don't say "typedef" for injected-class-name.
	* pt.c (convert_template_argument): Tweak logic.

From-SVN: r154223
2009-11-16 18:29:25 -05:00
Alexandre Oliva
87213cd496 Makefile.def: Restore host and target settings for gmp.
* Makefile.def: Restore host and target settings for gmp.
* Makefile.in: Rebuild.

From-SVN: r154217
2009-11-16 22:56:33 +00:00
Rafael Avila de Espindola
1b70729f70 lto-elf.c (lto_elf_file_open): Use strtoll to parse the offset.
2009-11-16  Rafael Avila de Espindola  <espindola@google.com>

	* lto-elf.c (lto_elf_file_open): Use strtoll to parse the offset.

From-SVN: r154215
2009-11-16 20:25:42 +00: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