https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109996

--- Comment #7 from mcccs at gmx dot com ---
Thank you Sam for the prompt reply and clear instructions. I was going to do
that but before it printed anything it aborted.

I think the issue is INVALID because on this line:

static union U3 g_979 __attribute__((aligned(8), common, deprecated)) = {1UL};


If I remove aligned(8) or make it "16" it doesn't segfault. This makes sense
because "union U3" has unsigned __int128 members, so GCC optimizations require
alignment of 16 for these.

It segfaults on this statement:

g_979.f1 = 0;

for

union U3 {
   unsigned __int128 f0;
   unsigned __int128 f1;
   ...
}

so obviously it aborts.

Reply via email to