https://llvm.org/bugs/show_bug.cgi?id=31358
Bug ID: 31358 Summary: Clang should support -march=armv7ve for gcc compatibility Product: clang Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Frontend Assignee: unassignedclangb...@nondot.org Reporter: manojgu...@google.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified gcc supports -march=armv7ve option for arm but this is not supported by clang. Armv7ve description: armv7ve add supports for ARMv7 virtualization extension, including instructions such as integer divide instructions. This makes build scripts difficult to port to clang from gcc. Example: $ cat foo.c int divide(int b, int c) { return b/c; } $ gcc -march=armv7ve -c foo.c # This works as expected Compiling with clang fails. $ clang -march=armv7ve -c foo.cc clang-4.0: error: the clang compiler does not support '-march=armv7ve' -- 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