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
This commit is contained in:
Prathamesh Kulkarni 2015-07-07 11:19:27 +00:00 committed by Prathamesh Kulkarni
parent 3244f4cd04
commit b11f11a197
4 changed files with 14 additions and 0 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -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

View File

@ -0,0 +1,5 @@
/* { dg-do compile } */
/* { dg-options "-dx" } */
void f(void)
{}