[Bug debug/103788] [9/10/11/12 Regression] '-fcompare-debug' failure (length) w/ -O1
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Dec 21 18:51:23 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103788
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #2)
> (In reply to Martin Liška from comment #1)
> > Likely latent which was exposed with r9-3352-g87bd153645f393a1.
here is a slightly modified (just line rather than column change) which fails
in GCC 8 also:
int
bar (void);
int
foo (int x)
{
int i;
for (i = 0; i <= __INT_MAX__; ++i)
x += bar () < (
x ? 2 : 1 );
return x;
}
More information about the Gcc-bugs
mailing list