Re: [eigen] can't reproduce gcc 4.3.4 errors |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] can't reproduce gcc 4.3.4 errors
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Tue, 29 Jun 2010 10:25:21 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=ZfZBejnBkjkk8V98M7/qorBkkeeUNBPstmwwi/7Bm7s=; b=FSmCFwODcg1yfSEhmmJnmei4HQi4R8EZbzg6b9g5CIjMqOgx8O/qPdatQtKqW7xHhF OzE6gU/96MFcPrEAsw7cl7Wcat4eXmKIOw4MBMHED9rjE6zNGkAJVYX1ncbVyL2eSo8i 34aT4ygHAHdWuGHpBMxqc09IRovH3Titwx3ZE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=X/RX4F6PpBmpr4N6JsamQJfodjT+cFfHLKiKmDoksJl9L7jatxR9uaRBqKxFNY+JcT ZuDRkMZonj7v1K5YtKsx86L3b8mpHtCHrkxR8cmjQNKACKXvVesigjzFNOQMmZGBLiae DmWEc4BkzUBo0Ciq6eWDAw1nMj0+ojjaBXeN0=
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
>
>
>