diff options
author | Jason Merrill <jason@redhat.com> | 2019-03-18 15:35:12 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-03-18 15:35:12 -0400 |
commit | d849cfaeeaf15a30170b0fb10b4f62075a1ee58b (patch) | |
tree | c32251d20bb1609b1357de819c8f7add7824427a /libgo/misc/cgo | |
parent | 6e3587dbbcefd4d4bdafaea0aa1cb8eb9495bd9c (diff) | |
download | gcc-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 'libgo/misc/cgo')
0 files changed, 0 insertions, 0 deletions