stor-layout.c
100 KB
-
re PR c/87691 (transparent_union attribute does not work with MODE_PARTIAL_INT) · c2ca29d5
2018-11-07 Jozef Lawrynowicz <jozef.l@mittosystems.com> PR c/87691 gcc/ChangeLog: * stor-layout.c (compute_record_mode): Set TYPE_MODE of UNION_TYPE to the mode of the widest field iff the widest field has mode class MODE_INT, or MODE_PARTIAL_INT and the union would be passed by reference. gcc/testsuite/ChangeLog: * gcc.target/msp430/pr87691.c: New test. From-SVN: r265894
Jozef Lawrynowicz committed