diff options
author | Andrew Pinski <pinskia@physics.uc.edu> | 2004-10-11 12:57:09 +0000 |
---|---|---|
committer | Andrew Pinski <pinskia@gcc.gnu.org> | 2004-10-11 05:57:09 -0700 |
commit | d775bc45ed5f595f432deebf542d772d27399018 (patch) | |
tree | bff8c5a95ee7fed0e8e927b733ab0eb4ac011d95 | |
parent | 6b34e55ebea4404cb779961ee0fb1df7c5d5d2ec (diff) | |
download | gcc-d775bc45ed5f595f432deebf542d772d27399018.zip gcc-d775bc45ed5f595f432deebf542d772d27399018.tar.gz gcc-d775bc45ed5f595f432deebf542d772d27399018.tar.bz2 |
gimplify.c (gimple_push_condition): Make sure that we don't have any saved condition cleanup if...
2004-10-11 Andrew Pinski <pinskia@physics.uc.edu>
* gimplify.c (gimple_push_condition): Make sure that we don't
have any saved condition cleanup if we were at the top level.
From-SVN: r88877
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gimplify.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bf1f125..5b3d9d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-11 Andrew Pinski <pinskia@physics.uc.edu> + + * gimplify.c (gimple_push_condition): Make sure that we don't + have any saved condition cleanup if we were at the top level. + 2004-10-11 Richard Sandiford <rsandifo@redhat.com> * config/frv/frv.md (*adddi3_internal): Change name to... diff --git a/gcc/gimplify.c b/gcc/gimplify.c index ca23361..51a123f 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -191,6 +191,10 @@ gimple_conditional_context (void) static void gimple_push_condition (void) { +#ifdef ENABLE_CHECKING + if (gimplify_ctxp->conditions == 0) + gcc_assert (!gimplify_ctxp->conditional_cleanups); +#endif ++(gimplify_ctxp->conditions); } |