Re: function name lookup within templates in gcc 4.1

2005-04-18 Thread Marcin Dalecki
On 2005-04-18, at 04:37, Gareth Pearce wrote: So I just started trying out gcc 4.1 - with a program which compiles and runs fine on gcc 3.3. Attached is a reduced testcase which shows runtime segfault due to stack overflow if compiled with 4.1 but does not with 3.3. Trivial work around is to m

RE: function name lookup within templates in gcc 4.1

2005-04-17 Thread Gareth Pearce
Thanks for the verification! Regards, Gareth Pearce > > > On Apr 17, 2005, at 10:37 PM, Gareth Pearce wrote: > > > So I just started trying out gcc 4.1 - with a program which compiles > > and > > runs fine on gcc 3.3. > > > > Attached is a reduced testcase which shows runtime segfault due to >

Re: function name lookup within templates in gcc 4.1

2005-04-17 Thread Andrew Pinski
On Apr 17, 2005, at 10:37 PM, Gareth Pearce wrote: So I just started trying out gcc 4.1 - with a program which compiles and runs fine on gcc 3.3. Attached is a reduced testcase which shows runtime segfault due to stack overflow if compiled with 4.1 but does not with 3.3. Trivial work around is

function name lookup within templates in gcc 4.1

2005-04-17 Thread Gareth Pearce
So I just started trying out gcc 4.1 - with a program which compiles and runs fine on gcc 3.3. Attached is a reduced testcase which shows runtime segfault due to stack overflow if compiled with 4.1 but does not with 3.3. Trivial work around is to move the specific declaration above the template d