]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR regression/57551 (g++.dg/ext/visibility/anon6.C scan-assembler 1BIiE1cE)
authorJason Merrill <jason@redhat.com>
Tue, 9 Jul 2013 17:50:24 +0000 (13:50 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 9 Jul 2013 17:50:24 +0000 (13:50 -0400)
commite7654c632501fbd8b4119faa1d0555f28b564d42
tree178c1adcc9eabf165791b00d49e15a2176bac538
parent2a1b2f1c26406ba19d9dd275f461885095de1f69
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: r200830
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/g++.dg/expr/const1.C [new file with mode: 0644]