From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9731 invoked by alias); 9 Sep 2013 08:22:56 -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 Received: (qmail 9688 invoked by uid 48); 9 Sep 2013 08:22:53 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/58359] __builtin_unreachable prevents vectorization Date: Mon, 09 Sep 2013 08:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW 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: bug_status cf_reconfirmed_on blocked everconfirmed bug_severity 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-09/txt/msg00538.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58359 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-09-09 Blocks| |53947 Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #1 from Richard Biener --- We remove paths ending in __builtin_unreachable () at some point but arguably too late for the vectorizer. An (easy?) way out for the vectorizer would be to ignore that path (that is, do not generate vectorized code for it). But then first its various pieces would need to deal with loops with multiple basic-blocks.