Re: [C++ Patch] fix PR c++/48010

2011-05-31 Thread Jason Merrill
OK. Jason

[C++ Patch] fix PR c++/48010

2011-05-30 Thread Fabien ChĂȘne
Hi, The problem here is that the typedef overrides the previous type. To avoid that, we have to check that the new DECL is not a type. Some code uses supplement_binding to 'refine' the binding, so if the new DECL is a type and is of the same type than the old binding, then supplement_binding succe