OSDN Git Service

(calls_alloca): Don't look within DECL_INITIAL if it's 0.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Oct 1992 04:35:54 +0000 (04:35 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Oct 1992 04:35:54 +0000 (04:35 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@2402 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/calls.c

index 5e4d746..4d6c848 100644 (file)
@@ -146,7 +146,7 @@ calls_alloca (exp)
        register tree local;
 
        for (local = BLOCK_VARS (exp); local; local = TREE_CHAIN (local))
-         if (calls_alloca (DECL_INITIAL (local)))
+         if (DECL_INITIAL (local) != 0 && calls_alloca (DECL_INITIAL (local)))
            return 1;
       }
       {