]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/46832 (internal compiler error: Segmentation fault)
authorRichard Guenther <rguenther@suse.de>
Tue, 7 Dec 2010 12:36:40 +0000 (12:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 7 Dec 2010 12:36:40 +0000 (12:36 +0000)
commit85a47bed9340d25f861b9e2a186a4d443660cc26
tree9e45039f7fcbc38277ff97fbcc1203f1e66e05c7
parent5f286f4a1aeb494e84f4134dce04e451b9580d19
re PR tree-optimization/46832 (internal compiler error: Segmentation fault)

2010-12-07  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/46832
* tree-ssa-math-opts.c (execute_optimize_widening_mul): Check
that the call has a lhs.

* gcc.c-torture/compile/pr46832.c: New testcase.

From-SVN: r167535
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr46832.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c