aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vrp.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-03-18 15:35:12 -0400
committerJason Merrill <jason@gcc.gnu.org>2019-03-18 15:35:12 -0400
commitd849cfaeeaf15a30170b0fb10b4f62075a1ee58b (patch)
treec32251d20bb1609b1357de819c8f7add7824427a /gcc/tree-vrp.c
parent6e3587dbbcefd4d4bdafaea0aa1cb8eb9495bd9c (diff)
downloadgcc-d849cfaeeaf15a30170b0fb10b4f62075a1ee58b.zip
gcc-d849cfaeeaf15a30170b0fb10b4f62075a1ee58b.tar.gz
gcc-d849cfaeeaf15a30170b0fb10b4f62075a1ee58b.tar.bz2
PR c++/89761 - ICE with sizeof... in pack expansion.
In this testcase we get confused when looking at the sizeof... because the argument pack for 'args' has been wrapped in an ARGUMENT_PACK_SELECT as part of expanding the fold-expression. We handle this situation a bit lower down in tsubst_pack_expansion, but that doesn't help the call to argument_pack_element_is_expansion_p, which happens earlier. * pt.c (argument_pack_element_is_expansion_p): Handle ARGUMENT_PACK_SELECT. From-SVN: r269776
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions