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

--- Comment #8 from Eyal Rozenberg <eyalroz at technion dot ac.il> ---
(In reply to rguent...@suse.de from comment #5)
> int foo3()
> {
>   struct { int x; int y; } s;
>   s.x = 3;
>   char c = 1;
>   return replace_bytes_3(&s.x,c);
> }
> 
> Coalescing successful!
> Merged into 1 stores

This is very interesting! Do you think I could somehow adapt this example into
a workaround, for existing GCC versions, rather than wait for the bug fix?

Reply via email to