]> gcc.gnu.org Git - gcc.git/commitdiff
* varasm.c (decode_reg_name): Skip empty aqdditional register names.
authorJ"orn Rennecke <joern.rennecke@st.com>
Wed, 17 Aug 2005 19:25:12 +0000 (19:25 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Wed, 17 Aug 2005 19:25:12 +0000 (20:25 +0100)
From-SVN: r103222

gcc/ChangeLog
gcc/varasm.c

index 3acb28946da967f5c4227c0573b65322048fcd51..25c6dfd25b980a26751f136d64c3a3aec3ab055b 100644 (file)
@@ -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,
index 6c5a5333024566f0de84d495e03b574211aedf3f..a3ef4fda272112f485dbdb84ea86d7adc0c97fdf 100644 (file)
@@ -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 */
This page took 0.076568 seconds and 5 git commands to generate.