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] | |
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.
Same problem here. At this point, those tags are long gone; what we have is whatever tree structures they're going to expand into, which I haven't figured out yet, so I don't know how to test for them.
-- 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] |