diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-05-28 23:34:39 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-05-28 23:34:39 +0000 |
commit | b3dd05b10a8318c7af07941d3b13b75b5c4f5683 (patch) | |
tree | fc43bc68b07b9156872a885e6b8eb0ad184a0c72 /gcc/java/check-init.c | |
parent | 5182fafe486b98e95bd51d2d665a2a18f397fbe4 (diff) | |
download | gcc-b3dd05b10a8318c7af07941d3b13b75b5c4f5683.zip gcc-b3dd05b10a8318c7af07941d3b13b75b5c4f5683.tar.gz gcc-b3dd05b10a8318c7af07941d3b13b75b5c4f5683.tar.bz2 |
re PR c++/15471 (Incorrect member pointer offsets in anonymous structs/unions)
PR c++/15471
* typeck.c (unary_complex_lvalue): Use context_for_name_lookup
when determining the scope to use for a pointer to member.
(lookup_anon_field): Give it external linkage.
* cp-tree.h (lookup_anon_field): Declare it.
* expr.c (cplus_expand_constant): Use it.
From-SVN: r82401
Diffstat (limited to 'gcc/java/check-init.c')
0 files changed, 0 insertions, 0 deletions