Backported from mainline

gcc/

2014-12-03  Renlin Li  <Renlin.Li@arm.com>

	PR middle-end/63762
	PR target/63661
	* ira.c (i386ra): Update preferred class.

gcc/testsuite/

2014-12-03  Renlin Li  <Renlin.Li@arm.com>
	    H.J. Lu <hongjiu.lu@intel.com>

	PR middle-end/63762
	PR target/63661
	* gcc.dg/pr63762.c: New test.
	* gcc.target/i386/pr63661.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch@218306 138bc75d-0d04-0410-961f-82ee72b054a4