]> git.ipfire.org Git - thirdparty/gcc.git/commit
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:08:47 +0000 (15:08 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 11 Jun 2019 13:08:47 +0000 (15:08 +0200)
commita80c35cf561873c3822331a209e34ff96b354605
tree441579c96a4b17f59a0ade84d1fee38675844421
parent9086af45312a85d99ef6c175f011bf2ffe4ded6f
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: r272154
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/vector37.C [new file with mode: 0644]