+2017-03-21 David Malcolm <dmalcolm@redhat.com>
+
+ PR translation/80001
+ * omp-offload.c (oacc_loop_fixed_partitions): Make diagnostics
+ more amenable to translation.
+ (oacc_loop_auto_partitions): Likewise.
+
2017-03-21 Marek Polacek <polacek@redhat.com>
Martin Sebor <msebor@redhat.com>
if (outer)
{
error_at (loop->loc,
- "%s uses same OpenACC parallelism as containing loop",
- loop->routine ? "routine call" : "inner loop");
+ loop->routine
+ ? G_("routine call uses same OpenACC parallelism"
+ " as containing loop")
+ : G_("inner loop uses same OpenACC parallelism"
+ " as containing loop"));
inform (outer->loc, "containing loop here");
}
else
error_at (loop->loc,
- "%s uses OpenACC parallelism disallowed by containing "
- "routine", loop->routine ? "routine call" : "loop");
+ loop->routine
+ ? G_("routine call uses OpenACC parallelism disallowed"
+ " by containing routine")
+ : G_("loop uses OpenACC parallelism disallowed"
+ " by containing routine"));
if (loop->routine)
inform (DECL_SOURCE_LOCATION (loop->routine),
loop->mask |= this_mask;
if (!loop->mask && noisy)
warning_at (loop->loc, 0,
- "insufficient partitioning available"
- " to parallelize%s loop", tiling ? " tile" : "");
+ tiling
+ ? G_("insufficient partitioning available"
+ " to parallelize tile loop")
+ : G_("insufficient partitioning available"
+ " to parallelize loop"));
}
if (assign && dump_file)