[m-rev.] for review: work around bug 160

Julien Fischer juliensf at csse.unimelb.edu.au
Mon Sep 13 00:26:07 AEST 2010


On Sun, 12 Sep 2010, Zoltan Somogyi wrote:

> On 11-Sep-2010, Peter Ross <pdross at gmail.com> wrote:
>> Agree the workaround is simple, the issue is determining that you need
>> to apply the work around because as I understand it your program
>> silently does the wrong thing.
>
> We should auto-detect in configure whether the version of gcc being used has
> the -fno-tree-loop-im flag, and if yes, set it. Preferably only on the gcc
> versions that have the bug, but if we don't know exactly what they are,
> we can do this for all of them.

The bug is not present with the following versions of gcc: 3.4, 4.1,
4.2, and 4.3.  (I will check with gcc 4.5 later today; it isn't
available on any of our reglar machines.)

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list