aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2007-01-30 10:17:09 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-01-30 10:17:09 +0000
commit91851351be38a6b83bff486fd25cf364910af35a (patch)
treea389ee75adb886724e243fcd58819409d95d2a21 /gcc/passes.c
parentbcf52d7b57feb18b8839c3b0706c367c6018a876 (diff)
downloadgcc-91851351be38a6b83bff486fd25cf364910af35a.zip
gcc-91851351be38a6b83bff486fd25cf364910af35a.tar.gz
gcc-91851351be38a6b83bff486fd25cf364910af35a.tar.bz2
re PR c/30313 (sizeof of expression including bit-field)
2007-01-30 Richard Guenther <rguenther@suse.de> PR middle-end/30313 * passes.c (execute_one_pass): Reset in_gimple_form to not confuse non-unit-at-a-time mode. * gcc.dg/torture/pr30313.c: New testcase. From-SVN: r121334
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index f1a702e..a9bbba6 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -1054,6 +1054,9 @@ execute_one_pass (struct tree_opt_pass *pass)
dump_file = NULL;
}
+ /* Reset in_gimple_form to not break non-unit-at-a-time mode. */
+ in_gimple_form = false;
+
return true;
}