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

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

Question about ssa-form in gcc

2010-12-17 Thread Eugen Wagner
Hi, noticed, that after converting into ssa-form, there are still variables, which are not wrapped into SSA_NAME. Assigment to scalar variable: int a; a = 100; The variable a is not wrapped into SSA_NAME a_1. b = foo(); is converted into b.0_3 = foo (); # .MEM_25 = VDEF <.MEM_24> b = b.0_3;

question about alias-analysis in gcc 4.5

2010-12-07 Thread Eugen Wagner
Hi, Are any kinds of flow-dependent points-to analysis computed on gimple in ssa form? in which pass? regards, Eugen