as a result of Rafael's r192808, clang is now rejecting unknown options.
A follow up added dummy versions for -fexpensive-optimizations and
-minline-all-stringops to work around fallout. I've used the original
version without r192521 in pkgsrc to see how much fallout we have and
whether we want to workaround some issues.
Not included are various places that expect -R to passed down to the
From the perspective of minimizing fallout, -fstrength-reduce is the
single biggest item after -R, but I am still not sure whether we still
want to bother.
-fhandle-exceptions: Used by the Firefox 3.6 code and Nvu, has been
replaced by -fexceptions in the GCC 2.8 time frame, but the detection of
the replacement warning doesn't work.
-mimpure-text: Cinepaint leaks this from the Solaris version, should be
prefixed with -Wl.
Various programs enable or disable this option. Enabling is
pointless as it is default with -O anyway and disabling seems to
have been done for various broken GCC versions.
LMMS, splay, tap-plugins, gplcver, spice, libslang, (x)jed,
gnuboy, angband, quake3, tetrinetx, gri, libcaca, dpbox, Chinput,
threadbuildingblocks and liblzo use this supposedly to workaround
A bunch of programs written in the early days of C++ use this.
From the GCC documentation, it should be irrelevant.
lq-sp, MySQL 5.1, Festival, ESTIC.
Enabled or disabled for compiler "tuning".
hyperestraier, bytebench, gnuboy, libtheora
libwildmidi, doxymacs, bzflag, quake2forge, quakeforge, tuxracer,
libwildmidi, LMMS, nestopia
libwildmidi, gimp-resynthesizer, genius
yap (workaround for CGC 3.4)
gnuboy wants -OMG
caml-light, coq, gforth, moscow, ocaml, ruby
Not listed is Xen, which has a bunch of -falign-* variations etc.