aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiopt.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-01-05 22:12:02 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-01-05 22:12:02 +0100
commit962c5679b3c61f09b96ab72e474a897b870fd2c1 (patch)
tree4db3ac6174fe412ca90022d363d42e2dcfeb5ba5 /gcc/tree-ssa-phiopt.c
parent8c15f541f3e9835facb5afaa994887de48ed4b78 (diff)
downloadgcc-962c5679b3c61f09b96ab72e474a897b870fd2c1.zip
gcc-962c5679b3c61f09b96ab72e474a897b870fd2c1.tar.gz
gcc-962c5679b3c61f09b96ab72e474a897b870fd2c1.tar.bz2
re PR c++/78890 (ICE on invalid reference type in union)
PR c++/78890 * class.c (check_field_decls): Diagnose REFERENCE_TYPE fields in unions even for C++11 and later. * g++.dg/init/ref14.C: Expect error even in C++11 and later. * g++.dg/init/union1.C: Likewise. * g++.dg/cpp0x/union6.C: Expect errors. * g++.dg/cpp0x/union8.C: New test. * g++.dg/cpp0x/pr78890-1.C: New test. * g++.dg/cpp0x/pr78890-2.C: New test. From-SVN: r244112
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
0 files changed, 0 insertions, 0 deletions