* tree-nested.c (create_tmp_var_for): Correct missinverted assert.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 9 Sep 2004 10:36:11 +0000 (10:36 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 9 Sep 2004 10:36:11 +0000 (10:36 +0000)
From-SVN: r87228

gcc/ChangeLog
gcc/tree-nested.c

index 64fca50b81c350b4e918f8d84a76fe3fb359075c..ff749a6fccbadd4755faf1385e4ecb2572e32df9 100644 (file)
@@ -1,5 +1,7 @@
 2004-09-09  Nathan Sidwell  <nathan@codesourcery.com>
 
+       * tree-nested.c (create_tmp_var_for): Correct missinverted assert.
+
        * tree-outof-ssa.c (free_temp_expr_table): Add missed assert.
        * tree-ssa-ccp.c (set_lattice_value): Correct missapplied de
        Morgan's theorem in last checkin.
index 3b7e3c5d7ac736b5e83d3add03058fe3de58147d..9f4a57d99212c5070dfd82e5ca58ee30e52f9497 100644 (file)
@@ -135,7 +135,7 @@ create_tmp_var_for (struct nesting_info *info, tree type, const char *prefix)
   /* If the type is of variable size or a type which must be created by the
      frontend, something is wrong.  Note that we explicitly allow
      incomplete types here, since we create them ourselves here.  */
-  gcc_assert (TREE_ADDRESSABLE (type));
+  gcc_assert (!TREE_ADDRESSABLE (type));
   gcc_assert (!TYPE_SIZE_UNIT (type)
              || TREE_CODE (TYPE_SIZE_UNIT (type)) == INTEGER_CST);