From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22838 invoked by alias); 10 Feb 2015 21:34:58 -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 Received: (qmail 22760 invoked by uid 48); 10 Feb 2015 21:34:55 -0000 From: "zsojka at seznam dot cz" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/65008] New: [5 Regression] ICE: in estimate_edge_growth, at ipa-inline.h:298 with -O2 Date: Tue, 10 Feb 2015 21:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zsojka at seznam dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-02/txt/msg01096.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65008 Bug ID: 65008 Summary: [5 Regression] ICE: in estimate_edge_growth, at ipa-inline.h:298 with -O2 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Created attachment 34718 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34718&action=edit reduced testcase Compiler output: $ gcc -O2 testcase.C testcase.C: In constructor 'A::A()': testcase.C:15:1: internal compiler error: in estimate_edge_growth, at ipa-inline.h:298 } ^ 0xbfffe8 estimate_edge_growth /mnt/svn/gcc-trunk/gcc/ipa-inline.h:297 0xbfffe8 estimate_size_after_inlining(cgraph_node*, cgraph_edge*) /mnt/svn/gcc-trunk/gcc/ipa-inline-analysis.c:3892 0x1836925 caller_growth_limits /mnt/svn/gcc-trunk/gcc/ipa-inline.c:214 0x1836925 can_inline_edge_p /mnt/svn/gcc-trunk/gcc/ipa-inline.c:400 0x1837714 early_inline_small_functions /mnt/svn/gcc-trunk/gcc/ipa-inline.c:2465 0x1837714 early_inliner(function*) /mnt/svn/gcc-trunk/gcc/ipa-inline.c:2569 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Tested revisions: r220566 - ICE 4_9 r219040 - OK