http://llvm.org/bugs/show_bug.cgi?id=15871
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: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs