summaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-09 10:36:11 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-09 10:36:11 +0000
commitc037f56ee51e4ccf48327869433e010f87dca6c6 (patch)
treecc911a61b2cec85c19cd349f99971e116c07b214 /gcc/tree-nested.c
parentbea9e2237b47eaf7e4a1bfe336b46e0b33f8ddda (diff)
downloadgcc-c037f56ee51e4ccf48327869433e010f87dca6c6.tar.gz
* tree-nested.c (create_tmp_var_for): Correct missinverted assert.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87228 138bc75d-0d04-0410-961f-82ee72b054a4
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 3b7e3c5d7ac..9f4a57d9921 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);