re PR c++/51379 ([C++0x] [DR 799] reinterpret_cast is not particularly useful)
commit9f88ff5a1fedb4ac29628ec421ff0cc613ba6f38
authorPaolo Carlini <paolo@gcc.gnu.org>
Sun, 1 Jan 2012 20:21:36 +0000 (1 20:21 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 1 Jan 2012 20:21:36 +0000 (1 20:21 +0000)
treebe9e78f3b2cbb2cc86058386b500ee89964447eb
parentb81e8df8386836f92a06bf6b60159a2c703d9b88
re PR c++/51379 ([C++0x] [DR 799] reinterpret_cast is not particularly useful)

/cp
2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51379
* typeck.c (build_reinterpret_cast_1): Implement resolution of
DR 799.

/testsuite
2012-01-01  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/51379
* g++.dg/conversion/reinterpret4.C: New.
* g++.dg/conversion/reinterpret1.C: Adjust.

From-SVN: r182775
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/reinterpret1.C
gcc/testsuite/g++.dg/conversion/reinterpret4.C [new file with mode: 0644]