re PR middle-end/82004 (SPEC CPU2017 628.pop2_s miscompare)
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Feb 2018 13:56:00 +0000 (14:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 20 Feb 2018 13:56:00 +0000 (14:56 +0100)
commitef7866a3f1395f16872a0d61e111660e302a674d
treeee8267b70b3a0387eab2db77772f229f91c4ee29
parent731c3fc22d8edb4e9ee6655543017ce76c05bfcc
re PR middle-end/82004 (SPEC CPU2017 628.pop2_s miscompare)

PR middle-end/82004
* match.pd (pow(C,x) -> exp(log(C)*x)): Delay all folding until
after vectorization.

* gfortran.dg/pr82004.f90: New test.

From-SVN: r257846
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/pr82004.f90 [new file with mode: 0644]