Re: [PATCH] PR51471. Don't speculate frame-related insns during delayed branch scheduling.

2012-01-09 Thread Richard Sandiford
Tom de Vries tom_devr...@mentor.com writes: 2012-01-08 Tom de Vries t...@codesourcery.com Andrew Pinski apin...@cavium.com * reorg.c (fill_slots_from_thread): Don't speculate frame-related insns. OK, thanks. Richard

[PATCH] PR51471. Don't speculate frame-related insns during delayed branch scheduling.

2012-01-08 Thread Tom de Vries
Jeff, this patch fixes PR51471. It prevents frame-related insns from being speculated by delayed branch scheduling, which may cause inconsistencies in cfi state. For one of the examples from PR51471: 20040811-1.c, the scenario is as follows. Before delayed branch scheduling,