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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59622
Because this is an ICE and not a porting bug it shouldn't block the tracker.
OK, Thank you.