]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/match.pd
re PR tree-optimization/84334 (Stack overflow with -Ofast -frounding-math)
authorJakub Jelinek <jakub@gcc.gnu.org>
Thu, 15 Feb 2018 11:17:05 +0000 (12:17 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 15 Feb 2018 11:17:05 +0000 (12:17 +0100)
commit3eb1eecf29e1e28982b297e565ee291be8636532
treeeb1440321b077086e6d4ec1064117f8c5cbfc6d4
parent8fa4bd81cb7cefa30212d79664963c1b6bbb9667
re PR tree-optimization/84334 (Stack overflow with -Ofast -frounding-math)

PR tree-optimization/84334
* match.pd ((A +- CST1) +- CST2 -> A + CST3): If A is
also a CONSTANT_CLASS_P, punt.

* gcc.dg/pr84334.c: New test.

From-SVN: r257683
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr84334.c [new file with mode: 0644]