public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Modifying GIMPLE during compilation process
@ 2012-01-05 16:48 davidflig
  0 siblings, 0 replies; only message in thread
From: davidflig @ 2012-01-05 16:48 UTC (permalink / raw)
  To: gcc-help


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-01-05 16:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-05 16:48 Modifying GIMPLE during compilation process davidflig

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).