PR24421, Wrong brackets in opcodes/arm-dis.c

Message ID 20190407131111.GL8657@bubble.grove.modra.org
State New
Headers show
Series
  • PR24421, Wrong brackets in opcodes/arm-dis.c
Related show

Commit Message

Alan Modra April 7, 2019, 1:11 p.m.
PR 24421
	* arm-dis.c (print_insn_coprocessor): Correct bracket placement.
	(print_insn_neon, print_insn_arm): Likewise.

(-w diff shown, the actual diff does a lot of indentation.)


-- 
Alan Modra
Australia Development Lab, IBM

Patch

diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index d47ef32b97..34acea240e 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -3836,6 +3836,7 @@  print_insn_coprocessor (bfd_vma pc,
 		      default:
 			abort ();
 		      }
+		  }
 		  break;
 
 		case 'y':
@@ -4021,7 +4022,6 @@  print_insn_coprocessor (bfd_vma pc,
 		  abort ();
 		}
 	    }
-	    }
 	  else
 	    func (stream, "%c", *c);
 	}
@@ -4584,13 +4584,13 @@  print_insn_neon (struct disassemble_info *info, long given, bfd_boolean thumb)
 			  default:
 			    abort ();
 			  }
+		      }
 		      break;
 
 		    default:
 		      abort ();
 		    }
 		}
-		}
 	      else
 		func (stream, "%c", *c);
 	    }
@@ -5123,6 +5123,7 @@  print_insn_arm (bfd_vma pc, struct disassemble_info *info, long given)
 			  default:
 			    abort ();
 			  }
+		      }
 		      break;
 
 		    case 'e':
@@ -5183,7 +5184,6 @@  print_insn_arm (bfd_vma pc, struct disassemble_info *info, long given)
 		      abort ();
 		    }
 		}
-		}
 	      else
 		func (stream, "%c", *c);
 	    }