This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: abysmal code generated by gcc-3.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]