public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* help on GIMPLE
@ 2004-11-22 13:13 Virender Kashyap
  2004-11-22 13:55 ` Daniel Berlin
  0 siblings, 1 reply; 2+ messages in thread
From: Virender Kashyap @ 2004-11-22 13:13 UTC (permalink / raw)
  To: GCC HELP

Hi,
    I am working on a particuar optimizaiton and need to understand GIMPLE 
for that. I would like to know the exact use of BIND_EXPR_VARS that is 
used in GIMPLE.
normally if i declare something in block as :
  {
   int a , b ,c ;
   ....
  }
then in the raw dump file it shows only 'a' being included in 
BIND_EXPR_VARS (or in some
cases only the temporary variable).

Could someone please explain this.

Thanks and Regards.

Virender


-- 
Regards.
Virender
----------------------------------------------
Virender Kashyap
Senior Undergraduate Student
Roll No 00d05011
ADD:
Room 182 ,Hostel 2
IIT Bombay ,Powaii
Mumbai -400076
Homepage: www.cse.iitb.ac.in/~virenk
Email : viren16@rediffmail.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: help on GIMPLE
  2004-11-22 13:13 help on GIMPLE Virender Kashyap
@ 2004-11-22 13:55 ` Daniel Berlin
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Berlin @ 2004-11-22 13:55 UTC (permalink / raw)
  To: Virender Kashyap; +Cc: GCC HELP



On Mon, 22 Nov 2004, Virender Kashyap wrote:

> Hi,
>   I am working on a particuar optimizaiton and need to understand GIMPLE for 
> that. I would like to know the exact use of BIND_EXPR_VARS that is used in 
> GIMPLE.> normally if i declare something in block as :
> {
>  int a , b ,c ;
>  ....
> }
> then in the raw dump file it shows only 'a' being included in BIND_EXPR_VARS 
> (or in some
> cases only the temporary variable).
>
Which raw dump file?
All of the -fdump-tree flags i tried show

int a;
int b;
int c;

Also, what is the optimization you are trying to perform?

If you are trying to get a list of local or reference variables, there is 
a different way to do this.

> Could someone please explain this.
>
> Thanks and Regards.
>
> Virender
>
>
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-22 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-22 13:13 help on GIMPLE Virender Kashyap
2004-11-22 13:55 ` Daniel Berlin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).