Re: [C++ Patch] Fixes for three grokbitfield diagnostics

2018-12-07 Thread Jason Merrill
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 instrumente

[C++ Patch] Fixes for three grokbitfield diagnostics

2018-12-07 Thread Paolo Carlini
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 D