summaryrefslogtreecommitdiff
path: root/gcc/omp-offload.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2017-02-28 15:25:19 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2017-02-28 15:25:19 +0000
commit1caf9cb4fa5ab8729afafc469819801311b85a14 (patch)
tree68c599de8fbc088feb2c6b53509d06af0157d3e0 /gcc/omp-offload.c
parenteadc1843c4fa57f844ff4d7a676de52b1c9de241 (diff)
downloadgcc-1caf9cb4fa5ab8729afafc469819801311b85a14.tar.gz
* config/i386/i386.c: Include intl.h.
(ix86_option_override_internal): Use cond ? G_("...") : G_("...") instead of just cond ? "..." : "...". * config/nvptx/nvptx.c (nvptx_goacc_validate_dims): Likewise. * coverage.c (read_counts_file): Likewise. * omp-offload.c: Include intl.h. (oacc_loop_fixed_partitions): Use cond ? G_("...") : G_("...") instead of just cond ? "..." : "...". * gcov.c (read_count_file): Use cond ? N_("...") : N_("...") instead of just cond ? "..." : "...". c/ * c-parser.c (c_parser_asm_statement): Use cond ? G_("...") : G_("...") instead of just cond ? "..." : "...". (c_parser_oacc_enter_exit_data): Use %s and ternary operator only for "enter"/"exit" keyword. (c_finish_oacc_routine): Don't use %s to supply portions of the message. cp/ * decl.c (find_decomp_class_base): Use cond ? G_("...") : G_("...") instead of just cond ? "..." : "...". (grokdeclarator): Likewise. (build_enumerator): Likewise. * init.c (build_new_1): Likewise. * call.c (build_new_method_call_1): Likewise. * parser.c: Include intl.h. (cp_parser_oacc_enter_exit_data): Use %s and ternary operator only for "enter"/"exit" keyword. (cp_finalize_oacc_routine): Don't use %s to supply portions of the message. fortran/ * parse.c (parse_critical_block): Use cond ? G_("...") : G_("...") instead of just cond ? "..." : "...". * scanner.c (gfc_next_char_literal): Likewise. * match.c (match_exit_cycle): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@245778 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/omp-offload.c')
-rw-r--r--gcc/omp-offload.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/omp-offload.c b/gcc/omp-offload.c
index fad038f32e7..520bb91b8bf 100644
--- a/gcc/omp-offload.c
+++ b/gcc/omp-offload.c
@@ -45,6 +45,7 @@ along with GCC; see the file COPYING3. If not see
#include "lto-section-names.h"
#include "gomp-constants.h"
#include "gimple-pretty-print.h"
+#include "intl.h"
/* Describe the OpenACC looping structure of a function. The entire
function is held in a 'NULL' loop. */
@@ -1117,9 +1118,9 @@ oacc_loop_fixed_partitions (oacc_loop *loop, unsigned outer_mask)
if (noisy)
error_at (loop->loc,
seq_par
- ? "%<seq%> overrides other OpenACC loop specifiers"
- : "%<auto%> conflicts with other OpenACC loop "
- "specifiers");
+ ? G_("%<seq%> overrides other OpenACC loop specifiers")
+ : G_("%<auto%> conflicts with other OpenACC loop "
+ "specifiers"));
maybe_auto = false;
loop->flags &= ~OLF_AUTO;
if (seq_par)