http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58359
Anatoly Sinyavin <a.sinyavin at samsung dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |a.sinyavin at samsung dot com --- Comment #3 from Anatoly Sinyavin <a.sinyavin at samsung dot com> --- __builtin_unreachable is processed by "fab" optimization pass (fold all builtins / tree-ssa-ccp.c) in optimize_unreachable function. This pass is executed after vectorization so vectorizer gets __builtin_unreachable. Moreover __builtin_unreachable processing is one of the last pass on gimple. It leads that __builtin_unreachable can prevent not only vectorization but also many others optimization. So I suggest processing __builtin_unreachable immediately after "cfg" pass (cfg buiding). If we don't have any objections I can make patch for this problem.