https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79332
Alexander Monakov <amonakov at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amonakov at gcc dot gnu.org --- Comment #3 from Alexander Monakov <amonakov at gcc dot gnu.org> --- (In reply to Roland Illig from comment #1) > How am I supposed to translate "tid.y;" in config/nvptx/nbptx.c? I suppose > it is a bug in the program that extracts translatable strings from the > source code. In case it is not, there must be a translator comment nearby. You are not supposed to translate it; this is odd. gcc-7.1-b20170101.pot has: #: config/nvptx/nvptx.c:1132 msgid "tid.y;" msgstr "" gcc source has: 1126 #define ENTRY_TEMPLATE(PS, PS_BYTES, MAD_PS_32) "\ 1127 (.param.u" PS " %arg, .param.u" PS " %stack, .param.u" PS " %sz)\n\ 1128 {\n\ 1129 .reg.u32 %r<3>;\n\ 1130 .reg.u" PS " %R<4>;\n\ 1131 mov.u32 %r0, %tid.y;\n\ 1132 mov.u32 %r1, %ntid.y;\n\ 1133 mov.u32 %r2, %ctaid.x;\n\ (the multi-line string literal continues for a few more lines).