aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2015-07-07 11:19:27 +0000
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>2015-07-07 11:19:27 +0000
commitb11f11a197219c78e58eb7dcf3b6e95b86327f0b (patch)
treee2ea6be4c5f952601c6a6540463d60136b259326 /gcc/function.c
parent3244f4cd0413e0fc8a0e235f9bac22c030f8323d (diff)
downloadgcc-b11f11a197219c78e58eb7dcf3b6e95b86327f0b.zip
gcc-b11f11a197219c78e58eb7dcf3b6e95b86327f0b.tar.gz
gcc-b11f11a197219c78e58eb7dcf3b6e95b86327f0b.tar.bz2
function.c (free_after_compilation): Clear PROP_cfg in f->curr_properties.
2015-07-07 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> * function.c (free_after_compilation): Clear PROP_cfg in f->curr_properties. testsuite/ * gcc.dg/dx-test.c: New test-case. From-SVN: r225508
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 8ee79d3..ea0d6e8 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -216,6 +216,7 @@ free_after_compilation (struct function *f)
f->eh = NULL;
f->machine = NULL;
f->cfg = NULL;
+ f->curr_properties &= ~PROP_cfg;
regno_reg_rtx = NULL;
}