Re: [Open64-devel] How can I stop open64 delete unused code

2011-06-09 Thread Feng Zhou
mov$0x6,%ecx* >> 804845f: 89 4d f4 mov%ecx,0xfff4(%ebp) >> >> So I have to check if I can do something in the whirl2c phase ?! >> >> Thanks! >> >> Eric >> >> - Original Message - >> *From:* eirc.lew >> *To

Re: [Open64-devel] How can I stop open64 delete unused code

2011-06-08 Thread Jian-Xin Lai
ing in the whirl2c phase ?! > > Thanks! > > Eric > > - Original Message - > *From:* eirc.lew > *To:* Chandrasekhar Murthy ; Shin-Ming > Liu > *Cc:* open64-devel@lists.sourceforge.net > *Sent:* Thursday, June 09, 2011 10:52 AM > *Subject:* Re: [Open64-devel]

Re: [Open64-devel] How can I stop open64 delete unused code

2011-06-08 Thread eirc.lew
he whirl2c phase ?! Thanks! Eric - Original Message - From: eirc.lew To: Chandrasekhar Murthy ; Shin-Ming Liu Cc: open64-devel@lists.sourceforge.net Sent: Thursday, June 09, 2011 10:52 AM Subject: Re: [Open64-devel] How can I stop open64 delete unused code Hi, compili

Re: [Open64-devel] How can I stop open64 delete unused code

2011-06-08 Thread eirc.lew
- Original Message - From: Chandrasekhar Murthy To: Shin-Ming Liu ; eirc.lew Cc: open64-devel@lists.sourceforge.net Sent: Thursday, June 09, 2011 4:34 AM Subject: RE: [Open64-devel] How can I stop open64 delete unused code In the MIPSpro compilers they would be removed in the

Re: [Open64-devel] How can I stop open64 delete unused code

2011-06-08 Thread Chandrasekhar Murthy
: Re: [Open64-devel] How can I stop open64 delete unused code Do you mean the compiler does not reserve space on the stack? The place to look at is the data layout component in CG. Should be simple to keep them with simple change. Shin On Wed, Jun 8, 2011 at 6:11 AM, eirc.lew mailto:eirc

Re: [Open64-devel] How can I stop open64 delete unused code

2011-06-08 Thread Shin-Ming Liu
Do you mean the compiler does not reserve space on the stack? The place to look at is the data layout component in CG. Should be simple to keep them with simple change. Shin On Wed, Jun 8, 2011 at 6:11 AM, eirc.lew wrote: > Hi, all > > a example(main.c) as follow: > > int main() > { > in

Re: [Open64-devel] How can I stop open64 delete unused code

2011-06-08 Thread C. Bergström
On 06/ 8/11 08:11 PM, eirc.lew wrote: > Hi, all > a example(main.c) as follow: > int main() > { > int sum; > int i, j, k; > for( i = 0; i < 100; i++ ) > sum = i + 9; > return 0; > } > when I compile it: opencc -CLIST:: main.c > In the file main.w2c.c, there are no j and k, but I need them.Does >

Re: [Open64-devel] How can I stop open64 delete unused code

2011-06-08 Thread Sun Chan
May I know why you want to keep j, k? I believe the option is somewhere in the code generator Sun On Wed, Jun 8, 2011 at 6:11 AM, eirc.lew wrote: > Hi, all > >   a example(main.c) as follow: > > int main() > { >   int sum; >   int i, j, k; >   for( i = 0; i < 100; i++ ) >     sum = i + 9; > >   r