1 Jan 2007 01:13
Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Daniel Berlin <dberlin <at> dberlin.org>
2007-01-01 00:13:04 GMT
2007-01-01 00:13:04 GMT
On 12/31/06, Richard Guenther <richard.guenther <at> gmail.com> wrote: > On 12/31/06, Daniel Berlin <dberlin <at> dberlin.org> wrote: > > On 12/31/06, Paul Eggert <eggert <at> cs.ucla.edu> wrote: > > > "Steven Bosscher" <stevenb.gcc <at> gmail.com> writes: > > > > > > > On 12/31/06, Paul Eggert <eggert <at> cs.ucla.edu> wrote: > > > >> Also, as I understand it this change shouldn't affect gcc's > > > >> SPEC benchmark scores, since they're typically done with -O3 > > > >> or better. > > > > > > > > It's not all about benchmark scores. > > > > > > But so far, benchmark scores are the only scores given by the people > > > who oppose having -O2 imply -fwrapv. If the benchmarks use -O3 they > > > wouldn't be affected by such a change -- and if so, we have zero hard > > > evidence of any real harm being caused by having -O2 imply -fwrapv. > > > > > > > I think most users compile at -O2 > > > > > > Yes, which is why there's so much argument about what -O2 should do.... > > > > > > > You say you doubt it affects performance. Based on what? Facts > > > > please, not guesses and hand-waiving... > > > > > > The burden of proof ought to be on the guys proposing -O2 > > > optimizations that break longstanding code, not on the skeptics. > > > > The burden ought to be (and IMHO is) on those who propose we change > > optimizer behavior in order to support something non-standard. > >(Continue reading)
RSS Feed