re PR regression/57551 (g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE)
authorJason Merrill <jason@redhat.com>
Tue, 9 Jul 2013 17:55:43 +0000 (13:55 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 9 Jul 2013 17:55:43 +0000 (13:55 -0400)
commit7eb48705c0b12d73651de15cd9a9a415c7229039
treefe59ac64a4c24b618fdcb161fd7d834d60185a10
parent1d0859d8946995f64be3b422b1c54e9a5c78905e
re PR regression/57551 (g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE)

PR c++/57551
* semantics.c (cxx_eval_indirect_ref): Don't try to look through
a POINTER_PLUS_EXPR for type punning diagnostic.

From-SVN: r200840
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/expr/const1.C [new file with mode: 0644]