diff options
Diffstat (limited to 'gcc/genoutput.c')
-rw-r--r-- | gcc/genoutput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/genoutput.c b/gcc/genoutput.c index 25af437..8e911cc 100644 --- a/gcc/genoutput.c +++ b/gcc/genoutput.c @@ -841,7 +841,7 @@ validate_optab_operands (class data *d) return; /* Miscellaneous tests. */ - if (strncmp (d->name, "cstore", 6) == 0 + if (startswith (d->name, "cstore") && d->name[strlen (d->name) - 1] == '4' && d->operand[0].mode == VOIDmode) { |