Commit Graph

98059 Commits

Author SHA1 Message Date
Dodji Seketeli
c4471bb2aa Revert PR c++/42697
The commit is reverted as this was not a regression.
     It's rather going to be stagged for 4.6.

From-SVN: r155976
2010-01-17 11:38:10 +01:00
Dodji Seketeli
4548cb4b83 re PR c++/42697 (ice-on-legal-code: template class template function local objects)
Fix PR c++/42697

gcc/cp/ChangeLog:
	PR c++/42697
	*pt.c (tsubst_decl): Get the arguments of a specialization from
	the specialization template, not from the most general template.

gcc/testsuite/ChangeLog:
	PR c++/42697
	* g++.dg/template/crash94.C: New test.

From-SVN: r155975
2010-01-17 11:24:16 +01:00
Jie Zhang
a90110c3df re PR debug/42767 (ICE in mem_loc_descriptor)
PR debug/42767
	* dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE
	and US_TRUNCATE.

	testsuite/
	PR debug/42767
	* gcc.dg/debug/pr42767.c: New.

From-SVN: r155974
2010-01-17 10:19:22 +00:00
Joern Rennecke
5eb7ce9181 (TARGET_BUILTIN_RECIPROCAL): Fix argument types.
Rename argument tm_fn to md_fn.

From-SVN: r155973
2010-01-17 08:12:27 +00:00
Joern Rennecke
914d25dcfb tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of appearance.
* doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
	appearance.

	(TARGET_LEGITIMATE_ADDRESS_P): Add return type.
	Fix markup for strict argument.

	(TARGET_SCHED_REORDER2): Fix argument types.

	(TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type.
	(TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise.

	(TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name.
	(TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise.

	(TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD):
	Add argument name.

	(TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation.
	(TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise.
	(TARGET_SCHED_SET_SCHED_CONTEXT): Likewise.
	(TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise.
	(TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise.

	(TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo.

	(TARGET_SCHED_GEN_SPEC_CHECK): Fix name.

	(TARGET_ASM_RELOC_RW_MASK): Add return type.
	(TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type.

	(TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter.

	(TARGET_ASM_FILE_START): Put @findex before paragraph start.
	Use prototype.

	(TARGET_ASM_NAMED_SECTION): Fix argument list.

	(TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr.
	(TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise.

	(TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr.

	(TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types.

	(TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup
	referring to it.  Fix language.

	(TARGET_HAVE_CTORS_DTORS): Use @deftypevr.

	(TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument.

	(TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types.

	(TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument.

	(TARGET_UNWIND_EMIT): Remove space between 'FILE *' and
	'@var{stream}.  Remove stray 'and'.

	(TARGET_ARM_EABI_UNWINDER): Use @deftypevr.

	(TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument.

	(TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article.

	(TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was 
	misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P.

	(TARGET_GET_PCH_VALIDITY): Put 'void *' in braces.
	Fix description of return value.
	Rename argument "sz" to "len."

	(TARGET_CXX_GUARD_MASK_BIT): Add missing article.
	Clarify meaning of 'true' return value.

	(TARGET_SHIFT_TRUNCATION_MASK): Fix return type.

	(TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of
	rep_mode versus mode_rep.

	(TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document.

	(TARGET_BUILTIN_DECL): Fix name.

	(TARGET_COMMUTATIVE_P): Fix type of first argument.

	(TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL.

	(TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type.

	(TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook.

	(TARGET_RELAXED_ORDERING): Use @deftypevr.

	(TARGET_GET_DRAP_RTX): Note that this is a hook.
	Clarify language.

From-SVN: r155972
2010-01-17 08:04:52 +00:00
GCC Administrator
095ae514b6 Daily bump.
From-SVN: r155970
2010-01-17 00:16:48 +00:00
Jason Merrill
d1c05c88b5 re PR c++/42761 (std::bind doesn't work for simple class types)
PR c++/42761
	* semantics.c (finish_decltype_type): Within a template, treat
	unresolved CALL_EXPR as dependent.

From-SVN: r155966
2010-01-16 10:23:19 -05:00
Ralf Wildenhues
a6918ffd39 Fix PR 35942: remove -lstdc++ from libtool postdeps for CXX.
libstdc++-v3/:
	PR libstdc++/35942
	* configure.ac: Remove -lstdc++ from libtool's postdeps_CXX.
	* configure: Regenerate.

From-SVN: r155965
2010-01-16 14:46:57 +00:00
Harsha Jagasia
8f7fd2da87 re PR target/42664 (ICE on compilation of polyhedron benchmarks with -mfma4)
Fix PR42664.

2010-01-16  Harsha Jagasia  <harsha.jagasia@amd.com>

	PR target/42664
	* config/i386/i386.c (ix86_fixup_binary_operands):
	Revert FMA4 fixup of operands.

From-SVN: r155964
2010-01-16 14:46:19 +00:00
Ralf Wildenhues
2fdb618d66 Avoid tr '\n', for Solaris /usr/bin/tr.
contrib/
	* check_warning_flags.sh: Use \012 instead of \n with tr.

gcc/:
	PR gcc/42525
	* Makefile.in (write_entries_to_file, install-plugin):
	Use \012 instead of \n with tr.

libjava/:
	* Makefile.am (write_entries_to_file): Use \012 instead of \n
	with tr.
	* scripts/makemake.tcl: Likewise.
	* sources.am: Regenerate.
	* Makefile.in: Regenerate.

From-SVN: r155963
2010-01-16 14:42:32 +00:00
Richard Sandiford
636cf8b1f9 configure.ac (HAVE_AS_REF): New C macro.
gcc/
	* configure.ac (HAVE_AS_REF): New C macro.
	* configure: Regenerate.
	* config.in: Likewise.
	* collect2.c (main): Only postpone SCAN_DWEH to the second pass
	if HAVE_AS_REF.
	* config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define
	if HAVE_AS_REF.

From-SVN: r155961
2010-01-16 12:14:09 +00:00
Jakub Jelinek
7647c8412a re PR middle-end/42760 (ICE in convert_move)
PR middle-end/42760
	* g++.dg/torture/pr42760.C: New test.

From-SVN: r155960
2010-01-16 10:45:53 +01:00
Joern Rennecke
b6fd8800b0 tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.
* doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.

	(TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types.

	(TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types.

	(TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces.

	(TARGET_IN_SMALL_DATA_P): Fix argument type.

	(TARGET_BINDS_LOCAL_P): Fix argument type.

	(TARGET_ASM_FILE_END): Use prototype.

	(TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces.

	(TARGET_DWARF_CALLING_CONVENTION): Fix argument type.

	(TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types.

	(TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type.

	(TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces.
	(TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise.

	(TARGET_PCH_VALID_P): Put 'const char *' in braces.
	(TARGET_CHECK_PCH_TARGET_FLAGS): Likewise.

	(TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces.
	(TARGET_ADDR_SPACE_SUBSET_P): Likewise.
	(TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces.
	(TARGET_ADDR_SPACE_CONVERT): Likewise.

	(TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces.

	(TARGET_MACHINE_DEPENDENT_REORG: Use prototype.

	(TARGET_INIT_BUILTINS): Use prototype.

	(TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
	Put 'const char *' in braces.  Fix parameter types.
	(TARGET_INVALID_CONVERSION): Fix parameter types.
	(TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise.
	(TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise.

	(TARGET_PROMOTED_TYPE): Remove braces around 'tree'.
	Fix argument type.

	(TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'.

	(TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'.

From-SVN: r155957
2010-01-16 02:39:40 +00:00
Joern Rennecke
9ddb66ef68 tm.texi (TARGET_HELP): Fix return type.
* doc/tm.texi (TARGET_HELP): Fix return type.

	(TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode'
	in braces.  Fix argument types.

	(TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype.

	(TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype.

	(TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type.

	(TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces.
	(TARGET_FIXED_POINT_SUPPORTED_P): Likewise.

	(TARGET_MANGLE_TYPE): Fix argument types.

	(TARGET_IRA_COVER_CLASSES): Use prototype.

	(TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type.  Use prototype.

	(TARGET_CAN_ELIMINATE): Use identifiers for argument names.

	(TARGET_PROMOTE_PROTOTYPES): Fix argument type.

	(TARGET_MUST_PASS_IN_STACK): Fix argument type.

	(TARGET_CALLEE_COPIES): Fix argument types.

	(TARGET_SPLIT_COMPLEX_ARG): Fix argument type.

	(TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types.

	(TARGET_FUNCTION_VALUE): Fix argument types.

	(TARGET_RETURN_IN_MSB): Fix argument type.

	(TARGET_RETURN_IN_MEMORY): Fix argument types.

	(TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types.

	(TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type.

	(TARGET_STRICT_ARGUMENT_NAMING): Make literal in text
	agree with return type.

	(TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype.

From-SVN: r155956
2010-01-16 00:36:34 +00:00
GCC Administrator
5e7bfbb828 Daily bump.
From-SVN: r155955
2010-01-16 00:16:43 +00:00
Phil Muldoon
852e2c40de printers.py (StdStringPrinter.__init__): Remove encoding argument.
2010-01-15  Phil Muldoon  <pmuldoon@redhat.com>

	* python/libstdcxx/v6/printers.py (StdStringPrinter.__init__):
	Remove encoding argument.
	(StdStringPrinter.to_string): Do not compute or pass encoding.
	Use lazy_string over string function.


--this line, and those below, will be ignored--

M    libstdc++-v3/python/libstdcxx/v6/printers.py
M    libstdc++-v3/ChangeLog

From-SVN: r155951
2010-01-15 23:36:58 +00:00
Jing Yu
4a62494df2 re PR rtl-optimization/42691 (problematic REG_EQUAL note added to SUBREG)
2010-01-15  Jing Yu  <jingyu@google.com>

	PR rtl-optimization/42691
        * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
	a pseudo to a constant and are merged, and adjust comments.

2010-01-15  Jing Yu  <jingyu@google.com>

	PR rtl-optimization/42691
	* gcc.c-torture/execute/pr42691.c: New.

From-SVN: r155948
2010-01-15 21:54:01 +00:00
Jing Yu
5a869057b4 Revert revision 155944 due to the broken testcase.
From-SVN: r155946
2010-01-15 21:38:20 +00:00
Jing Yu
1018d41ac2 re PR rtl-optimization/42691 (problematic REG_EQUAL note added to SUBREG)
2010-01-15  Jing Yu  <jingyu@google.com>

	PR rtl-optimization/42691
	* combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
	a pseudo to a constant and are merged, and adjust comments.

2010-01-15  Jing Yu  <jingyu@google.com>

	PR rtl-optimization/42691
	* gcc.c-torture/execute/pr42691.c: New.

From-SVN: r155944
2010-01-15 18:47:45 +00:00
Eric Botcazou
a1b5171bd8 * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo.
From-SVN: r155943
2010-01-15 17:54:23 +00:00
Thierry Lafage
306c7b5be9 * MAINTAINERS (Write After Approval): Add myself
From-SVN: r155941
2010-01-15 16:43:58 +00:00
Jerry DeLisle
6d1adadd1b Add PR number to ChangeLog.
From-SVN: r155940
2010-01-15 15:55:24 +00:00
Jerry DeLisle
601aa68fd9 format.c (parse_format): Set limit on size of format strings that will be cached.
2010-01-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	* io/format.c (parse_format): Set limit on size of format strings that
	will be cached.

From-SVN: r155939
2010-01-15 15:52:28 +00:00
Konrad Trifunovic
1b8b9e1988 MAINTAINERS (Write After Approval): Add myself.
* MAINTAINERS (Write After Approval): Add myself.

From-SVN: r155938
2010-01-15 12:12:22 +00:00
Richard Guenther
1197e78957 re PR middle-end/42739 (ICE with computed goto, destructors, and optimization)
2010-01-15  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42739
	* tree-cfgcleanup.c (remove_forwarder_block): Move destination
	labels of computed or non-local gotos to the destination.
	* tree-cfg.c (gimple_verify_flow_info): Verify that a EH
	landing pad label is the first label.

	* g++.dg/torture/pr42739.C: New testcase.

From-SVN: r155937
2010-01-15 11:53:26 +00:00
Dodji Seketeli
58be9ce9c3 Revert commit of PR c++/42634, which was commit r155868
From-SVN: r155936
2010-01-15 12:23:29 +01:00
Richard Guenther
cbe80ff867 tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.
2010-01-15  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.

From-SVN: r155934
2010-01-15 10:34:24 +00:00
Jerry DeLisle
3f298330df re PR fortran/42684 (ICE when interface operator(xx) available through host and use assoc in module procedure)
2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>

	PR fortran/42684
	* gfortran.dg/interface_31.f90: New test.

From-SVN: r155931
2010-01-15 02:06:23 +00:00
Jerry DeLisle
0175478dec re PR fortran/42684 (ICE when interface operator(xx) available through host and use assoc in module procedure)
2010-01-14 Jerry DeLisle <jvdelisle@gcc.gnu.org>

	PR fortran/42684
	* interface.c (check_interface1): Pass symbol name rather than NULL to
	gfc_compare_interfaces.	(gfc_compare_interfaces): Add assert to
	trap MULL.
	* resolve.c (check_generic_tbp_ambiguity): Pass symbol name rather
	than NULL to gfc_compare_interfaces.

From-SVN: r155930
2010-01-15 01:47:43 +00:00
GCC Administrator
ab69346017 Daily bump.
From-SVN: r155928
2010-01-15 00:19:26 +00:00
Michael Meissner
c919858d6a Fix 42747, make -mvsx enable sqrt
From-SVN: r155923
2010-01-14 22:52:02 +00:00
Jakub Jelinek
ef5d11818d re PR middle-end/42674 (Bogus "no return statement in function returning non-void" warning)
PR middle-end/42674
	* c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
	functions with noreturn attribute.

	* decl.c (finish_function): Don't emit -Wreturn-type warnings in
	functions with noreturn attribute.

	* c-c++-common/pr42674.c: New test.

From-SVN: r155920
2010-01-14 23:43:56 +01:00
Jakub Jelinek
5b1cbe1453 re PR c++/42608 (Undefined reference not reported in case of explicit template instantiation)
PR c++/42608
	* varasm.c (declare_weak): Add weak attribute to decl if it
	doesn't have one already.
	(assemble_external): Only add decls to weak_decls if they also
	have weak attribute.

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

From-SVN: r155919
2010-01-14 23:41:02 +01:00
Alexandre Oliva
7d2a845248 var-tracking.c (var_reg_delete): Don't delete the association between REGs and values or one-part variables if...
* var-tracking.c (var_reg_delete): Don't delete the association
	between REGs and values or one-part variables if the register
	isn't clobbered.

From-SVN: r155918
2010-01-14 23:39:25 +01:00
Jakub Jelinek
d17af14789 re PR debug/42657 (Missing debug info for a variable)
PR debug/42657
	* tree-inline.c (copy_debug_stmt): Don't reset debug stmt just
	because its first operand is a non-localized variable.

From-SVN: r155917
2010-01-14 23:38:29 +01:00
Jason Merrill
6700a2857f re PR c++/42701 (ICE on error recovery)
PR c++/42701
	* call.c (build_new_method_call): Don't free the vec here.

From-SVN: r155916
2010-01-14 17:32:24 -05:00
Jason Merrill
2d1a618e84 re PR c++/42655 (! causes the qualified types for rvalue)
PR c++/42655
	* call.c (convert_like_real): Do full decay_conversion for ck_rvalue.

From-SVN: r155913
2010-01-14 15:21:58 -05:00
Paolo Carlini
5f3e3df666 cstring (memchr): Forward to the builtin.
2010-01-14  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/c_std/cstring (memchr): Forward to the builtin.
	* include/c_std/cstring: Remove redundant casts; use names consistent
	with the letter of the Standard.
	* include/c_global/cstring: Likewise.

From-SVN: r155912
2010-01-14 18:15:37 +00:00
Martin Jambor
2f3cdcf502 re PR tree-optimization/42706 (ICE in gimple_op, at gimple.h:1634, (IPA SRA))
2010-01-14  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42706
	* tree-sra.c (encountered_recursive_call): New variable.
	(encountered_unchangable_recursive_call): Likewise.
	(sra_initialize): Initialize both new variables.
	(callsite_has_enough_arguments_p): New function.
	(scan_function): Call decl and flags check only for IPA-SRA, check
	whether there is a recursive call and whether it has enough arguments.
	(all_callers_have_enough_arguments_p): New function.
	(convert_callers): Look for recursive calls only when
	encountered_recursive_call is set.
	(ipa_early_sra): Bail out either if
	!all_callers_have_enough_arguments_p or
	encountered_unchangable_recursive_call.

	* testsuite/gcc.dg/ipa/pr42706.c: New testcase.

From-SVN: r155911
2010-01-14 19:00:34 +01:00
H.J. Lu
7767706d58 Use __SIZE_TYPE__ to define size_t.
2010-01-14  H.J. Lu  <hongjiu.lu@intel.com>

	* g++.dg/graphite/pr42681.C (size_t): Use __SIZE_TYPE__.

From-SVN: r155910
2010-01-14 06:45:47 -08:00
Alexander Monakov
c02e2d5cc5 sel-sched.c: Add 2010 to copyright years.
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

	* sel-sched.c: Add 2010 to copyright years.
	* sel-sched-ir.c: Likewise.
	* sel-sched-ir.h: Likewise.

From-SVN: r155906
2010-01-14 16:50:09 +03:00
Martin Jambor
92e97cdd7d re PR tree-optimization/42714 (ICE in create_tmp_var, at gimplify.c:504)
2010-01-14  Martin Jambor  <mjambor@suse.cz>

	PR tree-optimization/42714
	* tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type
	constructors specially.

	* gcc/testsuite/g++.dg/torture/pr42714.C: New test.

From-SVN: r155905
2010-01-14 14:29:44 +01:00
Andi Kleen
a0463099e7 drivers-i386.c (detect_caches_intel): Add l2sizekb parameter and fill in.
2010-01-14  Andi Kleen  <ak@linux.intel.com>

	* config/i386/drivers-i386.c (detect_caches_intel):
	Add l2sizekb parameter and fill in.
	(host_detect_local_cpu): Add l2sizekb, fill in.
	Add Atom small cache heuristic.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

	* config/i386/drivers-i386.c (detect_caches_cpuid4):
	Add level3 parameter and fill in.
	(detect_caches_intel): Handle level3 cache.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

	* config/i386/drivers-i386.c (host_detect_local_cpu):
	Fix core duo detection.

2010-01-14  Andi Kleen  <ak@linux.intel.com>

	* config/i386/drivers-i386.c (host_detect_local_cpu):
	Fix Atom detection.

From-SVN: r155904
2010-01-14 13:48:09 +01:00
Alexander Monakov
dd6739e322 rs6000.c (rs6000_variable_issue): Rename to...
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

	* config/rs6000/rs6000.c (rs6000_variable_issue): Rename to...
	(rs6000_variable_issue_1): this.  Use...
	(rs6000_variable_issue): here.  Reimplement.  Print debug info.

From-SVN: r155902
2010-01-14 14:27:11 +03:00
Alexander Monakov
7898b93b57 sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

	* sel-sched-ir.c (sel_restore_other_notes): Rename to sel_restore_notes.
	Update all callers.  Call reemit_notes for all insns.

From-SVN: r155901
2010-01-14 14:25:25 +03:00
Andrey Belevantsev
65b659ff8a re PR rtl-optimization/42246 (ICE in init_seqno for 186.crafty with sel-sched)
PR rtl-optimization/42246
        * sel-sched-ir.h (get_all_loop_exits): Include exits from inner
        loops.

From-SVN: r155900
2010-01-14 14:22:20 +03:00
Andrey Belevantsev
c648655209 sel-sched.c (compute_av_set_at_bb_end): Do not test that number of all successors is the same as number of successors...
* sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
        all successors is the same as number of successors in current region.

From-SVN: r155899
2010-01-14 14:19:25 +03:00
Alexander Monakov
f07013eb07 sel-sched.c (maybe_emit_renaming_copy): Exit early when expression to rename is not separable.
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

	* sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
	to rename is not separable.  Otherwise check that its LHS is not NULL.

From-SVN: r155898
2010-01-14 14:16:02 +03:00
Alexander Monakov
a9ced68beb sel-sched.c (choose_best_reg_1): Loop over all regs for mode.
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

	* sel-sched.c (choose_best_reg_1):  Loop over all regs for mode.

From-SVN: r155897
2010-01-14 14:15:07 +03:00
Alexander Monakov
0c94f956cf sel-sched.c (mark_unavailable_hard_regs): Do not try to search available registers when failed to discover LHS register class.
2010-01-14  Alexander Monakov  <amonakov@ispras.ru>

	* sel-sched.c (mark_unavailable_hard_regs): Do not try to search
	available registers when failed to discover LHS register class.
	Fix indentation.  Update comment.

From-SVN: r155896
2010-01-14 14:13:36 +03:00