On Wed, Apr 14, 2021 at 10:49:42AM -0600, Martin Sebor via Gcc-patches wrote: > Apparently the IL GCC emits on some targets (arm and aarach64 with > mabi=ilp32, and powerpc64 to name the three where the failures have > been pointed out) isn't handled by the uninit pass and so it doesn't > issue the expected warning. That might be a new (as in previously > unknown) limitation in the warning or one I don't remember coming > across. > > I don't see excess warnings with my arm-eabi cross-compiler. What > are they in your environment? > > I have limited the test to just x86_64 for now and repurposed pr100073 > where the same failure was reported on powerpc64 to track the missing > warning on these targets.
+ The test fails on a number of non-x86_64 targets due to pr100073. + { dg-do compile { target x86_64-*-* } } change is incorrect. Either you mean x86_64 -m64 code only, then it should be { i?86-*-* x86_64-*-* } && lp64 or you mean x86_64 -m64/-mx32, then it should be { i?86-*-* x86_64-*-* } && { ! ia32 } or you mean x86_64 -m64/-mx32/-m32, then it should be { i?86-*-* x86_64-*-* } E.g. on Solaris target triplet is i?86-*-* but it supports -m64 also, on the other side, x86_64-*-* triplet covers all supported multilibs (so both -m64 and -m32 and sometimes -mx32), but will not cover i686-*-* etc. even when it is the same thing as x86_64-*-* with -m32. Jakub