summaryrefslogtreecommitdiff
path: root/gcc/genattrtab.c
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-25 07:35:17 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-25 07:35:17 +0000
commitdf2d1f4aaf2ce2b18bb8e101d9709b35030ff274 (patch)
treefaef5fe9e1be60d2337a2de3a4abc836fd90233d /gcc/genattrtab.c
parent78c24c92ebee25e1a7cd769c73a6b94f00abc21f (diff)
downloadgcc-df2d1f4aaf2ce2b18bb8e101d9709b35030ff274.tar.gz
* genattrtab.c (gen_bypass): Allow bypasses to contain whitespace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110206 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattrtab.c')
-rw-r--r--gcc/genattrtab.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index 755a9a41f02..6dfe0a842e6 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -4408,7 +4408,10 @@ gen_bypass (rtx def)
if (*p == ',')
{
gen_bypass_1 (base, p - base);
- base = p + 1;
+ do
+ p++;
+ while (ISSPACE (*p));
+ base = p;
}
gen_bypass_1 (base, p - base);
}