Re: [eigen] can't reproduce gcc 4.3.4 errors

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


On Tue, Jun 29, 2010 at 10:14 AM, Hauke Heibel
<hauke.heibel@xxxxxxxxxxxxxx> wrote:
> On Mon, Jun 28, 2010 at 11:15 PM, Gael Guennebaud
> <gael.guennebaud@xxxxxxxxx> wrote:
>> I believe there is a bug in gcc, here is the related bug report:
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42255
>> but no fix yet.
>
> That means we can get rid of the errors by disabling -fprofile-arcs?

A while ago, such errors appeared only with  -fprofile-arcs, i.e.,
when coverage testing was enabled. But now, even without
-fprofile-arcs we hit these weird errors. After some investigations, I
found that disabling the guess-branch-probability optimization that is
automatically enabled with -O2 solved a couple of errors:

-O2 -fno-guess-branch-probability

Actually, guess-branch-probability and -fprofile-arcs seems to be
quite related. I've updated the bug report with that respect, but news
so far.

I'm currently compiling with -O2 -fno-guess-branch-probability to see
if there remain other errors....


gael

> - Hauke
>
>
>



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/