re PR middle-end/64353 (ICE: in execute_todo, at passes.c:1986)

gcc/

	PR middle-end/64353
	* tree-cfg.c (pass_data_fixup_cfg): Update SSA for
	virtuals on start.

gcc/testsuite/

	PR middle-end/64353
	* g++.dg/pr64353.C: New.

From-SVN: r219748
This commit is contained in:
Ilya Enkovich 2015-01-16 15:38:21 +00:00 committed by Ilya Enkovich
parent bb93f35da1
commit ed22611ae5
4 changed files with 27 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
PR middle-end/64353
* tree-cfg.c (pass_data_fixup_cfg): Update SSA for
virtuals on start.
2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
* config/arm/cortex-a57.md: Remove duplicate of file accidentally

View file

@ -1,3 +1,8 @@
2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
PR middle-end/64353
* g++.dg/pr64353.C: New.
2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/64263

View file

@ -0,0 +1,15 @@
/* { dg-do compile } */
/* { dg-options "-O2" } */
class C
{
int y, x;
void i ();
bool __attribute__((const)) xx () { return x; }
};
void C::i ()
{
if (xx ())
x = 1;
}

View file

@ -8754,7 +8754,7 @@ const pass_data pass_data_fixup_cfg =
PROP_cfg, /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_update_ssa_only_virtuals, /* todo_flags_start */
0, /* todo_flags_finish */
};