aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/tree-inline.c
Commit message (Collapse)AuthorAgeFilesLines
* fix a bug in 6278c3db6b4eb6f38ccd27c1227452ad9915db28Yiran Wang2015-08-101-2/+6
| | | | | | | | | After call to pointer_map_insert, the caller need to write the value. This fixes the following regression, gfortran.dg/array_constructor_6.f90 gfortran.dg/subref_array_pointer_2.f90 Change-Id: Ic7aec96c24d17c527291aefe30e726989ecd9a8f
* Synchronize with google/gcc-4_9 to r224707 (from r214835)Yiran Wang2015-06-291-2/+1
| | | | Change-Id: I3d6f06fc613c8f8b6a82143dc44b7338483aac5d
* [4.9] Additional SLM tuning. Backport from trunk.Andrew Senkevich2015-02-271-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-11-24 Richard Biener <rguenther@suse.de> PR tree-optimization/55334 * function.h (struct function): Add last_clique member. * tree-inline.c (remap_dependence_clique): New function. (remap_gimple_op_r): Remap dependence cliques in MEM_REFs. (copy_tree_body_r): Likewise. (copy_cfg_body): Free dependence map. (copy_gimple_seq_and_replace_locals): Likewise. * tree-pretty-print.c (dump_generic_node): Dump dependence info. * tree-ssa-alias.c (refs_may_alias_p_1): Use dependence info to answer alias query. * tree-ssa-structalias.c: Include tree-phinodes.h, ssa-iterators.h, tree-pretty-print.h and gimple-walk.h. (struct variable_info): Add is_restrict_var flag and ruid member. (new_var_info): Initialize is_restrict_var. (make_constraint_from_restrict): Likewise. (create_variable_info_for): Exclude restricts from global vars from new handling. (intra_create_variable_infos): But not those from parameters. (visit_loadstore): New function. (maybe_set_dependence_info): Likewise. (compute_dependence_clique): Likewise. (compute_may_aliases): Call compute_dependence_clique. * tree-data-ref.c (dr_analyze_indices): Copy dependence info to fake MEM_REF. (dr_may_alias_p): Use recorded dependence info to answer alias query. * tree-core.h (struct tree_base): Add clique, base struct in union. * tree.h (MR_DEPENDENCE_CLIQUE): New macro. (MR_DEPENDENCE_BASE): Likewise. * tree-inline.h (dependence_hasher): New hash-map kind. (struct copy_body_data): Add dependence_map pointer. * tree-streamer-in.c (unpack_value_fields): Stream dependence info. * tree-streamer-out.c (streamer_pack_tree_bitfields): Likewise. * gcc.dg/tree-ssa/restrict-5.c: New testcase. Change-Id: I45c8d5eac758aea881a884c131f627cc916cbaf3 Signed-off-by: Andrew Senkevich <andrew.senkevich@intel.com>
* [4.9] Switch gcc-4.9 to use google/gcc-4_9 branch.Rong Xu2014-07-291-10/+55
| | | | | | | | | | | | | | This source drop uses svn version r212828 of google/gcc-4.9 branch. We also cherry-picked r213062, r213063 and r213064 to fix windows build issues. All gcc-4.9 patches before July 3rd are ported to google/gcc-4.9. The following prior commits has not been merged to google branch yet. (They are included in this commit). e7af147f979e657fe2df00808e5b4319b0e088c6, baf87df3cb2683649ba7e9872362a7e721117c23, and c231900e5dcc14d8296bd9f62b45997a49d4d5e7. Change-Id: I4bea3ea470387ff751c2be4cb0d4a12059b9299b
* [4.9] Refresh GCC 4.9 to the 20140514 snapshot.Ben Cheng2014-05-181-1/+7
| | | | | | For critical bug fixes including devirtualization and codegen. Change-Id: I8138d3dc408fc12db5eecb01d2753d39219712f2
* [4.9] GCC 4.9.0 official release refreshBen Cheng2014-04-221-0/+1
| | | | Change-Id: Ic99a7da8b44b789a48aeec93b33e93944d6e6767
* Initial checkin of GCC 4.9.0 from trunk (r208799).Ben Cheng2014-03-261-0/+5615
Change-Id: I48a3c08bb98542aa215912a75f03c0890e497dba