diff options
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r-- | gcc/genemit.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c index 644fe3892fc..f4ad66f5566 100644 --- a/gcc/genemit.c +++ b/gcc/genemit.c @@ -558,12 +558,10 @@ gen_split (split) { register int i; int operands; - const char *name = "split"; + const char *const name = + ((GET_CODE (split) == DEFINE_PEEPHOLE2) ? "peephole2" : "split"); const char *unused; - if (GET_CODE (split) == DEFINE_PEEPHOLE2) - name = "peephole2"; - if (XVEC (split, 0) == 0) fatal ("define_%s (definition %d) lacks a pattern", name, insn_index_number); |