re PR c++/90810 (Different intrinsics behavior on G++ 7.4 and G++ 8.3)
authorJakub Jelinek <jakub@redhat.com>
Tue, 11 Jun 2019 13:01:40 +0000 (15:01 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 11 Jun 2019 13:01:40 +0000 (15:01 +0200)
commit5a5da48013f29c55bd9a4221ebc72104b80e4982
tree2bc3d382017ed835296e5947bcc18fc10ff41a26
parent7ac9a201848f020a7803c5b3e20dc4768a992c40
re PR c++/90810 (Different intrinsics behavior on G++ 7.4 and G++ 8.3)

PR c++/90810
* init.c (constant_value_1): Handle VECTOR_CST DECL_INITIAL for
!DECL_INITIALIZED_BY_CONSTANT_EXPRESSION_P decls like CONSTRUCTOR.

* g++.dg/ext/vector37.C: New test.

From-SVN: r272152
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/vector37.C [new file with mode: 0644]