pkarashchenko commented on code in PR #5971:
URL: https://github.com/apache/incubator-nuttx/pull/5971#discussion_r841837999
##########
include/nuttx/compiler.h:
##########
@@ -381,6 +381,12 @@
# define UNUSED(a) ((void)(1 || (a)))
+# if defined(__clang__)
+# define no_builtin(n) __attribute__((no_builtin(n)))
+# else
+# define no_builtin(n)
__attribute__((__optimize__("-fno-tree-loop-distribute-patterns")))
Review Comment:
I also read that `-ffreestanding` is needed additionally to
`-fno-tree-loop-distribute-patterns`, but do not have strong proof of that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]