Commit f1732751 by Andrew Pinski Committed by Andrew Pinski

varasm.c (ecode_reg_name): Do nothing if the asmspec is empty.

2004-08-18  Andrew Pinski  <apinski@apple.com>

        * varasm.c (ecode_reg_name): Do nothing if the asmspec is empty.

From-SVN: r86237
parent 8c78a388
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.
......
......@@ -779,7 +779,7 @@ set_user_assembler_name (tree decl, const char *name)
int
decode_reg_name (const char *asmspec)
{
if (asmspec != 0)
if (asmspec != 0 && strlen (asmspec) != 0)
{
int i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment