* varasm.c (decode_reg_name): Skip empty aqdditional register names.
From-SVN: r103222
This commit is contained in:
parent
e89b6c1c1e
commit
dd0ae678ee
@ -1,3 +1,7 @@
|
||||
2005-08-17 J"orn Rennecke <joern.rennecke@st.com>
|
||||
|
||||
* varasm.c (decode_reg_name): Skip empty aqdditional register names.
|
||||
|
||||
2005-08-16 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
* tree-ssa-loop-im.c (MAX_LSM_NAME_LENGTH, lsm_tmp_name,
|
||||
|
@ -844,7 +844,8 @@ decode_reg_name (const char *asmspec)
|
||||
= ADDITIONAL_REGISTER_NAMES;
|
||||
|
||||
for (i = 0; i < (int) ARRAY_SIZE (table); i++)
|
||||
if (! strcmp (asmspec, table[i].name))
|
||||
if (table[i].name[0]
|
||||
&& ! strcmp (asmspec, table[i].name))
|
||||
return table[i].number;
|
||||
}
|
||||
#endif /* ADDITIONAL_REGISTER_NAMES */
|
||||
|
Loading…
Reference in New Issue
Block a user