aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-10-06 17:50:50 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2017-10-06 17:50:50 +0200
commit7260f6f79cd3aea6580013d386ce0fd8696a6b19 (patch)
treed3aecc72ca1ca9d2daa372193c889de08de7511a /gcc/cp/lambda.c
parent681f18d19b56527329fc80e5fdb8ef534978f705 (diff)
downloadgcc-7260f6f79cd3aea6580013d386ce0fd8696a6b19.zip
gcc-7260f6f79cd3aea6580013d386ce0fd8696a6b19.tar.gz
gcc-7260f6f79cd3aea6580013d386ce0fd8696a6b19.tar.bz2
re PR c++/82299 (-Wuseless-cast errors on typed enums used in member data initializers in c++1z)
PR c++/82299 * decl.c (reshape_init): Suppress warn_useless_cast for direct enum init. * typeck.c (convert_for_assignment): Likewise. * g++.dg/cpp0x/pr82299.C: New test. From-SVN: r253495
Diffstat (limited to 'gcc/cp/lambda.c')
0 files changed, 0 insertions, 0 deletions