[ was: Re: [PATCH, 10/16] Add pass_oacc_kernels pass group in passes.def ]
On 18/11/15 17:22, Bernhard Reutner-Fischer wrote:
Bonus points for fixing the dump_file to parse in:
>Parloops will fail because:
>...
>phi is n_2 = PHI <n_4(D)(4)>
>arg of phi to exit: value n_4(D) used outside loop
>checking if it a part of reduction pattern:
s/it a/it is/
This patch fixes a typo and trailing whitespace in dump-file strings in
parloops.
Build for c and fortran, tested -fdump-tree-parloops testcases.
Committed to trunk as trivial.
Thanks,
- Tom
Fix typo and trailing whitespace in dump-file strings in parloops
2015-11-19 Tom de Vries <t...@codesourcery.com>
* tree-parloops.c (build_new_reduction): Fix trailing whitespace in
dump-file string.
(try_create_reduction_list): Same. Fix typo in dump-file string.
---
gcc/tree-parloops.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gcc/tree-parloops.c b/gcc/tree-parloops.c
index 8d7912d..aca2370 100644
--- a/gcc/tree-parloops.c
+++ b/gcc/tree-parloops.c
@@ -2383,7 +2383,7 @@ build_new_reduction (reduction_info_table_type *reduction_list,
if (dump_file && (dump_flags & TDF_DETAILS))
{
fprintf (dump_file,
- "Detected reduction. reduction stmt is: \n");
+ "Detected reduction. reduction stmt is:\n");
print_gimple_stmt (dump_file, reduc_stmt, 0, 0);
fprintf (dump_file, "\n");
}
@@ -2564,7 +2564,7 @@ try_create_reduction_list (loop_p loop,
print_generic_expr (dump_file, val, 0);
fprintf (dump_file, " used outside loop\n");
fprintf (dump_file,
- " checking if it a part of reduction pattern: \n");
+ " checking if it is part of reduction pattern:\n");
}
if (reduction_list->elements () == 0)
{