From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17474 invoked by alias); 30 Dec 2014 14:32:23 -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 17442 invoked by uid 48); 30 Dec 2014 14:32:17 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/64444] New: [5 Regression] ICE: in inline_merge_summary, at ipa-inline-analysis.c:3611 Date: Tue, 30 Dec 2014 14:32: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: trippels at gcc dot gnu.org 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 cc 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: 2014-12/txt/msg02939.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64444 Bug ID: 64444 Summary: [5 Regression] ICE: in inline_merge_summary, at ipa-inline-analysis.c:3611 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: trippels at gcc dot gnu.org CC: hubicka at gcc dot gnu.org Happens during Firefox LTO build on ppc64: trippels@gcc2-power8 genrb % < parse.ii int *k_type_string; struct { int *nameUChars; } gResourceTypes{ k_type_string }; trippels@gcc2-power8 genrb % < ucol_tok.ii typedef struct { int charsOffset; } UColParsedToken; typedef struct { UColParsedToken parsedToken; int source; int *extraCurrent; int inRange; } UColTokenParser; typedef struct { int *subName; } ucolTokSuboption; int *suboption_00; ucolTokSuboption alternateSub{ suboption_00 }; static int fn1 (UColTokenParser *p1) { p1->parsedToken.charsOffset = p1->extraCurrent - &p1->source; } void fn2 (UColTokenParser *p1) { if (p1->inRange) fn1 (p1); } trippels@gcc2-power8 genrb % c++ -r -nostdlib -O2 -flto -std=gnu++0x parse.ii ucol_tok.ii lto1: internal compiler error: in inline_merge_summary, at ipa-inline-analysis.c:3611 0x10490b63 inline_merge_summary(cgraph_edge*) ../../gcc/gcc/ipa-inline-analysis.c:3611 0x10d0fa4b inline_call(cgraph_edge*, bool, vec*, int*, bool, bool*) ../../gcc/gcc/ipa-inline-transform.c:326 0x10d07b1b inline_small_functions ../../gcc/gcc/ipa-inline.c:1813 0x10d07b1b ipa_inline ../../gcc/gcc/ipa-inline.c:2185 0x10d07b1b execute ../../gcc/gcc/ipa-inline.c:2558 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. lto-wrapper: fatal error: /home/trippels/gcc_test/usr/local/bin/c++ returned 1 exit status compilation terminated. /home/trippels/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status