[Bug c++/84424] [8 Regression] ICE on C++ code: tree check: expected record_type or union_type or qual_union_type, have vector_type in reduced_constant_expression_p, at cp/constexpr.c:1766
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 22 23:03:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84424
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Thu Feb 22 22:50:37 2018
New Revision: 257924
URL: https://gcc.gnu.org/viewcvs?rev=257924&root=gcc&view=rev
Log:
PR c++/84424 - ICE with constexpr and __builtin_shuffle.
* constexpr.c (reduced_constant_expression_p): Handle CONSTRUCTOR of
VECTOR_TYPE.
Added:
trunk/gcc/testsuite/g++.dg/ext/vector34.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/constexpr.c
More information about the Gcc-bugs
mailing list