Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 1995 23:48:18 +1000 (EST)
From:      michael butler <imb@scgt.oz.au>
To:        current@freebsd.org
Subject:   -fno-strength-reduce ?
Message-ID:  <199510111348.XAA23413@asstdc.scgt.oz.au>

next in thread | raw e-mail | index | archive | help
I notice, in the example /etc/make.conf, that the utilities are recommended
to be compiled (if you wish to use optimisations), with the
"no-strength-reduce" directive. OK, I assume something breaks .. but should
everything be compiled with this ? Isn't it enough to add the relevant
CFLAGS to that specific thing which breaks ?

If it is a generic "gcc (2.63) is broken with optimisation" problem,
can/should the kernel be compiled with "-O2 -fno-strength-reduce" or are
there other hidden "gotchas" that break it as well over and above the "-O"
example given ?

	michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510111348.XAA23413>