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]
Other format: [Raw text]

Re: [C++] fix 27787


On 8/25/06, Nathan Sidwell <nathan@codesourcery.com> wrote:
I've installed this patch to fix bug 27787.  We were being too eager to resolve
typename types with a currently open context.  As the test case shows, we don't
know that lookup won't find a dependent base type at instantiation time.  I
found make_typename_type's logic somewhat confusing, so simplified it in the
process.

tested on i686-pc-linux-gnu

I have backported this to the 4.1 branch as it fixes PR25868 there which is a regression.

Bootstrapped and tested on x86_64-unknown-linux-gnu.

Will apply to the branch later.

Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]