[LLVMbugs] [Bug 15871] New: Clang hangs with -backend-option -vectorize-loops

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 30 09:31:00 PDT 2013


            Bug ID: 15871
           Summary: Clang hangs with -backend-option -vectorize-loops
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: choller at mozilla.com
                CC: llvmbugs at cs.uiuc.edu, rafael.espindola at gmail.com
    Classification: Unclassified

I've hit this when building mozilla-central and reduced the original C file
from 30k lines down to this small (but nonsense) example:

enum __rlimit_resource {
        RUSAGE_SELF = 0
struct event {
        struct event_base *ev_base;
int min_heap_elem_greater(
                        //struct event *a, 
                        struct event *b
                        ) {}
struct eventop {
        X(event_io_map, event_map_entry);
        struct event_base {
                const struct eventop *evsel;

When compiling this with the following command line:

llvm/build/bin/clang-3.3 -cc1 -emit-obj -backend-option -vectorize-loops test.c

my clang hangs and seems to infinitely loop. Removing the backend-option
vectorize-loops seems to resolve the problem. Tested on LLVM r180778.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130430/0f698e03/attachment.html>

More information about the llvm-bugs mailing list