* expr.c (convert_modes): Check for legal hard register.
From-SVN: r63813
This commit is contained in:
parent
000d38ea95
commit
006c9f4a1a
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2003-03-04 Steve Ellcey <sje@cup.hp.com>
|
||||
|
||||
* expr.c (convert_modes): Check for legal hard register.
|
||||
|
||||
2003-03-04 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* doc/sourcebuild.texi (Front End Directory): Document tags.
|
||||
|
|
|
@ -1406,6 +1406,8 @@ convert_modes (mode, oldmode, x, unsignedp)
|
|||
&& ((GET_CODE (x) == MEM && ! MEM_VOLATILE_P (x)
|
||||
&& direct_load[(int) mode])
|
||||
|| (GET_CODE (x) == REG
|
||||
&& (! HARD_REGISTER_P (x)
|
||||
|| HARD_REGNO_MODE_OK (REGNO (x), mode))
|
||||
&& TRULY_NOOP_TRUNCATION (GET_MODE_BITSIZE (mode),
|
||||
GET_MODE_BITSIZE (GET_MODE (x)))))))))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue