re PR c++/80812 (ICE: in build_value_init_noctor, at cp/init.c:483)
authorVille Voutilainen <ville.voutilainen@gmail.com>
Thu, 1 Jun 2017 11:09:41 +0000 (14:09 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Thu, 1 Jun 2017 11:09:41 +0000 (14:09 +0300)
commite257141f075b6764ea5a1c1d7b1f2d364bf241a2
treed0b29da84cf2665ab1bb708eb2416279fe33f6bd
parent2d16708fa186148ca13f375c18e05abb806508eb
re PR c++/80812 (ICE: in build_value_init_noctor, at cp/init.c:483)

PR c++/80812

cp/

PR c++/80812
* method.c (constructible_expr): Strip array types before calling
build_value_init.

libstdc++/

PR c++/80812
* testsuite/20_util/is_constructible/80812.cc: New.

From-SVN: r248788
gcc/cp/ChangeLog
gcc/cp/method.c
libstdc++-v3/testsuite/20_util/is_constructible/80812.cc [new file with mode: 0644]