summaryrefslogtreecommitdiff
path: root/gcc/cp/pt.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-04-27 18:47:10 +0200
committerJakub Jelinek <jakub@redhat.com>2022-04-27 18:47:10 +0200
commit948e8e401023f6c3153f6d0c449bc5c2899ee7b7 (patch)
tree8ad67b837576f897081ca0861ce96f4c6ba1263c /gcc/cp/pt.cc
parentf6541401407b0d09169fd716ab6d5e02c8d60642 (diff)
downloadgcc-948e8e401023f6c3153f6d0c449bc5c2899ee7b7.tar.gz
testsuite: Add testcase for dangling pointer equality bogus warning [PR104492]
On Wed, Apr 27, 2022 at 12:02:33PM +0200, Richard Biener wrote: > I did that but the reduction result did not resemble the same failure > mode. I've failed to manually construct a testcase as well. Possibly > a testcase using libstdc++ but less Qt internals might be possible. Here is a testcase that I've managed to reduce, FAILs with: FAIL: g++.dg/warn/pr104492.C -std=gnu++14 (test for bogus messages, line 111) FAIL: g++.dg/warn/pr104492.C -std=gnu++17 (test for bogus messages, line 111) FAIL: g++.dg/warn/pr104492.C -std=gnu++20 (test for bogus messages, line 111) on both x86_64-linux and i686-linux without your commit and passes with it. 2022-04-27 Jakub Jelinek <jakub@redhat.com> PR middle-end/104492 * g++.dg/warn/pr104492.C: New test.
Diffstat (limited to 'gcc/cp/pt.cc')
0 files changed, 0 insertions, 0 deletions