I asked on gcc-help, but it seems like this list may be more appropriate as it deals with the gcc source.
I have noticed that in my g++ <4.3.0, I am able to compile the following code without any errors: struct A; void foo(A); void bar(A* p){foo(*p);} In g++ 4.3.0 this seems to have been fixed, but I'm having a very hard time locating the fix for it. I was hoping that someone could point me in a general direction and hopefully even a changeset. I would like to be able to backport this to g++ 4.1.2 if possible. Thank you, Anthony