Hi,
Following is my command to compile my program and eliminate the
dead code.
../bin/sgicc -Yf,../lib/gcc-lib/ia64-sgi-linux/sgicc-1.0
-Yb,../lib/gcc-lib/ia64-sgi-linux/sgicc-1.0 -YL,../lib
-YL,../lib/gcc-lib/ia64-sgi-linux/sgicc-1.0
-Yi,../lib/gcc-lib/ia64-sgi-linux/sgicc-1.0
-INLINE:must=callit:list:dfe=ON -S test.c
And the attatched file is the simple program.
Thanks
Peng
On Sun, 11 Mar 2001, Shin-Ming Liu wrote:
> At which optimization level did you try the flag
> INLINE:dfe=ON?
>
>
> --- Peng Zhao <pengzhao@xxxxxxxxxxxxxx> wrote:
> > Hi,
> > >
> > > : -Ofast is not supported yet. It uses ipa, which
> > has not been released yet
> > > : (but will be soon). Use -O3 for now.
> >
> > In the source code of Pro64, there is a directory
> > named ipa. Isn't it the
> > ipa you have meant?
> >
> > What is the difference of the light-weight inliner,
> > standalone inliner and
> > IPA? Although I have read several times of the
> > mannual of the IPA(5), I
> > am still confused on this.
> >
> > When I use "-INLINE:dfe=ON", it seems that it
> > doesn't work: the dead
> > function is not eliminated while it would never be
> > called after inlining..
> > I have a very
> > simple program in which the main call the only
> > function. The function is
> > inlined, but the function is still there in the
> > assembly program (.s).
> >
> >
> > Peng
> > --
> > Peng Zhao pengzhao@xxxxxxxxxxxxxx
> > http://www.cs.ualberta.ca/~pengzhao
> > TEL (Lab): (780)492-3725 Lab:
> > CSC251
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/
>
Peng
--
Peng Zhao pengzhao@xxxxxxxxxxxxxx
http://www.cs.ualberta.ca/~pengzhao
TEL (Lab): (780)492-3725 Lab: CSC251
test.c
Description: Text document
|