]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR middle-end/42678 (ICE with lto1 in expand_mult, at expmed.c:3253)
authorRichard Guenther <rguenther@suse.de>
Wed, 13 Jan 2010 10:07:47 +0000 (10:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 13 Jan 2010 10:07:47 +0000 (10:07 +0000)
commit688a482d6359352c16efb6eee97a29894eb3ba37
tree76a66b356728d78d55e273dfdd2f9ffb112f4a4b
parent288de41a81d13fcc90d611d3c2b9c1fe7b0d09a7
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
gcc/ChangeLog
gcc/cfgexpand.c
gcc/lto-streamer-in.c
gcc/lto-streamer-out.c
gcc/passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/lto/20100110-1_0.f90 [new file with mode: 0644]
gcc/tree-complex.c
gcc/tree-pass.h