« Previous | Next » 

Revision e5138db5

IDe5138db510efb61523be92c225d8c65eb985fff0

Added by Aurelien Jarno over 11 years ago

tcg: mark local temps as MEM in dead_temp()

In dead_temp, local temps should always be marked as back to memory,
even if they have not been allocated (i.e. they are discared before
cross a basic block).

It fixes the following assertion in target-xtensa:

qemu-system-xtensa: tcg/tcg.c:1665: temp_save: Assertion `s->temps[temp].val_type == 2 || s->temps[temp].fixed_reg' failed.
Aborted

Reported-by: Max Filippov <>
Tested-by: Max Filippov <>
Signed-off-by: Aurelien Jarno <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences