PR c++/57551
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jul 2013 17:55:43 +0000 (17:55 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jul 2013 17:55:43 +0000 (17:55 +0000)
commitb286c1d5d01f1a43f1e7be6a77f1827d59487e40
treefe59ac64a4c24b618fdcb161fd7d834d60185a10
parent67830b4d8b7e47ce821c37957279cc6d3ca88b14
PR c++/57551
* semantics.c (cxx_eval_indirect_ref): Don't try to look through
a POINTER_PLUS_EXPR for type punning diagnostic.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200840 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/expr/const1.C [new file with mode: 0644]