* varasm.c (ecode_reg_name): Do nothing if the asmspec is empty.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86237
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-08-18 Andrew Pinski <apinski@apple.com>
+
+ * varasm.c (ecode_reg_name): Do nothing if the asmspec is empty.
+
2004-08-18 Mark Mitchell <mark@codesourcery.com>
* config/arm/bpabi.c (__aeabi_ul2d): Give it default visibility.
int
decode_reg_name (const char *asmspec)
{
- if (asmspec != 0)
+ if (asmspec != 0 && strlen (asmspec) != 0)
{
int i;