[Bug driver/93284] New: gcc -v --help emits some messages to stderr

josh at joshtriplett dot org gcc-bugzilla@gcc.gnu.org
Thu Jan 16 00:14:00 GMT 2020


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

            Bug ID: 93284
           Summary: gcc -v --help emits some messages to stderr
           Product: gcc
           Version: 9.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: josh at joshtriplett dot org
  Target Milestone: ---

Running gcc -v --help to get all of GCC's options produces output to both
stdout and stderr. This causes problems when running that output through a
pager, for instance.

To see this, try running "gcc -v --help >/dev/null", which will show only the
stderr output.

(Note that this issue may lie in multiple projects, including those invoked by
gcc. Happy to file bugs against those other projects as well.)


More information about the Gcc-bugs mailing list