public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45201]  New: ICE: stack overflow during debug information generation
@ 2010-08-05 21:51 mr dot chr dot schmidt at online dot de
  2010-08-05 21:53 ` [Bug c++/45201] " mr dot chr dot schmidt at online dot de
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: mr dot chr dot schmidt at online dot de @ 2010-08-05 21:51 UTC (permalink / raw)
  To: gcc-bugs

The attached code will lead to a stack overflow if compiled with -std=c++0x and
-g . The code compiles fine without -g. gcc-4.5.0 accepts the code just fine as
well, even when compiled with -g.


-- 
           Summary: ICE: stack overflow during debug information generation
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mr dot chr dot schmidt at online dot de
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/45201] ICE: stack overflow during debug information generation
  2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
@ 2010-08-05 21:53 ` mr dot chr dot schmidt at online dot de
  2010-08-05 21:54 ` mr dot chr dot schmidt at online dot de
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mr dot chr dot schmidt at online dot de @ 2010-08-05 21:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from mr dot chr dot schmidt at online dot de  2010-08-05 21:53 -------
Created an attachment (id=21413)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21413&action=view)
 preprocessed source file 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/45201] ICE: stack overflow during debug information generation
  2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
  2010-08-05 21:53 ` [Bug c++/45201] " mr dot chr dot schmidt at online dot de
@ 2010-08-05 21:54 ` mr dot chr dot schmidt at online dot de
  2010-08-06 10:37 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mr dot chr dot schmidt at online dot de @ 2010-08-05 21:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mr dot chr dot schmidt at online dot de  2010-08-05 21:54 -------
Created an attachment (id=21414)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21414&action=view)
g++ -v / g++ proto_fusion.cpp -std=c++0x -g output


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/45201] ICE: stack overflow during debug information generation
  2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
  2010-08-05 21:53 ` [Bug c++/45201] " mr dot chr dot schmidt at online dot de
  2010-08-05 21:54 ` mr dot chr dot schmidt at online dot de
@ 2010-08-06 10:37 ` rguenth at gcc dot gnu dot org
  2010-08-07 19:59 ` [Bug c++/45201] ICE: stack overflow mr dot chr dot schmidt at online dot de
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-06 10:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2010-08-06 10:37 -------
Works for me on x86_64-linux with -m32.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/45201] ICE: stack overflow
  2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
                   ` (2 preceding siblings ...)
  2010-08-06 10:37 ` rguenth at gcc dot gnu dot org
@ 2010-08-07 19:59 ` mr dot chr dot schmidt at online dot de
  2010-08-07 20:00 ` mr dot chr dot schmidt at online dot de
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mr dot chr dot schmidt at online dot de @ 2010-08-07 19:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mr dot chr dot schmidt at online dot de  2010-08-07 19:58 -------
I am able to reproduce this stack overflow with other source files as well -
even somtimes when compiling without "-g" .


-- 

mr dot chr dot schmidt at online dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE: stack overflow during  |ICE: stack overflow
                   |debug information generation|


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/45201] ICE: stack overflow
  2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
                   ` (3 preceding siblings ...)
  2010-08-07 19:59 ` [Bug c++/45201] ICE: stack overflow mr dot chr dot schmidt at online dot de
@ 2010-08-07 20:00 ` mr dot chr dot schmidt at online dot de
  2010-08-07 20:01 ` mr dot chr dot schmidt at online dot de
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mr dot chr dot schmidt at online dot de @ 2010-08-07 20:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from mr dot chr dot schmidt at online dot de  2010-08-07 20:00 -------
Created an attachment (id=21433)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21433&action=view)
cc1plus invocation commands


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/45201] ICE: stack overflow
  2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
                   ` (4 preceding siblings ...)
  2010-08-07 20:00 ` mr dot chr dot schmidt at online dot de
@ 2010-08-07 20:01 ` mr dot chr dot schmidt at online dot de
  2010-08-11  0:16 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: mr dot chr dot schmidt at online dot de @ 2010-08-07 20:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from mr dot chr dot schmidt at online dot de  2010-08-07 20:01 -------
Created an attachment (id=21434)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21434&action=view)
gdb backtrace


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/45201] ICE: stack overflow
  2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
                   ` (5 preceding siblings ...)
  2010-08-07 20:01 ` mr dot chr dot schmidt at online dot de
@ 2010-08-11  0:16 ` pinskia at gcc dot gnu dot org
  2010-08-11 20:00 ` mr dot chr dot schmidt at online dot de
  2010-08-11 20:01 ` mr dot chr dot schmidt at online dot de
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-08-11  0:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2010-08-11 00:16 -------
(In reply to comment #6)
> Created an attachment (id=21434)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21434&action=view) [edit]
> gdb backtrace
> 

Hmm, GGC strikes again.  Well really a small stack size on windows strikes with
GGC.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |GC, ice-on-valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/45201] ICE: stack overflow
  2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
                   ` (6 preceding siblings ...)
  2010-08-11  0:16 ` pinskia at gcc dot gnu dot org
@ 2010-08-11 20:00 ` mr dot chr dot schmidt at online dot de
  2010-08-11 20:01 ` mr dot chr dot schmidt at online dot de
  8 siblings, 0 replies; 10+ messages in thread
From: mr dot chr dot schmidt at online dot de @ 2010-08-11 20:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from mr dot chr dot schmidt at online dot de  2010-08-11 20:00 -------
(In reply to comment #7)
> (In reply to comment #6)
> > Created an attachment (id=21434)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21434&action=view) [edit]
> > gdb backtrace
> > 
> 
> Hmm, GGC strikes again.  Well really a small stack size on windows strikes with
> GGC.
> 

I added another testcase. When compiled with -O0 -g -std=c++0x on i686-mingw32,
3-stage bootstraped with "-g0 -O3 -fomit-frame-pointer", the reserved stack
size of cc1plus must be between 8,3MB and 9,4MB. The default reserved stack
size is about 2,09MB.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug c++/45201] ICE: stack overflow
  2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
                   ` (7 preceding siblings ...)
  2010-08-11 20:00 ` mr dot chr dot schmidt at online dot de
@ 2010-08-11 20:01 ` mr dot chr dot schmidt at online dot de
  8 siblings, 0 replies; 10+ messages in thread
From: mr dot chr dot schmidt at online dot de @ 2010-08-11 20:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from mr dot chr dot schmidt at online dot de  2010-08-11 20:01 -------
Created an attachment (id=21456)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21456&action=view)
another testcase


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45201


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-08-11 20:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-05 21:51 [Bug c++/45201] New: ICE: stack overflow during debug information generation mr dot chr dot schmidt at online dot de
2010-08-05 21:53 ` [Bug c++/45201] " mr dot chr dot schmidt at online dot de
2010-08-05 21:54 ` mr dot chr dot schmidt at online dot de
2010-08-06 10:37 ` rguenth at gcc dot gnu dot org
2010-08-07 19:59 ` [Bug c++/45201] ICE: stack overflow mr dot chr dot schmidt at online dot de
2010-08-07 20:00 ` mr dot chr dot schmidt at online dot de
2010-08-07 20:01 ` mr dot chr dot schmidt at online dot de
2010-08-11  0:16 ` pinskia at gcc dot gnu dot org
2010-08-11 20:00 ` mr dot chr dot schmidt at online dot de
2010-08-11 20:01 ` mr dot chr dot schmidt at online dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).