Hi,
Actually, just saw your post, so wanted to say that it is possible with 
the new GCC-ICI framework. You can find more info here:
http://gcc-ici.sourceforge.net
There is no checking for pass dependencies and we are working on it now ...
Hope it is still of any help ;),
Grigori

========================================
Grigori Fursin, PhD
Research Scientist, INRIA Futurs, France
http://fursin.net/research
 

-----Original Message-----
From: gcc-owner at gcc dot gnu dot org [mailto:gcc-owner at gcc dot gnu dot 
org] On Behalf Of Rohit
Arul Raj
Sent: Thursday, July 26, 2007 10:30 AM
To: gcc
Subject: Enabling gcc optimization pass

Hi all,

I have 3 functions- fun1, fun2, fun3 in the same source file and i want to 
enable one or any of the
gcc optimization pass to code in fun2 only,

1. Is it possible to implement this using function attributes or #pragms's?

2. What will be its side-effects?

Regards,
Rohit


Reply via email to