https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93843
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Adjusted testcase:
char a;
struct S { short b, c; } d;
__attribute__((noipa)) void
foo (int x)
{
if (x != 4)
__builtin_abort ();
}
int
main ()
{
short *g = &d.c, *h = &d.b;
char e = 4 - a;
int f;
*h = *g = e;
for (f = 0; f < 2; f++)
foo (d.c);
return 0;
}