This is the mail archive of the gcc-bugs@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]

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46268

Laurynas Biveinis <lauras at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |SUSPENDED

--- Comment #2 from Laurynas Biveinis <lauras at gcc dot gnu.org> 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.


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