862802d...
by
Benjamin Kosnik <email address hidden>
on 2013-05-29
Merge branch 'master' into gsoc-2012-regex
15ca8f9...
by
hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2013-05-29
* cgraph.h (symtab_node_base): Add definition, alias and analyzed
flags; reorder rest of fields in more consistent way.
(varpool_node): Remove analyzed, finalized and alias.
(cgraph_ndoe): Likewise.
(symtab_ alias_ultimate_ target) : New function.
(cgraph_ function_ node): Move offline.
(cgraph_ reset_node) : Declare.
(cgraph_ comdat_ can_be_ unshared_ p): Remove.
(varpool_ remove_ initializer) : Declare.
(varpool_ first_defined_ variable, varpool_ next_defined_ variable
cgraph_ first_defined_ function, cgraph_ next_defined_ function) : Update.
(cgraph_ function_ with_gimple_ body_p) : Update.
(varpool_ all_refs_ explicit_ p): Update.
(symtab_ alias_target) : New function.
(cgraph_ alias_aliased_ node, varpool_ alias_aliased_ node): Rename to ...
(cgraph_ alias_target, varpool_ alias_target) : .. this one; simplify.
(cgraph_ function_ or_thunk_ node): Simplify using symtab_ alias_ultimate_ target.
(varpool_ variable_ node): Likewise.
* cgraph.c (cgraph_ create_ function_ alias): Update.
(cgraph_ add_thunk) : Update.
(cgraph_ remove_ node): Update.
(dump_ cgraph_ node): Do not dump removed flags.
(cgraph_ function_ body_availabili ty): Update.
(cgraph_ propagate_ frequency) : Update.
(verify_ cgraph_ node): Check sanity of local flag.
(cgraph_ function_ node): Move here from cgraph.h; revamp for
cgraph_ function_ or_thunk_ node.
* lto-symtab.c (lto_varpool_ replace_ node): Update.
(lto_symtab_ resolve_ can_prevail_ p): Update.
(lto_symtab_ merge_cgraph_ nodes): Update.
* ipa-cp.c (determine_ versionability, initialize_ node_lattices,
propagate_ constants_ accross_ call, devirtualizatio n_time_ bonus,
ipcp_propagate _stage) : Update.
* tree-emutls.c (create_ emultls_ var, ipa_lower_emutls): Update.
* ipa-inline- transform. c (clone_ inlined_ nodes, preserve_ function_ body_p) : Update.
* ipa-reference.c (propagate): Update.
(write_ node_summary_ p): Update.
* toplev.c (wrapup_ global_ declaration_ 2): Update.
* cgraphunit.c (cgraph_ analyze_ function) : Rename to ...
(analyze_function) ... this one.
(cgraph_ process_ new_functions) : Update.
(cgraph_ reset_node) : Export.
(cgraph_ finalize_ function) : Update.
(cgraph_ add_new_ function) : Update.
(process_ function_ and_variable_ attributes) : Update.
(varpool_ finalize_ decl): Update.
(symbol_ finalized) : Remove.
(symbol_ finalized_ and_needed) : Rename to ...
(symbol_ defined_ and_needed) : ... update.
(cgraph_ analyze_ functions) : Update.
(handle_ alias_pairs) : Update.
(mark_ functions_ to_output) : Update.
(assemble_thunk): Update.
(output_in_order): Update.
(output_weakrefs): Update.
(finalize_ compilation_ unit): Update.
* lto-cgraph.c (reachable_ from_other_ partition_ p, lto_output_node,
lto_output_ varpool_ node, compute_ ltrans_ boundary, input_overwrite _node,
input_node, input_varpool_ node): Update.
* dbxout.c (dbxout_ expand_ expr): Update.
* cgraphclones.c (cgraph_ clone_node) : Update.
(cgraph_ copy_node_ for_versioning) : Update.
(cgraph_ materialize_ clone): Update.
(cgraph_ materialize_ all_clones) : Update.
* ipa-pure-const.c (analyze_function, pure_const_ write_summary,
propagate_ pure_const, propagate_nothrow): Update.
* lto-streamer-out.c (lto_output, write_symbol): Update.
* ipa-utils.c (ipa_reverse_ postorder) : Update.
* ipa-inline.c (can_inline_ edge_p) : Update.
(update_ caller_ keys, ipa_inline): Update.
* dwarf2out.c (reference_ to_unused,
premark_ types_used_ by_global_ vars_helper) : Update.
* tree-eh.c (tree_could_ trap_p) : Update.
* ipa-split.c (consider_split, execute_ split_functions ): Update.
* ipa.c (cgraph_ non_local_ node_p_ 1, cgraph_ local_node_ p,
has_addr_ references_ p): Update;
move ahead in file for better readability.
(process_ references) : Simplify.
(symtab_ remove_ unreachable_ nodes): Update; cleanup way function/var
bodies are removed.
(cgraph_ comdat_ can_be_ unshared_ p): Make static.
(cgraph_ externally_ visible_ p): Update.
(varpool_ externally_ visible_ p): Update.
(function_ and_variable_ visibility) : Update.
* trans-mem.c (get_cg_data, ipa_tm_ mayenterirr_ function,
ipa_tm_ mark_force_ output_ node): Update.
* ipa-inline- analysis. c (dump_inline_ summary, initialize_ inline_ failed,
estimate_ edge_devirt_ benefit, inline_ generate_ summary,
inline_ write_summary) : Update.
* gimple-fold.c (can_refer_ decl_in_ current_ unit_p) : Update.
* ipa-prop.c (ipa_compute_ jump_functions) : Update.
(ipa_print_ node_params, ipa_prop_ read_section, ipa_update_ after_lto_ read,
read_replaceme nts_section) : Update.
* varasm.c (mark_decl_ referenced) : Update.
(assemble_alias, dump_tm_ clone_pairs) : Update.
* tree-inline.c (copy_bb): Update.
(estimate_ num_insns, optimize_ inline_ calls, tree_function_ versioning) :
Update.
* symtab.c (dump_symtab_base): Print new flags.
(verify_ symtab_ base): Verify new flags.
(symtab_ alias_ultimate_ target) : New function.
* tree-ssa- structalias. c (get_constraint _for_ssa_ var,
create_ variable_ info_for, associate_ varinfo_ to_alias, ipa_pta_execute):
Update.
* passes.c (ipa_write_ summaries, ipa_write_ optimization_ summaries) : Update.
* i386.c (ix86_get_ function_ versions_ dispatcher,
ix86_generate_ version_ dispatcher_ body): Update.
(fold_ builtin_ cpu): Use varpool_ add_new_ variable.
* varpool.c (varpool_ remove_ initializer) : Break out from ...
(varpool_ remove_ node): ... this one.
(dump_ varpool_ node, varpool_ node_for_ asm,
cgraph_ variable_ initializer_ availability, varpool_ analyze_ node,
varpool_ assemble_ decl, varpool_ remove_ unreferenced_ decls,
varpool_ finalize_ named_section_ flags, varpool_ create_ variable_ alias): Update
* decl.c (java_mark_ decl_local) : Update for new symtab flags.
* tree.c (cp_fix_ function_ decl_p) : Update for new symtab flags.
* decl2.c )var_finalized_p, cp_write_ global_ declarations) : Likewise.
* lto.c (has_analyzed_ clone_p, lto_materialize _function) : Update for new symtab
flags.
* lto-partition.c (get_symbol_class, lto_balanced_map): Likewise.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 199422 138bc75d- 0d04-0410- 961f-82ee72b054 a4
993fd1e...
by
hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2013-05-29
* passes.c (init_optimizat ion_passes) : Move OMP expansion into lowering.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 199419 138bc75d- 0d04-0410- 961f-82ee72b054 a4
b3c1a1c...
by
eraman <eraman@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2013-05-29
2013-05-29 Easwaran Raman <email address hidden>
PR tree-optimizati on/57442
* tree-ssa-reassoc.c (appears_ later_in_ bb): Return correct value
when control exits the main loop.
2013-05-29 Easwaran Raman <email address hidden>
PR tree-optimizati on/57442
* gcc.dg/ tree-ssa/ reassoc- 30.c: New testcase.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 199418 138bc75d- 0d04-0410- 961f-82ee72b054 a4
f096430...
by
nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2013-05-29
* rx/rx.h (TARGET_ CPU_CPP_ BUILTINS) : Add macros for RX100, RX200,
and RX600.
* rx/rx.opt: Add macro for rx100 with string rx100 and value
RX100.
* rx/rx-opts.h (rx_cpu_types): Add new cpu type rx100.
* rx/t-rx: Add rx100 under multi library matches option for nofpu
option.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 199417 138bc75d- 0d04-0410- 961f-82ee72b054 a4
259c15e...
by
wschmidt <wschmidt@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2013-05-29
2013-05-29 Bill Schmidt <email address hidden>
PR tree-optimizati on/57441
* gimple- ssa-strength- reduction. c (analyze_ candidates_ and_replace) :
Don't limit size of incr_vec to number of candidates.
2013-05-29 Bill Schmidt <email address hidden>
PR tree-optimizati on/57441
* gcc.c-torture/ compile/ pr57441. c: New.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 199414 138bc75d- 0d04-0410- 961f-82ee72b054 a4
c7a53a0...
by
dehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2013-05-29
2013-05-29 Dehao Chen <email address hidden>
PR testsuite/57413
* gcc.dg/ debug/dwarf2/ discriminator. c: Restrict the test to linux-gnu.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 199412 138bc75d- 0d04-0410- 961f-82ee72b054 a4
0985b4a...
by
sje <sje@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2013-05-29
2013-05-29 Steve Ellcey <email address hidden>
* config/ mips/mti- linux.h (SYSROOT_ SUFFIX_ SPEC): Add micromips
and mips16 directories.
* config/ mips/t- mti-linux (MULTILIB_OPTIONS): Add micromips and
mips16.
(MULTILIB_ DIRNAMES) : Ditto.
(MULTILIB_ EXCEPTIONS) : Add new exceptions.
* config/ mips/t- mti-elf (MULTILIB_OPTIONS): Add micromips.
(MULTILIB_ DIRNAMES) : Ditto.
(MULTILIB_ EXCEPTIONS) : Add new exceptions.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 199411 138bc75d- 0d04-0410- 961f-82ee72b054 a4
a2115a4...
by
ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2013-05-29
Fix c/c-array- notation. c compilation failure (PR bootstrap/57450)
PR bootstrap/57450
* c-array-notation.c (length_ mismatch_ in_expr_ p): Use absu_hwi.
(build_ array_notation_ expr): Likewise.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 199410 138bc75d- 0d04-0410- 961f-82ee72b054 a4
ac9929f...
by
burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2013-05-29
2013-05-28 Tobias Burnus <email address hidden>
PR fortran/37336
* class.c (finalize_ component) : Fix coarray array refs.
(generate_ finalization_ wrapper) : Only gfc_convert_ type_warn
when the kind value is different.
(gfc_find_ intrinsic_ vtab): _copy's dst is now intent(inout).
(gfc_find_ derived_ vtab): Ditto. Enable finalization- wrapper
generation.
* module.c (MOD_VERSION): Bump.
(gfc_dump_ module, gfc_use_module): Remove empty line in .mod.
* trans-array.c (gfc_conv_ descriptor_ token): Accept
* nonrestricted
void pointer.
(gfc_array_ allocate, structure_ alloc_comps) : Don't nullify for
BT_CLASS allocations.
* trans-stmt.c (gfc_trans_ allocate) : Ditto.
2013-05-28 Tobias Burnus <email address hidden>
PR fortran/37336
* gfortran. dg/auto_ dealloc_ 2.f90: Update _free count in the
* dump.
* gfortran. dg/class_ 19.f03: Ditto.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 199409 138bc75d- 0d04-0410- 961f-82ee72b054 a4