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: [C++ Patch] Fixes for three grokbitfield diagnostics


On 12/7/18 5:39 AM, Paolo Carlini wrote:
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.

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

OK.

Jason


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