Re: [RFA] patch to fix PR56903

2013-04-12 Thread Vladimir Makarov
On 13-04-11 12:51 PM, Uros Bizjak wrote: On Wed, Apr 10, 2013 at 10:15 PM, Vladimir Makarov wrote: The following patch fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56903 In this test case reload pass gets correct value HARD_REGNO_MODE_OK because it can not create pseudos (can_create_pseud

Re: [RFA] patch to fix PR56903

2013-04-11 Thread Uros Bizjak
On Wed, Apr 10, 2013 at 10:15 PM, Vladimir Makarov wrote: > The following patch fixes > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56903 > > In this test case reload pass gets correct value HARD_REGNO_MODE_OK because > it can not create pseudos (can_create_pseudo) and this was actually used > tha

[RFA] patch to fix PR56903

2013-04-10 Thread Vladimir Makarov
The following patch fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56903 In this test case reload pass gets correct value HARD_REGNO_MODE_OK because it can not create pseudos (can_create_pseudo) and this was actually used that we are in reload (or after reload). LRA can create pseudos ther