patch applied (packages/base): work around a gcc 4.1.0 codegen bug in -O2 by forcing -O1 for GHC.Show

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Wed Apr 19 08:59:03 EDT 2006


Simon Marlow <simonmar at microsoft.com> writes:

> Thu Mar 23 05:45:14 PST 2006  Simon Marlow <simonmar at microsoft.com>
>   * work around a gcc 4.1.0 codegen bug in -O2 by forcing -O1 for GHC.Show
>   See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26824

I don't know if this helps, but newer gcc versions have -fwrapv option
which makes signed arithmetic overflow well-defined.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Libraries mailing list