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

            Bug ID: 125136
           Summary: -Q --help: output file is not shown
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ivan.lazaric.gcc at gmail dot com
  Target Milestone: ---

```
$ g++ foo.cpp -o bar -Q --help=common | grep -e --output
  --output                              -o
  --output=                             
```

For a lot of options `-Q --help` shows their values (like
`-fconstexpr-ops-limit`),
including any changes made by previous program options. 
I was expecting this for `-o` as well, maybe the following:
```
  --output                              -o
  --output=                             bar
```
  • [Bug c++/125136] New: -Q --... ivan.lazaric.gcc at gmail dot com via Gcc-bugs

Reply via email to