]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/xtensa/xtensa.c
Simplify setjmp and non-local goto implementation (PR84521)
[thirdparty/gcc.git] / gcc / config / xtensa / xtensa.c
index ee5612441e25d7a48502234ab2188e3abfd2315f..2b97fa2e270255de0892a1c58ed56e1df2cb467d 100644 (file)
@@ -2739,7 +2739,7 @@ xtensa_frame_pointer_required (void)
      This seems wrong but maybe it's necessary for other architectures.
      This function is derived from the i386 code.  */
 
-  if (cfun->machine->accesses_prev_frame)
+  if (cfun->machine->accesses_prev_frame || cfun->has_nonlocal_label)
     return true;
 
   return false;