On 5/26/2021 8:12 AM, Eric Botcazou wrote:
Hi, As documented in the manual, we do not support type punning that toggles the scalar storage order, so this adds a warning for the simple case of unions. Tested on x86-64/Linux, OK for the mainline? 2021-05-26 Eric Botcazou <ebotca...@adacore.com> PR c/100653 * c-decl.c (finish_struct): Warn for a union containing an aggregate field with a differing scalar storage order. 2021-05-26 Eric Botcazou <ebotca...@adacore.com> * gcc.dg/sso-13.c: New test.
OK jeff