summaryrefslogtreecommitdiff
path: root/gcc/config/avr/avr-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/avr/avr-log.c')
-rw-r--r--gcc/config/avr/avr-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/avr/avr-log.c b/gcc/config/avr/avr-log.c
index 8e27cec6dc3..ad51edca7a2 100644
--- a/gcc/config/avr/avr-log.c
+++ b/gcc/config/avr/avr-log.c
@@ -209,7 +209,7 @@ avr_log_vadump (FILE *file, const char *fmt, va_list ap)
case 'L':
{
- rtx insn = va_arg (ap, rtx);
+ rtx_insn *insn = safe_as_a <rtx_insn *> (va_arg (ap, rtx));
while (insn)
{