This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Check for nonlocal goto in check_maybe_invariant
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 27 Apr 2004 22:46:27 +0200
- Subject: Check for nonlocal goto in check_maybe_invariant
Hello,
this code is in loop.c:loop_invariant_p:
case REG:
if ((x == frame_pointer_rtx || x == hard_frame_pointer_rtx
|| x == arg_pointer_rtx || x == pic_offset_table_rtx)
&& ! current_function_has_nonlocal_goto)
return 1;
Why do we check current_function_has_nonlocal_goto here?
Zdenek