testsuite: Add testcases for already fixed PR [PR100541]
authorJakub Jelinek <jakub@redhat.com>
Wed, 2 Mar 2022 09:38:39 +0000 (10:38 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 2 Mar 2022 09:38:39 +0000 (10:38 +0100)
commit5f2e72db8c03c960d8330305c1e92986373198ca
tree56ea3ccf1ce452fe1ff32d4741c8c7542cff423c
parent31702fe9694e7ebeab91805e7121a1a757c108bd
testsuite: Add testcases for already fixed PR [PR100541]

These testcases started failing with r12-630 and one of them
got fixed with r12-4531 (aka PR102764 fix and r12-4616 further
improved the fix) and the other went latent in r12-2591 (i.e. threader
changes) and I believe was fixed for real by the PR102764 fix too.

2022-03-02  Jakub Jelinek  <jakub@redhat.com>

PR debug/100541
* g++.dg/opt/pr100541-1.C: New test.
* g++.dg/opt/pr100541-2.C: New test.
gcc/testsuite/g++.dg/opt/pr100541-1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/opt/pr100541-2.C [new file with mode: 0644]