https://bugs.llvm.org/show_bug.cgi?id=35827
Bug ID: 35827
Summary: Clang crashes with computed goto
Product: clang
Version: 5.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: i...@ct800.net
CC: llvm-bugs@lists.llvm.org
Created attachment 19630
--> https://bugs.llvm.org/attachment.cgi?id=19630&action=edit
Preprocessed sources and run script
I'm using Win7-x64 and Android NDK 16b. I have generated the standalone chain
for Android Arm64 that uses Clang 5.0.300080 to generate 64 bit code.
When compiling a C file that contains a shellsort using computed goto jump
tables, Clang crashes. The error message suggest to file a bug report.
When I replaced the computed goto shellsort with a version that does not use
computed goto, Clang did not crash and produced a binary, as intended. So it
has something to do with the computed goto.
I tried to isolate this computed goto shellsort into a single file and just
sorting integers, but that did not crash Clang. So the issue is more complex
than just computed goto.
I'm also using the Android NDK 16b standalone toolchain configured for Armv7-a
with 32 bit target with the same application and the computed goto shellsort,
and this works without problems.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs