diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-19 06:16:37 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-19 06:16:37 +0000 |
commit | 88ed727329f30703cb09f502919f1fd3e2746513 (patch) | |
tree | 1f21938e4934a3bc5482dfaaf1efe50646272328 /gcc/varasm.c | |
parent | a1f25bea622f5dc7676b82bfe78c424ca910bb5d (diff) | |
download | gcc-88ed727329f30703cb09f502919f1fd3e2746513.tar.gz |
2004-08-18 Andrew Pinski <apinski@apple.com>
* 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
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index e363bf134b9..ba25f6587f9 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -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; |