aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-01-13 10:07:47 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-01-13 10:07:47 +0000
commit688a482d6359352c16efb6eee97a29894eb3ba37 (patch)
tree76a66b356728d78d55e273dfdd2f9ffb112f4a4b /gcc/cfgexpand.c
parent288de41a81d13fcc90d611d3c2b9c1fe7b0d09a7 (diff)
downloadgcc-688a482d6359352c16efb6eee97a29894eb3ba37.zip
gcc-688a482d6359352c16efb6eee97a29894eb3ba37.tar.gz
gcc-688a482d6359352c16efb6eee97a29894eb3ba37.tar.bz2
re PR middle-end/42678 (ICE with lto1 in expand_mult, at expmed.c:3253)
2010-01-13 Richard Guenther <rguenther@suse.de> PR lto/42678 * tree-pass.h (PROP_gimple_lcx): New. * cfgexpand.c (pass_expand): Require PROP_gimple_lcx. * passes.c (init_optimization_passes): Move pass_lower_complex_O0 before the final cleanup_eh. (dump_properties): Dump PROP_gimple_lcx. * tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx. (tree_lower_complex_O0): Remove. (gate_no_optimization): Run if PROP_gimple_lcx is not set. (pass_lower_complex_O0): Provide PROP_gimple_lcx. Run tree_lower_complex, schedule TODO_update_ssa. * lto-streamer-out.c (output_function): Stream the functions properties. * lto-streamer-in.c (input_function): Likewise. (lto_read_body): Do not override them here. * gfortran.dg/lto/20100110-1_0.f90: New testcase. From-SVN: r155853
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r--gcc/cfgexpand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c
index 7e542da..70d2b35 100644
--- a/gcc/cfgexpand.c
+++ b/gcc/cfgexpand.c
@@ -3743,7 +3743,8 @@ struct rtl_opt_pass pass_expand =
NULL, /* next */
0, /* static_pass_number */
TV_EXPAND, /* tv_id */
- PROP_ssa | PROP_gimple_leh | PROP_cfg,/* properties_required */
+ PROP_ssa | PROP_gimple_leh | PROP_cfg
+ | PROP_gimple_lcx, /* properties_required */
PROP_rtl, /* properties_provided */
PROP_ssa | PROP_trees, /* properties_destroyed */
TODO_verify_ssa | TODO_verify_flow