Promote the function argument before checking non-legitimate constant.
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 5 Jul 2011 15:47:40 +0000 (15:47 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 5 Jul 2011 15:47:40 +0000 (08:47 -0700)
commita7adbbcbc3ad385e2b54716ce410c79a42ac5bce
tree6b97e30e7822188bb3003d4aef4bd4008684cf75
parentcec11ec4142e5d300aa36cbee1b54adefdee7711
Promote the function argument before checking non-legitimate constant.

2011-07-05  H.J. Lu  <hongjiu.lu@intel.com>

PR middle-end/47715
* calls.c (precompute_register_parameters): Promote the function
argument before checking non-legitimate constant.

From-SVN: r175864
gcc/ChangeLog
gcc/calls.c