Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496416 (PR59622) - sys-devel/gcc-4.9 [ICE] verify_gimple failed with sys-devel/llvm-3.3-r2
Summary: sys-devel/gcc-4.9 [ICE] verify_gimple failed with sys-devel/llvm-3.3-r2
Status: RESOLVED UPSTREAM
Alias: PR59622
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR59622
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-29 17:36 UTC by David Kredba
Modified: 2013-12-31 01:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kredba 2013-12-29 17:36:24 UTC
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 <https://bugs.gentoo.org/> for instructions

Crashes the same way without -flto.

Gcc-4.8.2 not ICEs but fails other way with -flto but succeeds without -flto.

Reproducible: Always
Comment 1 David Kredba 2013-12-29 17:36:46 UTC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59622
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2013-12-30 00:41:39 UTC
Because this is an ICE and not a porting bug it shouldn't block the tracker.
Comment 3 David Kredba 2013-12-30 07:30:40 UTC
OK, Thank you.