]> git.ipfire.org Git - thirdparty/gcc.git/commit
testcase: Add testcase for tree-optimization/117341
authorAndrew Pinski <quic_apinski@quicinc.com>
Tue, 29 Oct 2024 05:05:08 +0000 (22:05 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Tue, 29 Oct 2024 15:49:41 +0000 (08:49 -0700)
commit17f6add3aba96681673b78862116a85d619cd806
treef2712575aaa06dbe60cee8499634aed5dea59fdc
parentb22d9c8f8216d15773dee4f9677c6b26aff507fd
testcase: Add testcase for tree-optimization/117341

Even though PR 117341 was a duplicate of PR 116768, another
testcase this time C++ does not hurt to have.
The testcase is a self-contained and does not use directly libstdc++
except for operator new (it does not even call delete).

Tested on x86_64-linux-gnu with it working.

PR tree-optimization/117341

gcc/testsuite/ChangeLog:

* g++.dg/torture/pr117341-1.C: New test.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/g++.dg/torture/pr117341-1.C [new file with mode: 0644]