[Bug tree-optimization/126975] __bos/__bdos(&p->inner, 1) collapses into type 0 when subobject inner ends in a FAM

gustavo at embeddedor dot com gcc-bugzilla@gcc.gnu.org
Fri Aug 21 05:28:58 GMT 2026


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

Gustavo A. R. Silva <gustavo at embeddedor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #3 from Gustavo A. R. Silva <gustavo at embeddedor dot com> ---
(In reply to Drea Pinski from comment #1)
> >(I'll submit a patch for this, shortly)
> 
> This might be on purpose though.

Yes; originally, that was the idea.

However, as I observed here:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101832#c15

this behavior is not correct, and it should be fixed.


More information about the Gcc-bugs mailing list