[C++ Patch] Fixes for three grokbitfield diagnostics
Jason Merrill
jason@redhat.com
Fri Dec 7 15:08:00 GMT 2018
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
More information about the Gcc-patches
mailing list