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]

instrument function call failed


Dear sir,

I add a pass for the loop optimization. I try to add a function call
but failed due to ssa error.

In order to verify the error, I just add a simple function call such
as time() without any parameter in the first basic block.
I will get the error:

hello1.c: In function main
hello1.c:5: error: expected an SSA_NAME object
hello1.c:5: error: in statement
# HEAP.17 = VDEF <HEAP.17>
# SMT.19 = VDEF <SMT.19> { HEAP.17 SMT.19 }
time ();
hello1.c:5: confused by earlier errors, bailing out


Appreciate for your help


fern


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]