With both v3.1.2 and v3.2 (latest today) :
Running cobc -W -x cobxref.cbl likewise using cobc -Wextra -x cobxref.cbl or even cobx -x -Wall
Produces :
attempt to reference unallocated memory (signal SIGSEGV)
cobc: aborting compile of cobxref.cbl at line 12 (unknown: unknown)
cobc: Please report this!
Running :
Linux applewood.server 5.15.28-server-1.mga8 #1 SMP Fri Mar 11 16:23:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Mageia v8 X64 with all fixpaks installed.
Diff:
Thanks for the bug report, fixed (along with more similar ones that were hidden "somewhere") with [r4572].
Related
Commit: [r4572]