This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] gimplification of types (PR c/21536)


    PR c/21536 fails because gimplify_type_sizes is only called
    on variable sized types of variables, but not e.g. if
    a variable has a type pointer to a variable sized type.

That's as designed.

The variable-sized type itself should be gimplified at some point.

You have to be careful about self-referential types (or chains of types)
if you go too far down the road you are proposing.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]