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]

Re: patch: honor volatile bitfield types


> I still think you should use warning_at (input_location,
> OPT_fstrict_volatile_bitfields. If someone said already no, I
> haven't seen that answer.

There's no decl tree or insn rtl available at that point in gcc.  So,
I can't refer to the field or structure names, or the location of the
original field.  I wish I could - it would have made the patch logic a
lot simpler.

I put in the OPT_fstrict_volatile_bitfields though.


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