aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2019-05-15 20:42:52 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-05-15 20:42:52 +0000
commit47805f5712322379e683028df4f9a0b0366075a9 (patch)
tree6628e2308268901e75cec16201608f6f252a44a1 /gcc/c
parent193f241906489ee3154a69054c0e2e60e0d7d35b (diff)
downloadgcc-47805f5712322379e683028df4f9a0b0366075a9.zip
gcc-47805f5712322379e683028df4f9a0b0366075a9.tar.gz
gcc-47805f5712322379e683028df4f9a0b0366075a9.tar.bz2
CWG 2096 - constraints on literal unions.
* class.c (check_field_decls): Initialize booleans directly. A union is literal if at least one of its non-static data members is of non-volatile literal type. * g++.dg/cpp0x/literal-type1.C: New test. From-SVN: r271267
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions