re PR c++/79379 (ICE with #pragma GCC ivdep)
authorJakub Jelinek <jakub@redhat.com>
Mon, 6 Feb 2017 20:06:16 +0000 (21:06 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 6 Feb 2017 20:06:16 +0000 (21:06 +0100)
commit98e092450153399c1c2b6db5eee6722ebfcb2957
tree3b1dd3984991418cf6e2eb795cd0cc4ccb5679a3
parente8b0383c1324a80e554e9e0401dc5830c700bb0e
re PR c++/79379 (ICE with #pragma GCC ivdep)

PR c++/79379
* constexpr.c (cxx_eval_constant_expression): Handle ANNOTATE_EXPR.
(potential_constant_expression_1): Likewise.

* g++.dg/cpp1y/constexpr-79379.C: New test.

From-SVN: r245220
gcc/cp/ChangeLog
gcc/cp/constexpr.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/constexpr-79379.C [new file with mode: 0644]