This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Actually, this isn't quite ready to go in. Consider the following testcase: struct A { static int U; }; typedef A U; int main () { U::U = 42; } This should work. Your patch should only apply to lookup after ::~. Also, you need to use same_type_p to compare types. Jason
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |