diff options
author | prathamesh3492 <prathamesh3492@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-07 11:19:27 +0000 |
---|---|---|
committer | prathamesh3492 <prathamesh3492@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-07 11:19:27 +0000 |
commit | 789581b6b8165d86d94d9a2dc45a462725c99de5 (patch) | |
tree | e2ea6be4c5f952601c6a6540463d60136b259326 | |
parent | 2331e65cf474fa56b6a34d70ef66c6bdaeba0a0d (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225508 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/function.c | 1 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/dx-test.c | 5 |
4 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2cff379df60..d955bc0eae6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-07-07 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> + + * function.c (free_after_compilation): Clear PROP_cfg in f->curr_properties. + 2015-07-07 Richard Biener <rguenther@suse.de> * tree-ssa-propagate.c (add_ssa_edge): Dump what edge list we diff --git a/gcc/function.c b/gcc/function.c index 8ee79d30a14..ea0d6e87b62 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; } diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 631872176ff..a14fbd1a291 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-07-07 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> + + * gcc.dg/dx-test.c: New test-case. + 2015-07-07 Andre Vehreschild <vehre@gmx.de> PR fortran/66578 diff --git a/gcc/testsuite/gcc.dg/dx-test.c b/gcc/testsuite/gcc.dg/dx-test.c new file mode 100644 index 00000000000..579ccfb9798 --- /dev/null +++ b/gcc/testsuite/gcc.dg/dx-test.c @@ -0,0 +1,5 @@ +/* { dg-do compile } */ +/* { dg-options "-dx" } */ + +void f(void) +{} |