Avoid ICE on unsupported use of __integer_pack.
authorJason Merrill <jason@redhat.com>
Sat, 19 May 2018 22:57:53 +0000 (18:57 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 19 May 2018 22:57:53 +0000 (18:57 -0400)
commit4b950a6d7c620834d77a63ffe2ee9704df0e4cdc
tree5e58842cca8a96c323c6f37909620a151299750b
parent7aed919c97e8c7593bd6c98c1038fbed1ed44055
Avoid ICE on unsupported use of __integer_pack.

* pt.c (tsubst_pack_expansion): Sorry rather than abort
on __integer_pack as subexpression of pattern.

From-SVN: r260404
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/g++.dg/ext/integer-pack4.C [new file with mode: 0644]