[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New g++ 3.4.3 Bug ?
From: |
Paul Pluzhnikov |
Subject: |
Re: New g++ 3.4.3 Bug ? |
Date: |
Mon, 15 Jan 2007 11:29:28 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
"joseph cook" <joecook@gmail.com> writes:
>> You need to specify 'g++ --version' for people to be able to
>> reproduce the bug you are reporting.
>
> I'm using SunOS 5.8. What O/S are you running on?
I tested on Linux/x86 ...
Using these releases I observe the same bug:
GNU C++ version 3.4.6 (sparc-sun-solaris2.7)
GNU C++ version 3.4.0 (sparc-sun-solaris2.7)
Both of the above were compiled by gcc-2.95.3
Surprizingly, I don't see it when using
GNU C++ version 3.4.6 (sparc-sun-solaris2.8) compiled by CC.
Ah, I see. It simply runs out of stack.
On my solaris 7 machine, default stack (ulimit -s) is 8M.
When I increase it to 10M (ulimit -s 10240) the test compiles fine
with both 3.4.0 and 3.4.6
Cheers,
--
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.