[Bug 205930] clang(1) doesn't document all flags and options

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 5 20:18:27 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205930

--- Comment #2 from Steve Kargl <kargl at FreeBSD.org> ---
Oh yuck.  Long lines and new sentences starting in the middle of a line.


 diff -u cc.1.orig cc.1
--- cc.1.orig   2016-01-05 11:57:16.699107000 -0800
+++ cc.1        2016-01-05 12:12:47.718444000 -0800
@@ -251,8 +251,15 @@
 through Clang compiled stack frames.  This is on by default in x86-64.
 .It  Sy -ftrapv
 Generate code to catch integer overflow errors.  Signed integer overflow is
-undefined in C, with this flag, extra code is generated to detect this and
abort
-when it happens.
+undefined in C, with this flag, extra code is generated to detect this and
+abort when it happens.
+.It  Sy -funroll-loops
+This option is accepted by the compiler, but testing with simply
+loops suggests that apparently does nothing.
+Surprisingly,
+.Nm
+does not issue a warning about the omission of what can only be characterized
+as a basic optimization.
 .It  Sy -fvisibility
 This flag sets the default visibility level.
 .It  Sy -fcommon

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list