From d73d459345e5d0c1c0048ebb1a8eb5158338697b Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 9 Sep 2004 10:36:11 +0000 Subject: [PATCH] * tree-nested.c (create_tmp_var_for): Correct missinverted assert. From-SVN: r87228 --- gcc/ChangeLog | 2 ++ gcc/tree-nested.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 64fca50b81c..ff749a6fccb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2004-09-09 Nathan Sidwell + * 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. 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); -- 2.30.2