[llvm-bugs] [Bug 30797] New: clear_cache doesn't compile in Debug mode
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 26 07:03:44 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=30797
Bug ID: 30797
Summary: clear_cache doesn't compile in Debug mode
Product: compiler-rt
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: compiler-rt
Assignee: unassignedbugs at nondot.org
Reporter: renato.golin at linaro.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
clear_cache.c fails to build on ARM in debug mode because of the line:
const register int syscall_nr __asm("r7") = __ARM_NR_cacheflush;
with the error:
error: r7 cannot be used in asm here
It passes on Release mode because -O2/3 implies -fmoit-frame-pointer.
--
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/20161026/31b479fd/attachment-0001.html>
More information about the llvm-bugs
mailing list