From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10770 invoked by alias); 2 Jul 2011 08:05:21 -0000 Received: (qmail 10760 invoked by uid 22791); 2 Jul 2011 08:05:19 -0000 X-SWARE-Spam-Status: No, hits=-2.7 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; Sat, 02 Jul 2011 08:05:05 +0000 From: "arthur.j.odwyer at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/49227] [4.7 Regression] ice in inline_small_functions X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arthur.j.odwyer at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.7.0 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: Sat, 02 Jul 2011 08:05: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-07/txt/msg00102.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49227 --- Comment #2 from Arthur O'Dwyer 2011-07-02 08:04:20 UTC --- Created attachment 24657 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24657 Another testcase, fairly reduced I just ran into the same ICE via automatic test generation. I'm attaching "bug120673164-reduced.c", a 65-line C99 test case exposing the bug. gcc -std=c99 -w -O2 -finline-functions -fnon-call-exceptions -fno-tree-fre bug120673164-reduced.c bug120673164-reduced.c:77:1: internal compiler error: in inline_small_functions, at ipa-inline.c:1398 This test case is reduced from the output of Csmith 2.1.0 (git hash 01aa8b04, https://github.com/Quuxplusone/csmith/), using the following command line: csmith --paranoid --no-longlong --no-pointers --arrays --jumps --consts --no-volatiles --checksum --divs --no-muls --no-bitfields --packed-struct -s 120673164