On 09/15/2017 05:07 AM, Eric Botcazou wrote:
> Hi,
>
> this plugs the hole reported by Florian on the gcc@ list, namely that no
> warning is issued with -Wall in C++ on pragma scalar_storage_order.
>
> Tested on x86_64-suse-linux, OK for the mainline? And some branches?
>
>
> 2017-09-15 Eric Botcazou <ebotca...@adacore.com>
>
> * c-pragma.c (handle_pragma_scalar_storage_order): Expand on error
> message for non-uniform endianness and issue a warning in C++.
>
>
> 2017-09-15 Eric Botcazou <ebotca...@adacore.com>
>
> * g++.dg/sso-1.C: New test.
> * g++.dg/sso-2.C: Likewise.
>
OK.
jeff