Bug 96249 - The string "<number> bytes" is repeated at the end of the message
Summary: The string "<number> bytes" is repeated at the end of the message
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 10.1.0
: P3 trivial
Target Milestone: ---
Assignee: Martin Sebor
URL:
Keywords:
Depends on:
Blocks: trivial_translation_nits
  Show dependency treegraph
 
Reported: 2020-07-20 11:08 UTC by Göran Uddeborg
Modified: 2022-03-07 19:05 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Göran Uddeborg 2020-07-20 11:08:02 UTC
In c-family/c.opt, line 1251 at the time of writing, the string "<number> bytes" is repeated at the end of the description of Wvla-larger-than=

    Wvla-larger-than=
    C ObjC C++ LTO ObjC++ Var(warn_vla_limit) Warning Joined Host_Wide_Int ByteSize Init(HOST_WIDE_INT_MAX)
    -Wvla-larger-than=<number>	Warn on unbounded uses of variable-length
    arrays, and on bounded uses of variable-length arrays whose bound can be
    larger than <number> bytes.
    <number> bytes.
Comment 1 GCC Commits 2020-07-20 17:58:09 UTC
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:

https://gcc.gnu.org/g:b0c5a642ce4e0d292706ac2139fc14785938f23e

commit r11-2229-gb0c5a642ce4e0d292706ac2139fc14785938f23e
Author: Martin Sebor <msebor@redhat.com>
Date:   Mon Jul 20 11:56:54 2020 -0600

    Remove stray text from option description (PR c/96249).
    
    gcc/c-family/ChangeLog:
            PR c/96249
            * c.opt: Remove stray text.
Comment 2 Martin Sebor 2020-07-20 17:58:46 UTC
Fixed in r11-2229.
Comment 3 Eric Gallager 2022-03-07 19:05:57 UTC
reminder that when a bug falls under the umbrella of a meta-bug, the meta-bug goes in the "Blocks" field, not the "Depends on" field