fix bug where compound_graph_pathe were consider null
authorMatthias Braun <matze@braunis.de>
Fri, 26 Feb 2010 13:29:27 +0000 (13:29 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 26 Feb 2010 13:29:27 +0000 (13:29 +0000)
[r27223]

ir/be/begnuas.c

index e3d78e5..28dd243 100644 (file)
@@ -335,6 +335,7 @@ static bool entity_is_null(const ir_entity *entity)
        } else if (entity_has_compound_ent_values(entity)) {
                /* I'm too lazy to implement this case as compound graph paths will be
                 * remove anyway in the future */
+               return false;
        }
        /* uninitialized, NULL is fine */
        return true;