Let is_non_null_Confirm() work as advertised for SymConsts.
authorChristoph Mallon <christoph.mallon@gmx.de>
Thu, 2 Oct 2008 17:32:13 +0000 (17:32 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 2 Oct 2008 17:32:13 +0000 (17:32 +0000)
[r22417]

ir/ana/irconsconfirm.c

index 02ca363..57b8f3c 100644 (file)
@@ -424,7 +424,7 @@ static int is_non_null_Confirm(const ir_node *ptr) {
         * constructed Confirms.
         */
        if (is_SymConst_addr_ent(ptr))
-               return 0;
+               return 1;
        for (;;) {
                if (! is_Confirm(ptr))
                        return 0;