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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 40426
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40426&action=edit
gcc7-pr78745.patch

Untested fix.

For the multiple line help texts, opt-gather.awk concatenates those lines with
SUBSEP in between them, and opt-read.awk then replaces those SUBSEP separators
with spaces:
                                help[n_opts]  = $3
                                for (i = 4; i <= NF; i++)
                                        help[n_opts] = help[n_opts] " " $i
With this patch, there are changes like:
 #: config/arm/arm.opt:231
-msgid "Print CPU tuning information as comment in assembler file.  This is"
+msgid ""
+"Print CPU tuning information as comment in assembler file.  This is an "
+"option used only for regression testing of the compiler and not intended for
"
+"ordinary use in compiling code."
 msgstr ""

in the gcc.pot file.

Reply via email to