This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: abysmal code generated by gcc-3.2
- From: Denys Duchier <Denys dot Duchier at ps dot uni-sb dot de>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 21 Oct 2002 00:55:45 +0200
- Subject: Re: abysmal code generated by gcc-3.2
- References: <200210202209.g9KM9tU16011@banach.math.purdue.edu>
Brad Lucier <lucier@math.purdue.edu> writes:
> so perhaps you can try adding -fno-gcse.
unfortunately (as I indicated in my previous email) I tried it and it
turned out to produce worse results. The best I managed was by
selectively preventing inlining and declaring one variable
volatile. -fno.gcse is too coarse. What I really need is a way to
prevent the compiler from trying so hard to keep these useless values
in registers (er.. the values are not useless, but the "keeping them
in registers" is).
Cheers,
--
Dr. Denys Duchier Denys.Duchier@ps.uni-sb.de
Forschungsbereich Programmiersysteme (Programming Systems Lab)
Universitaet des Saarlandes, Geb. 45 http://www.ps.uni-sb.de/~duchier
Postfach 15 11 50 Phone: +49 681 302 5618
66041 Saarbruecken, Germany Fax: +49 681 302 5615