aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/neon-testgen.ml14
2 files changed, 12 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e293ad2..f999fd5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-02 Julian Brown <julian@codesourcery.com>
+
+ * config/arm/neon-testgen.ml (emit_epilogue): Remove extraneous
+ brackets and semicolon.
+
2015-11-02 Alan Lawrence <alan.lawrence@arm.com>
Revert:
diff --git a/gcc/config/arm/neon-testgen.ml b/gcc/config/arm/neon-testgen.ml
index 1a38951..a80c05d 100644
--- a/gcc/config/arm/neon-testgen.ml
+++ b/gcc/config/arm/neon-testgen.ml
@@ -130,14 +130,14 @@ let emit_call chan const_valuator c_types name elt_ty =
let emit_epilogue chan features regexps =
let no_op = List.exists (fun feature -> feature = No_op) features in
Printf.fprintf chan "}\n\n";
- (if not no_op then
- List.iter (fun regexp ->
- Printf.fprintf chan
- "/* { dg-final { scan-assembler \"%s\" } } */\n" regexp)
+ if not no_op then
+ List.iter (fun regexp ->
+ Printf.fprintf chan
+ "/* { dg-final { scan-assembler \"%s\" } } */\n" regexp)
regexps
- else
- ()
- );
+ else
+ ()
+
(* Check a list of C types to determine which ones are pointers and which
ones are const. *)