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

uecker at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-10-19
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from uecker at gcc dot gnu.org ---

TYPE_CANONICAL is not set for structures of variable size. 

What is puzzling here is that semantically we only have one struct type. I
assume the type is duplicated somehow during inlining, probably because the
variable it depends on is duplicated in the parent function, and then it does
not understand anymore that the types are compatible.

Reply via email to