varasm.c (initializer_constant_valid_for_bitfield_p): Return true for REAL_CST as well.
* varasm.c (initializer_constant_valid_for_bitfield_p): Return true for REAL_CST as well. (output_constructor): Use RECORD_OR_UNION_TYPE_P predicate. In the bitfield case, if the value is a REAL_CST, convert it first to an INTEGER_CST. From-SVN: r186100
Showing
gcc/testsuite/gnat.dg/specs/aggr5.ads
0 → 100644
Please
register
or
sign in
to comment