diff options
Diffstat (limited to 'gcc/dwarf2asm.c')
-rw-r--r-- | gcc/dwarf2asm.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/dwarf2asm.c b/gcc/dwarf2asm.c index 229ce00e8a6..281cb4674a5 100644 --- a/gcc/dwarf2asm.c +++ b/gcc/dwarf2asm.c @@ -54,7 +54,7 @@ static inline const char * unaligned_integer_asm_op (size) int size; { - const char *op; + const char *op = NULL; switch (size) { case 1: @@ -74,6 +74,10 @@ unaligned_integer_asm_op (size) default: abort (); } + + if (! op) + abort (); + return op; } #endif /* UNALIGNED_INT_ASM_OP */ |