Modifying GIMPLE during compilation process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there a way to modify the GIMPLE mid compilation, when i say modify i mean
something as simple as changing a "+" for a "-". If possible i would this
change to be trackable i.e. line number and change made. 

I am using a plugin which interupts the compiler in accordance to the
following pass manager settings:

GIMPLE_PASS, 
"*extract_gimple_plugin",
NULL,
execute_plugin,
NULL,	
NULL,
0,	
0,	
PROP_cfg | PROP_gimple_any,
0,	
0,	
0, 
0,	

I am using GCC 4.6.1.

Please post if you additional details are required.

I couldnt find any function similar to extract_gimple which exists in the
pretty-print header, that modify instead of extracting.

Thanks
-- 
View this message in context: http://old.nabble.com/Modifying-GIMPLE-during-compilation-process-tp33087344p33087344.html
Sent from the gcc - Help mailing list archive at Nabble.com.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux