OSDN Git Service

2010-12-07 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Dec 2010 12:36:40 +0000 (12:36 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Dec 2010 12:36:40 +0000 (12:36 +0000)
commitd4af184abef211f6264edece48e86cb2c9a4257a
tree9e45039f7fcbc38277ff97fbcc1203f1e66e05c7
parentd78118a326f1b98e028718a25950680264fb9cdd
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167535 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr46832.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c