This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
instrument function call failed
- From: "Fern Moon" <fernmoon at gmail dot com>
- To: gcc at gnu dot org
- Date: Sun, 6 Jul 2008 12:46:00 -0400
- Subject: 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