From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20887 invoked by alias); 27 Oct 2010 23:00:02 -0000 Received: (qmail 20771 invoked by uid 22791); 27 Oct 2010 23:00:01 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,MISSING_MID 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; Wed, 27 Oct 2010 22:59:56 +0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/46034] [4.6 regression] internal compiler error: Segmentation fault X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.6.0 X-Bugzilla-Changed-Fields: 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: Wed, 27 Oct 2010 23:00: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: 2010-10/txt/msg02366.txt.bz2 Message-ID: <20101027230000.NpJPlhXoDUg38Cmq_aLk_WYHCG2Nk0y70dMa0caEws0@z> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46034 --- Comment #8 from Zdenek Sojka 2010-10-27 22:59:53 UTC --- Created attachment 22186 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22186 reduced testcase Needs only "-O -fexpensive-optimizations" to reproduce Relevant valgrind output: $ gcc -O -fexpensive-optimizations testcase2.c ==10818== ==10818== Stack overflow in thread 1: can't grow stack to 0x7fe801fd8 ==10818== Can't extend stack to 0x7fe801450 during signal delivery for thread 1: ==10818== no stack segment ==10818== ==10818== Process terminating with default action of signal 11 (SIGSEGV) ==10818== Access not within mapped region at address 0x7FE801450 ==10818== at 0xF1C9BB: if_then_else_cond (combine.c:8504) ==10818== If you believe this happened as a result of a stack ==10818== overflow in your program's main thread (unlikely but ==10818== possible), you can try to increase the size of the ==10818== main thread stack using the --main-stacksize= flag. ==10818== The main thread stack size used in this run was 8388608. ==10818== Stack overflow in thread 1: can't grow stack to 0x7fe801f50 gcc: internal compiler error: Segmentation fault (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Tested revisions: r165985 - crash r163636 - crash r161659 - OK