PR rtl-optimization/52629
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Mar 2012 08:41:02 +0000 (08:41 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 26 Mar 2012 08:41:02 +0000 (08:41 +0000)
commitab3908c1dfc72dfede3e759059f8793a2dc25c1f
tree9348ec306232214e21510616872803e11b9f6a02
parentc1ec3f5e650a9e0c0dee2aa93aab3fc04170eca1
PR rtl-optimization/52629
* reload1.c (count_pseudo): Short-circuit common case.
(count_spilled_pseudo): Return early for pseudos without hard regs.
Assert that the pseudo has got a hard reg before manipulating it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185787 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/reload1.c