re PR tree-optimization/63605 (wrong code at -O3 on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Fri, 7 Nov 2014 20:57:01 +0000 (20:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 7 Nov 2014 20:57:01 +0000 (20:57 +0000)
commit382ad5ce1bb6ce92c276adc9a35c619c0a070aca
tree4c18edfc1ad7fd6c4247d8bfff634a731d255b4c
parent64df297158621407b9a2204b661584c9a4d526e6
re PR tree-optimization/63605 (wrong code at -O3 on x86_64-linux-gnu)

2014-11-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/63605
* fold-const.c (fold_binary_loc): Properly use element_precision
for types that may not be scalar.

* gcc.dg/vect/pr63605.c: New testcase.

From-SVN: r217238
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr63605.c [new file with mode: 0644]