diff options
author | Jason Merrill <jason@redhat.com> | 2015-01-13 16:04:43 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-01-13 16:04:43 -0500 |
commit | caee690e915e13a48a16dabbb61110ae88d1821a (patch) | |
tree | 9eaa74bed3b9d5c63d6e7a29849c7e6a834a3344 /libstdc++-v3 | |
parent | 7c368fb23cc92a3406e181ae361ebce3f5b9ab22 (diff) | |
download | gcc-caee690e915e13a48a16dabbb61110ae88d1821a.zip gcc-caee690e915e13a48a16dabbb61110ae88d1821a.tar.gz gcc-caee690e915e13a48a16dabbb61110ae88d1821a.tar.bz2 |
re PR c++/64356 (Some constexpr expressions not recognized as constexpr)
PR c++/64356
PR libstdc++/58777
* constexpr.c (cxx_eval_binary_expression): Don't VERIFY_CONSTANT
pointer expressions.
(cxx_eval_increment_expression): Likewise.
From-SVN: r219559
Diffstat (limited to 'libstdc++-v3')
3 files changed, 0 insertions, 9 deletions
diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/make_optional.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/make_optional.cc index f3b43880..d57cf5c 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/make_optional.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/make_optional.cc @@ -1,7 +1,4 @@ // { dg-options "-std=gnu++14" } -// XFAIL pending resolution of PR libstdc++/58777 -// { dg-do compile { xfail *-*-* } } -// { dg-excess-errors "" } // Copyright (C) 2013-2015 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/2.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/2.cc index 20c307d..803927b 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/2.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/2.cc @@ -1,7 +1,4 @@ // { dg-options "-std=gnu++14" } -// XFAIL pending resolution of PR libstdc++/58777 -// { dg-do compile { xfail *-*-* } } -// { dg-excess-errors "" } // Copyright (C) 2013-2015 Free Software Foundation, Inc. // diff --git a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/3.cc b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/3.cc index 59b1bdd..be170f5 100644 --- a/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/3.cc +++ b/libstdc++-v3/testsuite/experimental/optional/constexpr/observers/3.cc @@ -1,7 +1,4 @@ // { dg-options "-std=gnu++14" } -// XFAIL pending resolution of PR libstdc++/58777 -// { dg-do compile { xfail *-*-* } } -// { dg-excess-errors "" } // Copyright (C) 2013-2015 Free Software Foundation, Inc. // |