]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: tree-ssa: fix PR98265 test to use C++14
authorSam James <sam@gentoo.org>
Fri, 1 Nov 2024 00:26:46 +0000 (00:26 +0000)
committerSam James <sam@gentoo.org>
Thu, 27 Mar 2025 00:04:02 +0000 (00:04 +0000)
commitdcbc80af6fc3fb5c2b23a1773682ec8f91b4eeaf
tree1195f9f75b96c14a92d29aee9f257e2ab2578773
parent45a8206b1ece6bfd0c9ac4dfe6a46617ce5d0724
testsuite: tree-ssa: fix PR98265 test to use C++14

This test was previously not being run at all so this wasn't noticed
until my fix just now.

The test needs C++14 and it also should use scan-tree-dump, not
scan-tree-dump-times, as it wasn't passing a count parameter.

gcc/testsuite/ChangeLog:
PR ipa/98265

* g++.dg/tree-ssa/pr98265.C: Use -std=c++14.
Use scan-tree-dump instead of scan-tree-dump-times.
gcc/testsuite/g++.dg/tree-ssa/pr98265.C