http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59622 Bug ID: 59622 Summary: trung gcc-4.9.0:internal compiler error: verify_gimple failed Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: nheghathivhistha at gmail dot com Created attachment 31535 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31535&action=edit Reduced precompiled source file Gcc 4.9.0 trunk from 2013-12-28 ICEs while compiling Gentoo LLVM-3.3-r2: x86_64-pc-linux-gnu-g++ -m32 -fvisibility-inlines-hidden -fno-exceptions -fPIC -O2 -ggdb -pipe -march=native -mtune=native -flto=4 -pedantic -c ./testcase.i./testcase.i: In member function ‘llvm::Value* {anonymous}::LibCallOptimization::OptimizeCall(llvm::CallInst*, llvm::DataLayout*, llvm::TargetLibraryInfo*, llvm::IRBuilder<>&)’: ./testcase.i:225:12: error: LHS in noreturn call Value *OptimizeCall (CallInst * CI, DataLayout *, TargetLibraryInfo *, ^ D.2995 = __builtin_unreachable (this, D.2998, 0B, MEM[(const struct IRBuilder &)B]); ./testcase.i:225:12: internal compiler error: verify_gimple failed Please submit a full bug report, with preprocessed source if appropriate. See for instructions Crashes the same way without -flto. Gcc-4.8.2 not ICEs but fails other way with -flto but succeeds without -flto. C-reduce reduced testcase attached. >From gcc-bugs-return-438705-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Dec 29 17:11:43 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 8201 invoked by alias); 29 Dec 2013 17:11:41 -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 Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8179 invoked by uid 48); 29 Dec 2013 17:11:37 -0000 From: "nheghathivhistha at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/59622] trunk gcc-4.9.0:internal compiler error: verify_gimple failed Date: Sun, 29 Dec 2013 17:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nheghathivhistha 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: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: 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: 2013-12/txt/msg02360.txt.bz2 Content-length: 244 http://gcc.gnu.org/bugzilla/show_bug.cgi?idY622 --- Comment #1 from David Kredba --- Created attachment 31536 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id1536&actioníit More c-reduced (--slow)