This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On 3/27/07, Antoine Eiche <antoine.eiche@ulp.u-strasbg.fr> wrote:Hi,Dear all,
I want to insert functions calls during a new pass.
Which version of GCC? The problem is toCan you send a backtrace?create parameters. At this time, I successfully create a function call with two constante as parameter and insert it (I can see that in the asm's code). But, I want to give the address of an array and a constante to this function. I think the problem is the creation of the node which contains the address of the array.
For example: I get from the code (in tree "rhs"): a[i] I want build a node like that: &a[i] and build a function call like that: foo(constante,&a[i])
This is the error message when a try to compile a program with my pass :
tab.c: In function 'main': tab.c:7: erreur interne du compilateur: dans lookup_subvars_for_var, à tree-flow-inline.h:1629
This means nothing has created the variable annotation for a.
(gdb) b tree-flow-inline.h:1629 No source file named tree-flow-inline.h. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (tree-flow-inline.h:1629) pending.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |