Commit Graph

99936 Commits

Author SHA1 Message Date
Uros Bizjak
e66afe476e leak_test.c (main): Declare as int.
* tests/leak_test.c (main): Declare as int.  Return 0.
	* tests/thread_leak_test.c (main): Ditto.
	* tests/trace_test.c (main): Ditto.

From-SVN: r159344
2010-05-13 00:45:35 +02:00
Jan Hubicka
5f902d766c cgraphbuild.c (build_cgraph_edges, [...]): Build indrect edges too.
* cgraphbuild.c (build_cgraph_edges, rebuild_cgraph_edges): Build
	indrect edges too.
	* cgraph.c (cgraph_create_indirect_edge): Take ecf_flags argument.
	(cgraph_clone_edge): Update.
	(cgraph_node_remove_callees): Remove indirect calls too.
	* cgraph.h (cgraph_indirect_call_info): Add ecf_flags.
	(cgraph_create_indirect_edge): Update prototype.
	* ipa-reference.c (has_proper_scope_for_analysis): Rename to
	is_proper_for_analysis.
	(add_new_function, visited_nodes, function_insertion_hook_holder,
	get_local_reference_vars_info, mark_address_taken, mark_address,
	mark_load, mark_store, check_asm_memory_clobber, check_call,
	scan_stmt_for_static_refs, scan_initializer_for_static_refs): Remove.
	(ipa_init): Do not initialize visited_nodes;
	function_insertion_hook_holder.
	(analyze_variable): Rewrite.
	(analyze_function): Rewrite.
	(copy_local_bitmap): Remove.
	(duplicate_node_dat): Do not duplicate local info.
	(generate_summary): Simplify to only walk cgraph.
	(write_node_summary_p, ipa_reference_write_summary,
	ipa_reference_read_summary): Remove.
	(propagate): Do not remove function insertion;
	generate summary.
	(pass_ipa_reference): NULLify summary handling fields.
	* lto-cgraph.c (lto_output_edge): Output ecf_flags.
	(input_edge): Input ecf_flags.
	* ipa-prop.c (ipa_note_parm_call): Expect edge to be around.
	(update_indirect_edges_after_inlining): Ignore edges with unknown
	param.

From-SVN: r159343
2010-05-12 21:32:59 +00:00
Sriraman Tallam
87a0ebfd20 implicit-zee.c: New file.
* implicit-zee.c: New file.
	* tree-pass.h (pass_implicit_zee): Declare.
	* passes.c (init_optimization_passes): Add zee pass.
	* common.opt (fzee): New flag.
	* timevar.def (TV_ZEE): Define.
	* config/i386/i386.c (optimization_options): Turn on ZEE for level 2
	and beyond.
	* Makefile.in (implicit-zee.o): Add new build file.
	* gcc.target/i386/zee.c: New file.

From-SVN: r159342
2010-05-12 21:15:19 +00:00
Kazu Hirata
01f0a9dccc c-common.c (sync_resolve_params): Remove write-only variable.
* c-common.c (sync_resolve_params): Remove write-only variable.

Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>

From-SVN: r159340
2010-05-12 19:51:37 +00:00
Anatoly Sokolov
cbda7dc692 target.h (struct gcc_target): Add mode_dependent_address_p field.
* target.h (struct gcc_target): Add mode_dependent_address_p field.
	* target-def.h (TARGET_MODE_DEPENDENT_ADDRESS_P): New.
	(TARGET_INITIALIZER): Use TARGET_MODE_DEPENDENT_ADDRESS_P.
	* targhooks.c (default_mode_dependent_address_p): New function.
	* targhooks.h (default_mode_dependent_address_p): Declare function.
	* doc/tm.texi (TARGET_MODE_DEPENDENT_ADDRESS_P): New.
	(GO_IF_MODE_DEPENDENT_ADDRESS): Update.
	* recog.c: (mode_dependent_address_p): Call mode_dependent_address_p
	target hook. Change return type to bool.
	* recog.h: (mode_dependent_address_p): Change return type to bool.

From-SVN: r159339
2010-05-12 23:08:31 +04:00
Sriraman Tallam
dfe5f5b2b3 * MAINTAINERS (Write After Approval): Add myself.
From-SVN: r159338
2010-05-12 18:48:15 +00:00
Jason Merrill
3784b33cd1 re PR c++/20669 (Template candidates not listed in error message.)
PR c++/20669
	* call.c (add_template_candidate_real): If deduction fails, still
	add the template as a non-viable candidate.
	(equal_functions): Handle template candidates.
	(print_z_candidate): Likewise.
	(print_z_candidates): Likewise.
	(build_new_function_call): Likewise.

From-SVN: r159335
2010-05-12 13:34:55 -04:00
Jason Merrill
d451d5b28f cp-tree.h (LOOKUP_LIST_ONLY): New.
* cp-tree.h (LOOKUP_LIST_ONLY): New.
	* call.c (add_candidates): Enforce it.
	(build_new_method_call): Try non-list ctor if no viable list ctor.
	(build_user_type_conversion_1): Likewise.

From-SVN: r159334
2010-05-12 13:34:38 -04:00
Jason Merrill
404f08f8d5 call.c (add_candidates): Distinguish between type(x) and x.operator type().
* call.c (add_candidates): Distinguish between type(x) and
	x.operator type().
	(convert_class_to_reference): Set LOOKUP_NO_CONVERSION.
	(build_new_method_call): Give better error for conversion op.

From-SVN: r159333
2010-05-12 13:34:28 -04:00
Jason Merrill
5c824000a5 call.c (add_candidates): Add first_arg and return_type parms.
* call.c (add_candidates): Add first_arg and return_type parms.
	Add special constructor/conversion op handling.
	(convert_class_to_reference): Use it.
	(build_user_type_conversion_1): Likewise.
	(build_op_call): Likewise.
	(build_new_method_call): Likewise.
	(build_new_op): Adjust.
	(perform_overload_resolution): Adjust.

From-SVN: r159332
2010-05-12 13:34:15 -04:00
Kazu Hirata
1df439077d tree-mudflap.c (build_function_type_0, [...]): Remove.
* tree-mudflap.c (build_function_type_0, build_function_type_1,
	build_function_type_2, build_function_type_3): Remove.
	(mudflap_init): Use build_function_type_list.

Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>

From-SVN: r159328
2010-05-12 15:53:39 +00:00
Kazu Hirata
f9b36bb32f coverage.c (build_fn_info_value): Call build_constructor instead of build_constructor_from_list.
* coverage.c (build_fn_info_value): Call build_constructor instead of
	build_constructor_from_list.
	(build_ctr_info_value): Likewise.
	(build_gcov_info): Likewise.

Co-Authored-By: Nathan Froyd <froydnj@codesourcery.com>

From-SVN: r159326
2010-05-12 15:33:10 +00:00
Nathan Froyd
f88203b011 tree.c (build_constructor): Compute TREE_CONSTANT for the resultant constructor.
* tree.c (build_constructor): Compute TREE_CONSTANT for the
	resultant constructor.
	(build_constructor_single): Don't set TREE_CONSTANT.
	(build_constructor_from_list): Don't compute TREE_CONSTANT.

From-SVN: r159325
2010-05-12 15:29:51 +00:00
Jan Hubicka
b34fd25c83 cgraph.h (struct varpool_node): Add aux.
* cgraph.h (struct varpool_node): Add aux.
	* varasm.c (find_decl_and_mark_needed): Force output of varpool nodes.
	* varpool.c (varpool_remove_node): Do not remove initializer.
	(varpool_reset_queue): Export.
	(varpool_finalize_decl): Volatile vars are forced to be output.
	* lto-symtab.c (lto_varpool_replace_node): Clear out initializer of
	replaced decl.
	* ipa.c (enqueue_cgraph_node, enqueue_varpool_node,
	process_references, varpool_can_remove_if_no_refs): New functions.
	(cgraph_remove_unreachable_nodes): Handle variables too.

From-SVN: r159321
2010-05-12 13:49:34 +00:00
H.J. Lu
49f19b1cfc Support AVX for cmpss/cmpsd.
gcc/

2010-05-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/44088
	* config/i386/sse.md (*avx_vmmaskcmp<mode>3): New.

gcc/testsuite/

2010-05-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/44088
	* gcc.target/i386/avx-cmpsd-1.c: New.
	* gcc.target/i386/avx-cmpsd-2.c: Likewise.
	* gcc.target/i386/avx-cmpss-1.c: Likewise.
	* gcc.target/i386/avx-cmpss-2.c: Likewise.
	* gcc.target/i386/sse-cmpss-1.c: Likewise.
	* gcc.target/i386/sse2-cmpsd-1.c: Likewise.

From-SVN: r159319
2010-05-12 05:48:02 -07:00
Jakub Jelinek
f22f434020 re PR middle-end/44085 (OpenMP - untied task accesses threadprivate - non-conforming but no msg)
PR middle-end/44085
	* gimplify.c (enum omp_region_type): Add ORT_UNTIED_TASK,
	change value of ORT_TASK.
	(new_omp_context): Handle ORT_UNTIED_TASK like ORT_TASK.
	(omp_notice_threadprivate_variable): New function.
	(omp_notice_variable): Call it for threadprivate variables.
	If enclosing ctx is a task, print enclosing task rather than
	enclosing parallel.  Handle ORT_UNTIED_TASK like ORT_TASK.
	(gimplify_omp_task): Pass ORT_UNTIED_TASK instead of ORT_TASK
	if task has untied clause.

	* gcc.dg/gomp/pr44085.c: New test.
	* gfortran.dg/gomp/pr44085.f90: New test.

From-SVN: r159316
2010-05-12 14:11:00 +02:00
Jakub Jelinek
7c2db0d362 re PR debug/42278 (incorrect dwarf data gcc-4.4.2)
PR debug/42278
	* dwarf2out.c (base_type_die): Don't add name attribute here.
	(modified_type_die): Instead of sizetype use
	its underlying original type.  If a DW_TAG_base_type doesn't
	have name added, add __unknown__.
	(dwarf2out_imported_module_or_decl_1): Don't call base_type_die,
	always call force_type_die instead.

From-SVN: r159315
2010-05-12 14:08:34 +02:00
Iain Sandoe
5e247ae5a1 Add this change, missed from the previous commit (but already in the Changelog).
From-SVN: r159314
2010-05-12 11:57:43 +00:00
Eric Botcazou
d0c26312ed decl.c (gnat_to_gnu_entity): Tidy up code, improve comments and fix formatting nits.
* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Access_Type>: Tidy up
	code, improve comments and fix formatting nits.

From-SVN: r159312
2010-05-12 11:27:24 +00:00
Iain Sandoe
101422f049 Add TLS checks to ObjC
* objc-obj-c++-shared/Object1.m: New.
	* objc.dg/torture: New directory.
	* objc.dg/torture/tls: Ditto.
	* objc.dg/tls: Ditto.
	* objc.dg/torture/tls/trivial.m: New test.
	* objc.dg/torture/tls/thr-init-2.m: New test.
	* objc.dg/torture/tls/thr-init-3.m: New test.
	* objc.dg/torture/tls/thr-init.m: New test.
	* objc.dg/torture/tls/diag-1.m: New test.
	* objc.dg/torture/tls/tls.exp: New.
	* objc.dg/torture/trivial.m: New test.
	* objc.dg/torture/dg-torture.exp: New.
	* objc.dg/tls/diag-3.m: New test.
	* objc.dg/tls/diag-4.m: New test.
	* objc.dg/tls/diag-5.m: New test.
	* objc.dg/tls/init-1.m: New test.
	* objc.dg/tls/init-2.m: New test.
	* objc.dg/tls/tls.exp: New.
	* objc.dg/tls/diag-2.m: New test.
	* lib/objc.exp: Respond to dg-additional-files.

From-SVN: r159311
2010-05-12 11:16:33 +00:00
Maxim Kuvyrkov
623a6941fa targhooks.c (default_stack_protect_guard): Avoid sharing RTL for __stack_chk_guard.
* targhooks.c (default_stack_protect_guard): Avoid sharing RTL
	for __stack_chk_guard.

	* gcc.target/m68k/20100512-1.c: New.

From-SVN: r159310
2010-05-12 11:05:19 +00:00
Eric Botcazou
aeecf17ca3 utils.c (update_pointer_to): Return early if the old pointer already points to the new type.
* gcc-interface/utils.c (update_pointer_to): Return early if the old
	pointer already points to the new type.  Chain the old pointer and its
	variants at the end of new pointer's chain after updating them.

From-SVN: r159309
2010-05-12 10:59:38 +00:00
Jan Hubicka
33e42d568d * lto.c (materialize_cgraph): Revert my previous patch.
From-SVN: r159305
2010-05-12 10:05:16 +00:00
GCC Administrator
0e8751ab18 Daily bump.
From-SVN: r159300
2010-05-12 00:17:18 +00:00
Paolo Carlini
aac73a6d78 re PR c++/34272 (ICE with invalid template specialization)
/cp
2010-05-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/34272
	PR c++/43630
	PR c++/34491
	* pt.c (process_partial_specialization): Return error_mark_node
	in case of unused template parameters in partial specialization.

/testsuite
2010-05-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/34272
	PR c++/43630
	PR c++/34491
	* g++.dg/template/crash97.C: New.
	* g++.dg/template/crash98.C: Likewise.
	* g++.dg/template/crash99.C: Likewise.
	* g++.dg/cpp0x/pr31439.C: Adjust.
	* g++.dg/template/crash95.C: Likewise.

From-SVN: r159295
2010-05-11 20:53:36 +00:00
Jakub Jelinek
9d000e8300 c-opts.c (c_common_parse_file): If start_end_main_source_file, don't call start_source_file debug hook here...
* c-opts.c (c_common_parse_file): If start_end_main_source_file,
	don't call start_source_file debug hook here...
	(finish_options): ... but here, after outputting predefined and
	command line defines and undefs.

From-SVN: r159293
2010-05-11 21:54:51 +02:00
Kai Tietz
f6430ea53c lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Rename to IMAGE_FILE_MACHINE_AMD64.
2010-05-11  Kai Tietz  <kai.tietz@onevision.com>

        * lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Rename to
        IMAGE_FILE_MACHINE_AMD64.
        * lto-coff.c (IMAGE_FILE_MACHINE_ADM64): Likewise.

From-SVN: r159290
2010-05-11 20:42:04 +02:00
Jakub Jelinek
3b5fda81f9 re PR middle-end/44071 (ICE with asm goto and __builtin_unreachable())
PR middle-end/44071
	* cfglayout.c (fixup_reorder_chain): Allow asm goto to have
	no fallthru edge.
	* cfgcleanup.c (try_optimize_cfg): When in cfglayout mode
	optimizing away empty bb with no successors, move over its
	footer chain to fallthru predecessor.
	* cfgrtl.c (patch_jump_insn): Update also REG_LABEL_OPERAND.
	(rtl_split_edge): For asm goto call patch_jump_insn even if
	splitting fallthru edge.

	* c-c++-common/asmgoto-4.c: New test.
	* gcc.target/i386/pr44071.c: New test.

From-SVN: r159288
2010-05-11 20:17:43 +02:00
Jakub Jelinek
3895ec538a re PR c++/44059 (Static initializers executed more than once when using unique global symbols)
PR c++/44059
	* config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use qnu_unique_object
	even for DECL_ONE_ONLY DECL_ARTIFICIAL !TREE_READONLY decls.
	* config/alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Likewise.
	* dwarf2asm.c (dw2_output_indirect_constant_1): Set TREE_READONLY
	on DW.ref.* decls.

From-SVN: r159287
2010-05-11 20:14:19 +02:00
Jakub Jelinek
056928b248 re PR c++/44062 ((void)var; doesn't prevent 'set but not used' warning)
PR c++/44062
	* c-parser.c (c_parser_expression): Mark LHS of a comma
	expression as read if it is a decl, handled component or
	COMPOUND_EXPR with that on the RHS.
	* c-typeck.c (c_process_expr_stmt): Mark RHS of COMPOUND_EXPR
	if it is a decl or handled component.

	* semantics.c (finish_expr_stmt): Don't call mark_exp_read here...
	* cvt.c (convert_to_void): ... but here.  If expr is a COMPOUND_EXPR,
	look at its second operand.

	* c-c++-common/Wunused-var-7.c: New test.
	* g++.dg/warn/Wunused-var-9.C: New test.

From-SVN: r159286
2010-05-11 20:12:28 +02:00
Daniel Franke
edf86ec148 re PR fortran/43711 (Unformitive error message for two NOWAIT in OpenMP directive)
gcc/fortran/:
2010-05-11  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/43711
        * openmp.c (gfc_match_omp_taskwait): Report unexpected characters
        after OMP statement.
        (gfc_match_omp_critical): Likewise.
        (gfc_match_omp_flush): Likewise.
        (gfc_match_omp_workshare): Likewise.
        (gfc_match_omp_master): Likewise.
        (gfc_match_omp_ordered): Likewise.
        (gfc_match_omp_atomic): Likewise.
        (gfc_match_omp_barrier): Likewise.
        (gfc_match_omp_end_nowait): Likewise.

gcc/testsuite/:
2010-05-11  Daniel Franke  <franke.daniel@gmail.com>

        PR fortran/43711
        * gfortran.dg/gomp/pr43711.f90: New.

From-SVN: r159282
2010-05-11 12:45:17 -04:00
Jan Hubicka
0a0b07b72e lto.c (lto_fixup_decls): Remove global var decls freeing here.
* lto.c (lto_fixup_decls): Remove global var decls freeing here.
	(materialize_cgraph): Add it here.

From-SVN: r159281
2010-05-11 16:27:31 +00:00
Jan Hubicka
9a8098970a lto-symtab.c (lto_symtab_free): New function.
* lto-symtab.c (lto_symtab_free): New function.
	* lto-streamer.h (lto_symtab_free): Declare.

	* lto-cgraph.c (reachable_from_other_partition_p): Export; do not assume
	that if function is needed it is reachable.
	(lto_output_node): See if it the function is reachable or referenced.
	(output_cgraph): Update call of lto_output_node.
	* lto-streamer.h (reachable_from_other_partition_p): Declare.

	* lto.c (lto_fixup_decls): Free no longer needed lto_global_var_decls
	vector.

	* lto.c (lto_1_to_1_map): Remove some no longer needed checks.
	(lto_promote_cross_file_statics): Never promote DECL_EXTERNAL;
	use reachable_from_other_partition_p and
	referenced_from_other_partition_p test.

From-SVN: r159280
2010-05-11 15:52:36 +00:00
Jan Hubicka
b805319410 crtstuff.c (__JCR_LIST__, [...]): Mark as used.
* crtstuff.c (__JCR_LIST__, __DTOR_END__, __JCR_END__, __FRAME_END__):
	Mark as used.

From-SVN: r159279
2010-05-11 15:44:26 +00:00
Daniel Franke
ad1614a7bf re PR fortran/31820 (Warning if case label value exceeds maximum value for type)
gcc/fortran/:
2010-05-11  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/31820
	* resolve.c (validate_case_label_expr): Removed FIXME.
	(resolve_select): Raise default warning on case labels out of range
	of the case expression.

gcc/testsuite/:
2010-05-11  Daniel Franke  <franke.daniel@gmail.com>

	PR fortran/31820
	* gfortran.dg/select_5.f90: Updated.

From-SVN: r159278
2010-05-11 11:43:16 -04:00
Jan Hubicka
1aa1419556 re PR tree-optimization/44063 (build broken for libgcc cris-elf, ICE in cgraph_estimate_size_after_inlining, at ipa-inline)
PR tree-optimize/44063
	* ipa-inline.c (cgraph_edge_badness): Move always inlines to top of queue.
	(cgraph_decide_inlining_of_small_function): Skip check when disrgarding
	limits.
	(estimate_function_body_sizes): Compute sizes even when disregarding.
	* gcc.c-torture/compile/pr44063.c: New testcase.

From-SVN: r159273
2010-05-11 15:15:48 +00:00
Kai Tietz
f088f0aee2 collect2.c (maybe_lto_object_file): Add x64-coff magic and check.
2010-05-11  Kai Tietz  <kai.tietz@onevision.com>

        * collect2.c (maybe_lto_object_file): Add x64-coff magic and check.

From-SVN: r159272
2010-05-11 17:06:38 +02:00
Kai Tietz
94f6424987 lto-coff.c (validate_file): Add x64-coff support.
2010-05-11  Kai Tietz  <kai.tietz@onevision.com>

        * lto-coff.c (validate_file): Add x64-coff support.
        * lto-coff.h (IMAGE_FILE_MACHINE_ADM64): New.
        (COFF_KNOWN_MACHINES): Add IMAGE_FILE_MACHINE_ADM64.
        * lto-lang.c (lto_build_c_type_nodes): Add check for
        'long long unsigned int' for x64-windows.
        (lto_init): Likewise.

From-SVN: r159271
2010-05-11 17:05:36 +02:00
Silvius Rus
90829bcb0c re PR libstdc++/43259 (ext/profile/all.cc fails on Solaris)
2010-05-11  Silvius Rus  <silvius.rus@gmail.com>

	PR libstdc++/43259
	* include/profile/impl/profiler_algos.h: New.
	* include/Makefile.am: Add.
	* include/Makefile.in: Regenerate.
	* include/profile/impl/profiler.h
	(_GLIBCXX_PROFILE_DEFINE_UNINIT_DATA): Add.
	* include/profile/impl/profiler_trace.h
	(__mutex_t, __lock, __unlock): Remove.
	(__lock_object_table, __lock_stack_table): Remove. Replace uses with
	calls to __gnu_cxx::__mutex::lock.
	(__unlock_object_table, __unlock_stack_table): Remove. Replace uses
	with calls to __gnu_cxx::__mutex::unlock.
	(__warn, __cost_factor_writer, __cost_factor_setter): Add.
	* testsuite/ext/profile/profiler_algos.cc: New.

From-SVN: r159269
2010-05-11 10:23:20 +00:00
Silvius Rus
1f0622b42d re PR libstdc++/43259 (ext/profile/all.cc fails on Solaris)
2010-05-11  Silvius Rus  <silvius.rus@gmail.com>

	PR libstdc++/43259
	* include/profile/impl/profiler_algos.h: New.
	* include/Makefile.am: Add.
	* include/Makefile.in: Regenerate.
	* include/profile/impl/profiler.h
	(_GLIBCXX_PROFILE_DEFINE_UNINIT_DATA): Add.
	* include/profile/impl/profiler_trace.h
	(__mutex_t, __lock, __unlock): Remove.
	(__lock_object_table, __lock_stack_table): Remove. Replace uses with
	calls to __gnu_cxx::__mutex::lock.
	(__unlock_object_table, __unlock_stack_table): Remove. Replace uses
	with calls to __gnu_cxx::__mutex::unlock.
	(__warn, __cost_factor_writer, __cost_factor_setter): Add.
	* testsuite/ext/profile/profiler_algos.cc: New.

From-SVN: r159268
2010-05-11 10:22:18 +00:00
Jan Hubicka
dcda03f4be lto-cgraph.c (output_cgraph): Remove loop adding all varpool nodes into every boundary.
* lto-cgraph.c (output_cgraph): Remove loop adding all varpool nodes
	into every boundary.

From-SVN: r159267
2010-05-11 10:17:42 +00:00
Jan Hubicka
ece02605ca * matrix-reorg.c (matrix_reorg): Rebuild edges.
From-SVN: r159263
2010-05-11 08:27:29 +00:00
Jan Hubicka
979aeb3331 lto-streamer.h (struct lto_streamer_cache_d): Nodes vector is in heap.
* lto-streamer.h (struct lto_streamer_cache_d): Nodes vector is in
	heap.

From-SVN: r159262
2010-05-11 08:24:08 +00:00
Jan Hubicka
cc56d170d2 lto-streamer.c (lto_streamer_cache_add_to_node_array, [...]): Put nodes into heap.
* lto-streamer.c (lto_streamer_cache_add_to_node_array,
	lto_streamer_cache_delete): Put nodes into heap.
	(struct lto_streamer_cache_d): Nodes vector is in heap.

From-SVN: r159261
2010-05-11 08:20:44 +00:00
Jan Hubicka
a2acdf1fb2 cgraph.c (cgraph_mark_reachable_node): Accept references to optimized out extern inlines.
* cgraph.c (cgraph_mark_reachable_node): Accept references to optimized
	out extern inlines.

From-SVN: r159260
2010-05-11 08:19:28 +00:00
Jan Hubicka
99b766fc8b cgraphbuild.c (cgraph_rebuild_references): New.
* cgraphbuild.c (cgraph_rebuild_references): New.
	(cgraph_mark_reachable_node): Accept references to optimized out
	extern inlines.
	* cgraph.h (cgraph_rebuild_references): Declare.
	* tree-inline.c (tree_function_versioning): Use it.
	* ipa-struct-reorg.c (do_reorg_for_func): Likewise.

From-SVN: r159259
2010-05-11 08:14:50 +00:00
Jan Hubicka
a940b4d9ab cgraph.c: Include ipa-utils.h
* cgraph.c: Include ipa-utils.h
	(cgraph_create_virtual_clone): Update references.
	* Makefile.in (cgraph.o): Add dependency at ipa-utils.h

From-SVN: r159258
2010-05-11 08:12:07 +00:00
Christian Borntraeger
57762e976d tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Reset prefetch_before to PREFETCH_ALL if to accesses "meet" beyond cache size.
2010-05-11  Christian Borntraeger  <borntraeger@de.ibm.com>

        * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Reset
	prefetch_before to PREFETCH_ALL if to accesses "meet" beyond
	cache size.

From-SVN: r159257
2010-05-11 07:29:59 +00:00
Christian Borntraeger
a8beb3a7be tree-ssa-loop-prefetch.c: Add debug for dropped prefetches.
2010-05-11  Christian Borntraeger  <borntraeger@de.ibm.com>

        * tree-ssa-loop-prefetch.c: Add debug for dropped prefetches.

From-SVN: r159256
2010-05-11 07:28:42 +00:00
Jakub Jelinek
09b201fc9b gcc.c (execute): For -### don't quote arguments that contain just alphanumerics and _/-.
* gcc.c (execute): For -### don't quote arguments that
	contain just alphanumerics and _/-. characters.
	* doc/invoke.texi: Document that change for -###.

From-SVN: r159255
2010-05-11 08:50:24 +02:00