]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/gimple-ssa-isolate-paths.c
Protect some checks of DECL_FUNCTION_CODE
[thirdparty/gcc.git] / gcc / gimple-ssa-isolate-paths.c
index 72e6c779c34e0ef00730eb1fa91b53e99d98d623..aca5304b10aad66a27cb5500666ea892c500e1b6 100644 (file)
@@ -502,7 +502,7 @@ is_addr_local (gimple *return_stmt, tree exp, locmap_t *plocmap,
        }
 
       if (code == GIMPLE_CALL
-         && gimple_call_builtin_p (def_stmt))
+         && gimple_call_builtin_p (def_stmt, BUILT_IN_NORMAL))
        {
          /* Handle alloca and friends that return pointers to automatic
             storage.  */