This is the mail archive of the
mailing list for the GCC project.
- From: Rajkishore Barik <rajbarik at in dot ibm dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 7 Jul 2006 09:46:34 +0530
- Subject: replace_rtx
I am doing some modification to gcc's RTL code. I am trying to split a
pseudo (old) into two pseudos (old and new)
and rewriting some part of the code to replace the "old" pseudo by the
"new" pseudo. I am using the "replace_rtx" function
to perform the replacement. However I get "fatal error: internal
consistency failure" when I try to execute any program.
The specific call that I make is:
replace_rtx (insn, old_rtx, new_rtx);
I notice that "replace_rtx" actually performs the replacement when I try
to print the "insn" before and after the call. However, later on I get the
"internal consistency failure".
I would like to know what are the cases in which this error is thrown. Is
there any document which I can refer to?