This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [lto] PATCH: DIE readers for struct/union/class types, + other bug fixes
On Sep 29, 2006, at 5:23 PM, Sandra Loosemore wrote:
Mark Mitchell wrote:
+ /* FIXME: mess with propagating mutable/volatile/etc
attributes
+ back to parent struct type. */
I'd prefer this to be:
if (TYPE_MUTABLE_P || TYPE_VOLATILE_P)
sorry (...);
Blowing up for things we don't understand is going to make it
easier to debug things later. But, it's not a huge deal either way.
Part of the problem here is that I haven't figured out yet where to
stuff the bits when parsing the attributes from the DWARF
information. E.g., DECL_MUTABLE_P is specific to the C++ front end.
The LTO front-end needs to support a superset of all language flags
if you want to LTO across languages.
-Chris