This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/25491] gcc segfaults compiling very long expressions
- From: "geckosenator at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2005 13:31:51 -0000
- Subject: [Bug c/25491] gcc segfaults compiling very long expressions
- References: <bug-25491-11899@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from geckosenator at gmail dot com 2005-12-19 13:31 -------
(In reply to comment #2)
> Works with 4.1, needs 300MB ram and about 10s (-O0).
> Same for 4.0.x.
> Works for 3.4, too, with 178MB but takes a bit longer to compile.
>
> Are you sure you tried compiling without optimization?
>
I have tested it myself with gcc 4.0.2 and it worked. I'm now told this isn't
a problem on gcc 4.x.. so I'm no longer sure if I should report it as a valid
bug.
I have had other people test this on gcc 3.x with both failure and success. I
think it depends how gcc is installed.
I was not using optimizations when I tested it.
thanks
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25491