This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/68810] FAIL: g++.dg/cpp0x/constexpr-reinterpret1.C -- test for errors -- -m32


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]