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]

[C++ Patch] Fixes for three grokbitfield diagnostics


Hi,

these should be more or less straightforward (now that DECL_SOURCE_LOCATION often extracts a proper location ;). In the case of warn_if_not_aligned I also removed the redundant width check (it's never null, double checked by running the instrumented testsuite too) and I also removed the DECL_NAME use, which definitely doesn't play well with unnamed declarations (other/bitfield7.C exercises that too).

Tested x86_64-linux, as usual.

Thanks, Paolo.

//////////////////////

Attachment: CL_grokbitfield3
Description: Text document

Attachment: patch_grokbitfield3
Description: Text document


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