Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 496416 (PR59622)

Summary: sys-devel/gcc-4.9 [ICE] verify_gimple failed with sys-devel/llvm-3.3-r2
Product: Gentoo Linux Reporter: David Kredba <kredba>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://gcc.gnu.org/PR59622
Whiteboard:
Package list:
Runtime testing required: ---

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.