[Bug cobol/119332] cobol frontend does not support version dump options specified in --help

2025-05-22 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119332

--- Comment #3 from Simon Sobisch  ---
Instead of "/dev/null" you can also write "banana", it doesn't matter. Seems
like the option parsing is broken "somewhere".

[Bug cobol/119332] cobol frontend does not support version dump options specified in --help

2025-05-21 Thread jklowden at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119332

James K. Lowden  changed:

   What|Removed |Added

 CC||jklowden at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |rdubner at gcc dot 
gnu.org

--- Comment #2 from James K. Lowden  ---
$ gcobol -dumpmachine /dev/null
aarch64-unknown-linux-gnu
$ gcobol -dumpmachine 
gcobol: fatal error: no input files

Not sure this is right, either: 

gcobol -dumpversion /dev/null
16.0.0

[Bug cobol/119332] cobol frontend does not support version dump options specified in --help

2025-03-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119332

Richard Biener  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Last reconfirmed||2025-03-18
 Status|UNCONFIRMED |NEW

--- Comment #1 from Richard Biener  ---
Confirmed.  There were similar issues with -print options which I fixed in
r15-7952-gc20e24f8e7318b

There's something odd with how the driver works, other frontends do not have to
special-case this.