From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12129 invoked by alias); 8 Feb 2011 21:31:26 -0000 Received: (qmail 12120 invoked by uid 22791); 8 Feb 2011 21:31:25 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 08 Feb 2011 21:31:21 +0000 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/47619] ICE in printf() with -fsplit-stack enabled. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 08 Feb 2011 21:44:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-02/txt/msg01102.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47619 --- Comment #12 from H.J. Lu 2011-02-08 21:31:12 UTC --- (gdb) disass foo Dump of assembler code for function foo: 0x0000000000400ba4 <+0>: lea -0x4108(%rsp),%r11 0x0000000000400bac <+8>: cmp %fs:0x70,%r11 0x0000000000400bb5 <+17>: jae 0x400bc9 0x0000000000400bb7 <+19>: mov $0x108,%r10d 0x0000000000400bbd <+25>: mov $0x0,%r11d 0x0000000000400bc3 <+31>: callq 0x400c48 <__morestack_non_split> 0x0000000000400bc8 <+36>: retq 0x0000000000400bc9 <+37>: push %rbx 0x0000000000400bca <+38>: sub $0x100,%rsp 0x0000000000400bd1 <+45>: mov %rdi,%rbx 0x0000000000400bd4 <+48>: mov %rsp,%rdx 0x0000000000400bd7 <+51>: mov %rdi,%rsi 0x0000000000400bda <+54>: mov $0x4019e4,%edi 0x0000000000400bdf <+59>: mov $0x0,%eax 0x0000000000400be4 <+64>: callq 0x4009c8 0x0000000000400be9 <+69>: mov $0x20,%ecx 0x0000000000400bee <+74>: mov $0x0,%eax 0x0000000000400bf3 <+79>: mov %rsp,%rdi 0x0000000000400bf6 <+82>: rep stos %rax,%es:(%rdi) 0x0000000000400bf9 <+85>: test %rbx,%rbx 0x0000000000400bfc <+88>: jle 0x400c07 0x0000000000400bfe <+90>: lea -0x1(%rbx),%rdi ---Type to continue, or q to quit--- 0x0000000000400c02 <+94>: callq 0x400ba4 0x0000000000400c07 <+99>: add $0x100,%rsp 0x0000000000400c0e <+106>: pop %rbx 0x0000000000400c0f <+107>: retq End of assembler dump. (gdb)