]> git.ipfire.org Git - people/ms/gcc.git/commit
New testcase for uninit
authorRichard Biener <rguenther@suse.de>
Fri, 26 Aug 2022 10:56:30 +0000 (12:56 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 26 Aug 2022 10:59:05 +0000 (12:59 +0200)
commitfc1b5707faf0b607da06e9ec3437245aba69a255
tree97bcd43807fb9fc80bdbe7a235a48e909b9e94a3
parentd6621a2f3176dd6a593d4f5fa7f85db0234b40d2
New testcase for uninit

The following adds a testcase that illustrates a defect in
compute_control_dep_chain and its attempt to identify loop
exits as special to continue walking post-dominators but failing
to do so for following post-dominators.  On trunk there is now
simple_control_dep_chain saving the day, avoiding the false
positive but with GCC 12 we get a bogus diagnostic.

* gcc.dg/uninit-pred-11.c: New testcase.
gcc/testsuite/gcc.dg/uninit-pred-11.c [new file with mode: 0644]