* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
@ 2008-03-02 22:59 ` mckelvey at maskull dot com
2008-03-02 23:21 ` brian at dessent dot net
` (8 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: mckelvey at maskull dot com @ 2008-03-02 22:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from mckelvey at maskull dot com 2008-03-02 22:59 -------
Created an attachment (id=15253)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15253&action=view)
Compressed preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
2008-03-02 22:59 ` [Bug c++/35421] " mckelvey at maskull dot com
@ 2008-03-02 23:21 ` brian at dessent dot net
2008-03-03 0:55 ` mckelvey at maskull dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: brian at dessent dot net @ 2008-03-02 23:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from brian at dessent dot net 2008-03-02 23:21 -------
Subject: Re: ICE on Valid Code
A 65,000 line testcase? Seriously?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
2008-03-02 22:59 ` [Bug c++/35421] " mckelvey at maskull dot com
2008-03-02 23:21 ` brian at dessent dot net
@ 2008-03-03 0:55 ` mckelvey at maskull dot com
2008-03-03 1:43 ` Andrew Pinski
2008-03-03 1:44 ` pinskia at gmail dot com
` (6 subsequent siblings)
9 siblings, 1 reply; 12+ messages in thread
From: mckelvey at maskull dot com @ 2008-03-03 0:55 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from mckelvey at maskull dot com 2008-03-03 00:54 -------
(In reply to comment #2)
> Subject: Re: ICE on Valid Code
>
>
> 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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Bug c++/35421] ICE on Valid Code
2008-03-03 0:55 ` mckelvey at maskull dot com
@ 2008-03-03 1:43 ` Andrew Pinski
0 siblings, 0 replies; 12+ messages in thread
From: Andrew Pinski @ 2008-03-03 1:43 UTC (permalink / raw)
To: gcc-bugzilla; +Cc: gcc-bugs
Sent from my iPhone
On Mar 2, 2008, at 16:54, "mckelvey at maskull dot com" <gcc-bugzilla@gcc.gnu.org
> wrote:
>
>
> ------- Comment #3 from mckelvey at maskull dot com 2008-03-03
> 00:54 -------
> (In reply to comment #2)
>> Subject: Re: ICE on Valid Code
>>
>>
>> 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.
Thanks,
Andrew Pinski
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
` (2 preceding siblings ...)
2008-03-03 0:55 ` mckelvey at maskull dot com
@ 2008-03-03 1:44 ` pinskia at gmail dot com
2008-03-03 3:32 ` dannysmith at users dot sourceforge dot net
` (5 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: pinskia at gmail dot com @ 2008-03-03 1:44 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from pinskia at gmail dot com 2008-03-03 01:43 -------
Subject: Re: ICE on Valid Code
Sent from my iPhone
On Mar 2, 2008, at 16:54, "mckelvey at maskull dot com"
<gcc-bugzilla@gcc.gnu.org
> wrote:
>
>
> ------- Comment #3 from mckelvey at maskull dot com 2008-03-03
> 00:54 -------
> (In reply to comment #2)
>> Subject: Re: ICE on Valid Code
>>
>>
>> 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.
Thanks,
Andrew Pinski
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
` (3 preceding siblings ...)
2008-03-03 1:44 ` pinskia at gmail dot com
@ 2008-03-03 3:32 ` dannysmith at users dot sourceforge dot net
2008-03-05 2:51 ` mckelvey at maskull dot com
` (4 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2008-03-03 3:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from dannysmith at users dot sourceforge dot net 2008-03-03 03:32 -------
(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
>
> >
>
--
dannysmith at users dot sourceforge dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dannysmith at users dot
| |sourceforge dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
` (4 preceding siblings ...)
2008-03-03 3:32 ` dannysmith at users dot sourceforge dot net
@ 2008-03-05 2:51 ` mckelvey at maskull dot com
2009-07-04 16:15 ` dave dot korn dot cygwin at gmail dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: mckelvey at maskull dot com @ 2008-03-05 2:51 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
` (5 preceding siblings ...)
2008-03-05 2:51 ` mckelvey at maskull dot com
@ 2009-07-04 16:15 ` dave dot korn dot cygwin at gmail dot com
2009-12-25 22:11 ` paolo dot carlini at oracle dot com
` (2 subsequent siblings)
9 siblings, 0 replies; 12+ messages in thread
From: dave dot korn dot cygwin at gmail dot com @ 2009-07-04 16:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from dave dot korn dot cygwin at gmail dot com 2009-07-04 16:15 -------
You might like to test this again. It was very likely fixed by the these
patches
http://gcc.gnu.org/viewcvs?view=rev&revision=146425
http://gcc.gnu.org/viewcvs?view=rev&revision=146515
I couldn't reproduce any problem building your testcase with a build of gcc
HEAD from a couple of days ago.
--
dave dot korn dot cygwin at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dave dot korn dot cygwin at
| |gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
` (6 preceding siblings ...)
2009-07-04 16:15 ` dave dot korn dot cygwin at gmail dot com
@ 2009-12-25 22:11 ` paolo dot carlini at oracle dot com
2009-12-28 2:08 ` mckelvey at maskull dot com
2009-12-28 10:35 ` paolo dot carlini at oracle dot com
9 siblings, 0 replies; 12+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-25 22:11 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from paolo dot carlini at oracle dot com 2009-12-25 22:11 -------
Feedback not forthcoming.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
` (7 preceding siblings ...)
2009-12-25 22:11 ` paolo dot carlini at oracle dot com
@ 2009-12-28 2:08 ` mckelvey at maskull dot com
2009-12-28 10:35 ` paolo dot carlini at oracle dot com
9 siblings, 0 replies; 12+ messages in thread
From: mckelvey at maskull dot com @ 2009-12-28 2:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from mckelvey at maskull dot com 2009-12-28 02:07 -------
(In reply to comment #8)
> Feedback not forthcoming.
>
Will try again as soon as I can build latest SVN.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug c++/35421] ICE on Valid Code
2008-03-02 22:57 [Bug c++/35421] New: ICE on Valid Code mckelvey at maskull dot com
` (8 preceding siblings ...)
2009-12-28 2:08 ` mckelvey at maskull dot com
@ 2009-12-28 10:35 ` paolo dot carlini at oracle dot com
9 siblings, 0 replies; 12+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-28 10:35 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from paolo dot carlini at oracle dot com 2009-12-28 10:35 -------
Ok. If you are stumbling again on exactly the same issue, please re-open,
otherwise file a new one... But hopefully everything will be fine ;)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35421
^ permalink raw reply [flat|nested] 12+ messages in thread