This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fno-tree-cselim not working?
- From: Andi Kleen <andi at firstfloor dot org>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: Andi Kleen <andi at firstfloor dot org>, gcc at gcc dot gnu dot org
- Date: Thu, 25 Oct 2007 19:15:30 +0200
- Subject: Re: -fno-tree-cselim not working?
- References: <87myu7zf9a.fsf@willow.rfc1149.net.suse.lists.egcs> <de8d50360710250310r6f600a30i7a9cdc1a1220dd2e@mail.gmail.com.suse.lists.egcs> <2007-10-25-12-13-49+trackit+sam@rfc1149.net.suse.lists.egcs> <de8d50360710250319j47ee8938u242291aa5e95a955@mail.gmail.com.suse.lists.egcs> <m3k5pbqlxc.fsf@localhost.localdomain.suse.lists.egcs> <p733avzqjce.fsf@bingen.suse.de> <m3sl3zp1ff.fsf@localhost.localdomain>
> I agree that that is most likely an optimization bug that this
> conversion is being for a store to a variable which is not on the
> stack.
Even on the stack it might not be good -- e.g. if someone puts an 10MB
array on the stack and does something with it you don't want such random
stores inside it because they could be potentially an additional cache miss.
-Andi