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] |
I don't think so. As Richard clarified later on, the idea was to check whether the pointed-to (not pointer) type has a name.
In any case, I can't see any intuitive reason for making anonymity have semantics in the middle end. (It does have semantics in some languages, of course, so in the front end I would not have the same objection.)
I understand and share your concern.
It did not seem unreasonable to consider variants of such assumptions for a pointed-to type depending on whether it is anonymous or not (e.g. there is no possible forward declaration involved), but I agree exploiting such variations sure makes maintainance harder. Besides, one's understanding of what can implicitly be relied upon might simply be mistaken.
-- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |