This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35421] ICE on Valid Code
- From: "mckelvey at maskull dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2008 02:50:46 -0000
- Subject: [Bug c++/35421] ICE on Valid Code
- References: <bug-35421-6183@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from mckelvey at maskull dot com 2008-03-05 02:50 -------
(In reply to comment #5)
> (In reply to comment #4)
>
> > >>
> > >> A 65,000 line testcase? Seriously?
> > >>
> > >
> > > I'll try to make a smaller one. But it most likely won't be small.
> > > I think the bug is caused by a VERY large expression used with a
> > > constructor
> > > within a try-catch.
> > >
> >
> >
> > Most likely this is just a stack overflow so really not an interesting
> > testcase.
> >
>
> Your testcase works for me if I make gcc with
> LDFLAGS="-Wl,--stack=0x2000000"
>
> > Thanks,
> > Andrew Pinski
> >
> > >
> >
>
OK, I will try that. Thanks!
Although that solves my immediate problem, the compiler should not ICE on a
stack overflow, right? It should give a stack overflow error or something
similar.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421