This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/68810] FAIL: g++.dg/cpp0x/constexpr-reinterpret1.C -- test for errors -- -m32
- From: "vries at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 09 Dec 2015 08:13:01 +0000
- Subject: [Bug c++/68810] FAIL: g++.dg/cpp0x/constexpr-reinterpret1.C -- test for errors -- -m32
- Auto-submitted: auto-generated
- References: <bug-68810-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68810
--- Comment #2 from vries at gcc dot gnu.org ---
In more detail, the c++11 failures look like this:
...
src/gcc/testsuite/g++.dg/cpp0x/constexpr-reinterpret1.C: In static member
function 'static constexpr B::Inner& B::getInner()':
src/gcc/testsuite/g++.dg/cpp0x/constexpr-reinterpret1.C:20:14: error:
reinterpret_cast from integer to pointer
compiler exited with status 1
FAIL: g++.dg/cpp0x/constexpr-reinterpret1.C -std=c++11 (test for errors, line
21)
FAIL: g++.dg/cpp0x/constexpr-reinterpret1.C -std=c++11 (test for excess
errors)
...
The test for error is at line 21, the error is at line 20.