"joseph  cook" <[EMAIL PROTECTED]> 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.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to