This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/29256] [4.2/4.3 regression] loop performance regression
- From: "rakdver at kam dot mff dot cuni dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2008 04:44:17 -0000
- Subject: [Bug middle-end/29256] [4.2/4.3 regression] loop performance regression
- References: <bug-29256-12262@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from rakdver at kam dot mff dot cuni dot cz 2008-01-11 04:44 -------
Subject: Re: [4.2/4.3 regression] loop performance regression
> Is the testcase gcc.dg/tree-ssa/loop-19.c supposed to work with -fpic/-fPIC?
not necessarily; with -fpic, both memory accesses are fully
strength-reduced, which seems to be the correct thing to do; however,
> I'm getting failures on mainline and 4.2 with x86_64, and only on 4.2 with
> i686. Mainline i686 seems to work though.
the difference in the costs of the two variants is so small that you
will basically get one of them at random. This test is not intended to
be run with -fpic.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29256