aboutsummaryrefslogtreecommitdiff
path: root/gcc/recog.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/recog.c')
-rw-r--r--gcc/recog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/recog.c b/gcc/recog.c
index 1737ae5..a23f991 100644
--- a/gcc/recog.c
+++ b/gcc/recog.c
@@ -3120,6 +3120,8 @@ peephole2_optimize (dump_file)
= gen_rtx_EXPR_LIST (REG_NOTE_KIND (note),
XEXP (note, 0),
REG_NOTES (new_insn));
+ default:
+ /* Discard all other reg notes. */
break;
}