On Fri, Aug 27, 2010 at 6:44 AM, Corey Kasten
<co...@materialintelligencellc.com> wrote:
> Hello all,
>
> I have two computers with two different versions of GCC. Otherwise the
> two systems have identical hardware. I have a processor and memory
> intensive benchmark program which I compile on both systems and I cannot
> understand why the system with older GCC version compiles faster code.
>
> System A has GCC version "4.1.2 20070925 (Red Hat 4.1.2-33)"
> System B has GCC version "4.3.0 20080428 (Red Hat 4.3.0-8)"
>
> I find that the executable compiled on system A runs faster (on both
> systems) than the executable compiled on system B (on both system), by a
> factor about approximately 4 times. I have attempted to play with the
> GCC optimizer flags and have not been able to get System B (with the
> later GCC version) to compile code with any better performance. Could
> someone please help figure this out?
>

Can you try gcc 4.5.1?

-- 
H.J.

Reply via email to