public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/99288] New: xgettext does not get HOST_WIDE_INT_PRINT_UNSIGNED
@ 2021-02-26 14:15 roland.illig at gmx dot de
  2021-02-26 14:21 ` [Bug c/99288] " roland.illig at gmx dot de
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: roland.illig at gmx dot de @ 2021-02-26 14:15 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99288

            Bug ID: 99288
           Summary: xgettext does not get HOST_WIDE_INT_PRINT_UNSIGNED
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: roland.illig at gmx dot de
  Target Milestone: ---

gcse.c says:
>     warning (OPT_Wdisabled_optimization,
> 	       "%s: %d basic blocks and %d registers; "
> 	       "increase %<--param max-gcse-memory%> above "
> 	       HOST_WIDE_INT_PRINT_UNSIGNED,
> 	       pass, n_basic_blocks_for_fn (cfun), max_reg_num (),
> 	       memory_request / 1024);

HOST_WIDE_INT_PRINT_UNSIGNED is a host-dependent string literal that is
resolved by the C preprocessor. When xgettext scans the source code, it does
not notice this and generates:

> msgid ""
> "%s: %d basic blocks and %d registers; increase %<--param max-gcse-memory%> "
> "above "

The placeholder at the end of the sentence is missing, which means that this
message cannot be translated into other languages right now.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-01  9:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-26 14:15 [Bug c/99288] New: xgettext does not get HOST_WIDE_INT_PRINT_UNSIGNED roland.illig at gmx dot de
2021-02-26 14:21 ` [Bug c/99288] " roland.illig at gmx dot de
2021-02-26 16:22 ` [Bug other/99288] " jakub at gcc dot gnu.org
2021-02-26 16:24 ` jakub at gcc dot gnu.org
2021-02-27  9:45 ` cvs-commit at gcc dot gnu.org
2021-03-01  9:00 ` rguenth at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).