aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2004-09-09 10:36:11 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2004-09-09 10:36:11 +0000
commitd73d459345e5d0c1c0048ebb1a8eb5158338697b (patch)
treecc911a61b2cec85c19cd349f99971e116c07b214 /gcc/tree-nested.c
parentc6614d3ea35d0a18553caf243dad0a21b73a02a8 (diff)
downloadgcc-d73d459345e5d0c1c0048ebb1a8eb5158338697b.zip
gcc-d73d459345e5d0c1c0048ebb1a8eb5158338697b.tar.gz
gcc-d73d459345e5d0c1c0048ebb1a8eb5158338697b.tar.bz2
* tree-nested.c (create_tmp_var_for): Correct missinverted assert.
From-SVN: r87228
Diffstat (limited to 'gcc/tree-nested.c')
-rw-r--r--gcc/tree-nested.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c
index 3b7e3c5..9f4a57d 100644
--- a/gcc/tree-nested.c
+++ b/gcc/tree-nested.c
@@ -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);