[PATCH] config.rpath: remove handling of FreeBSD 1.x

2011-01-27 Thread Gerald Pfeifer
this should also go into GCC HEAD, 4.5 and 4.4. Thanks, Gerald 2011-01-27 Gerald Pfeifer * config.rpath: Remove handling of freebsd1* which soon would match FreeBSD 10.0. Index: config.rpath === --- config.rpath

Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."

2007-01-02 Thread Gerald Pfeifer
On Tue, 2 Jan 2007, Gabriel Dos Reis wrote: >|> for (i = 1; i < m; ++i) >|> { >|> if (i > 0) >|> bar (); >|> } >| Of course, this is an example where either the programmer is doing >| something very silly or else is expecting overflow and depending on >| wrap semantics, so it

Re: GCC optimizes integer overflow: bug or feature?

2007-01-01 Thread Gerald Pfeifer
On Tue, 19 Dec 2006, Ian Lance Taylor wrote: > Here is a quick list of optimizations that mainline gcc performs which > rely on the idea that signed overflow is undefined. All the types > are, of course, signed. I made have made some mistakes. I think this > gives a good feel for the sorts of op

Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."

2006-12-31 Thread Gerald Pfeifer
On Sun, 31 Dec 2006, Robert Dewar wrote: > If you do it in signed expecting wrapping, then the optimization > destroys your code. Yes, it is technically your fault, but this > business of telling users > > "sorry, your code is non-standard, gcc won't handle it as you > expect, go fix your code" M