[Bug other/46268] gengtype warning when GTY(()) markers have no effect

2010-12-02 Thread lauras at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46268

Laurynas Biveinis  changed:

   What|Removed |Added

 Status|ASSIGNED|SUSPENDED

--- Comment #2 from Laurynas Biveinis  2010-12-02 
12:50:11 UTC ---
Currently straightforward implementation of this warning gives way too may
false positives.  To resolve them:

1) C preprocessor needs to be run on the gengtype input in order to resolve
conditionally defined types, fields, or types used only by some backends and
maybe help with vector issues too.

2) Vector macro machinery needs to be updated to sometimes output GTYs and
sometimes not.  This would cause a lot of leaking of implementation details to
the macro users.

The first one is a major roadblock for now.


[Bug other/46268] gengtype warning when GTY(()) markers have no effect

2010-11-09 Thread lauras at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46268

Laurynas Biveinis  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.11.10 05:02:53
 Ever Confirmed|0   |1

--- Comment #1 from Laurynas Biveinis  2010-11-10 
05:02:53 UTC ---
I have just committed documentation patch that should provide some help with
these issues.  The gengtype warning still needs to be implemented.