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] | |
If you made the C front end explictly declare the type, then the type-elaboration approach would work as expected, and Jakub's patch could be removed. That would be a logically coherent approach, and we could always switch to Joseph's approach in the fullness of time.
OK, I can give it a shot.
But, I'd much rather fix it in a coherent way than with a dependence on anonymity, which is a clever, but logically rather indefensible, approach.
Sure. Humm, another quick thing for completeness: the very initial idea for this patch was to check for the existence of a TYPE_DECL associated with the pointed-to type. I wasn't sure how to achieve this, discussed it with Richard, he told me way, and the anonymity idea came up.
This is conceptually different, but at this point in the discussion I'm not sure it is really better.
-- 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] |