public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/47619] New: ICE in printf() with -fsplit-stack enabled.
@ 2011-02-06 10:17 pluto at agmk dot net
  2011-02-06 10:19 ` [Bug target/47619] " pluto at agmk dot net
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: pluto at agmk dot net @ 2011-02-06 10:17 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE in printf() with -fsplit-stack enabled.
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: pluto@agmk.net


$ g++46 0.cpp -Wall -O1 -g2 -fsplit-stack

(gdb) r
Starting program: /home/users/pluto/src/gcc/PRs/a.out
i = 32768, rsp = 0x7fffffffdd30
i = 32767, rsp = 0x7fffffffdc20
i = 32766, rsp = 0x7fffffffdb10
(...)
i = 32705, rsp = 0x7ffff7ff8ab0
i = 32704, rsp = 0x7ffff7ff89a0
i = 32703, rsp = 0x7ffff7ff8890

Program received signal SIGSEGV, Segmentation fault.
_IO_new_file_xsputn (f=0x7ffff763a7a0, data=0x401ae4, n=4) at fileops.c:1288

(gdb) bt 8
#0  _IO_new_file_xsputn (f=0x7ffff763a7a0, data=0x401ae4, n=4) at
fileops.c:1288
#1  0x00007ffff72f3e45 in _IO_vfprintf_internal (s=0x7ffff763a7a0,
format=0x401ae4 "i = %ld, rsp = %p\n", ap=0x7ffff7ff86a0) at vfprintf.c:1314
#2  0x00007ffff72feaba in __printf (format=<value optimized out>) at
printf.c:35
#3  0x0000000000400c89 in foo (i=<value optimized out>) at 0.cpp:7
#4  0x0000000000400ca7 in foo (i=<value optimized out>) at 0.cpp:11
#5  0x0000000000400ca7 in foo (i=<value optimized out>) at 0.cpp:11
#6  0x0000000000400ca7 in foo (i=<value optimized out>) at 0.cpp:11
#7  0x0000000000400ca7 in foo (i=<value optimized out>) at 0.cpp:11


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

end of thread, other threads:[~2011-04-01  0:30 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-06 10:17 [Bug target/47619] New: ICE in printf() with -fsplit-stack enabled pluto at agmk dot net
2011-02-06 10:19 ` [Bug target/47619] " pluto at agmk dot net
2011-02-06 11:00 ` pluto at agmk dot net
2011-02-06 19:46 ` ian at airs dot com
2011-02-06 20:27 ` pluto at agmk dot net
2011-02-07  1:59 ` ian at airs dot com
2011-02-07 20:33 ` hjl.tools at gmail dot com
2011-02-08 15:50 ` ian at airs dot com
2011-02-08 15:58 ` hjl.tools at gmail dot com
2011-02-08 18:54 ` ian at airs dot com
2011-02-08 21:08 ` hjl.tools at gmail dot com
2011-02-08 21:31 ` ian at airs dot com
2011-02-08 21:44 ` hjl.tools at gmail dot com
2011-02-09  1:42 ` ian at airs dot com
2011-02-14 21:40 ` ian at airs dot com
2011-03-09  5:18 ` ian at airs dot com
2011-03-09  7:16 ` hjl.tools at gmail dot com
2011-03-09 14:11 ` ian at airs dot com
2011-03-09 15:11 ` hjl.tools at gmail dot com
2011-04-01  0:30 ` ian at airs dot com

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).