Re: Issue with gimple_regimplify_operands, called from plug-in (GCC 4.5)

2011-01-13 Thread Eugen Wagner
Hi Richard, 2011/1/13 Richard Guenther : > The simplest way to modify statements is to generate new > statements which compute the changed value into a register > and substiute that result into the operand you want to change. > > Richard. thanks for answering so fast, i will try to go this way. R

Re: Issue with gimple_regimplify_operands, called from plug-in (GCC 4.5)

2011-01-13 Thread Richard Guenther
On Thu, Jan 13, 2011 at 4:01 PM, Eugen Wagner wrote: > Hi, > I have a problem with gimple_regimplify_operands() from gimplify.c , > which i execute from my custom plug-in-code. It could indicate a bug > in this procedure. This function isn't generic enough to handle full re-gimplification. It was

Issue with gimple_regimplify_operands, called from plug-in (GCC 4.5)

2011-01-13 Thread Eugen Wagner
Hi, I have a problem with gimple_regimplify_operands() from gimplify.c , which i execute from my custom plug-in-code. It could indicate a bug in this procedure. I'm developing a GCC-plug-in, which does some instrumentation of C-programs on GIMPLE-Level. Among others, I'm inserting logging function