OSDN Git Service

PR c++/57551
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jul 2013 17:50:24 +0000 (17:50 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jul 2013 17:50:24 +0000 (17:50 +0000)
commit24b8bc20f2e42cd3cbb37fa8d67eb3ccb507b560
tree178c1adcc9eabf165791b00d49e15a2176bac538
parent281ed5ffd8ae256397cd8025ab19bdbd81d6930f
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/branches/gcc-4_7-branch@200830 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/expr/const1.C [new file with mode: 0644]