This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
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.