Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Alex Schuster <wonko@...>
Subject: Re: GCC-4.5.2 Has Serious Problems
Date: Fri, 01 Jul 2011 00:30:57 +0200
Frank Peters writes:

> After banging my head for a while over some strange results, I began
> to suspect GCC-4.5.2, the latest version in portage, was creating
> faulty code.
> 
> It seems to a correct suspicion.
[...]

> The problem can be fixed by compiling the program with "O1"
> optimization:

Or -O3.


> For anyone who wants to try to duplicate these results, please feel
> free to do so.
> 
> So I will have to conclude that GCC-4.5.2 has serious problems.
> This kind of erroneous behavior could appear anywhere.

Oh dear, that's scary. I can confirm this. With -O0, -O1 and -O3, all is
fine. -O2 gives the result you see. And with -Os, I get yet another
result (0/0, 4/4, 8/8).

This is an AMD Athlon(tm) Dual Core Processor 4850e, gcc has been
copmpiled with these use flags: fortran gtk mudflap multilib nls nptl openmp

Who will file the bug report now?

	Wonko


Replies:
Re: GCC-4.5.2 Has Serious Problems
-- Frank Peters
References:
GCC-4.5.2 Has Serious Problems
-- Frank Peters
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
GCC-4.5.2 Has Serious Problems
Next by thread:
Re: GCC-4.5.2 Has Serious Problems
Previous by date:
GCC-4.5.2 Has Serious Problems
Next by date:
Re: GCC-4.5.2 Has Serious Problems


Updated Jun 28, 2012

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.