Hello,
I am trying a Report Writer program. My notes say it needs the IBM compiler option of NOADV and a dialect (or at least a syntax/semantic check) for OSVS Cobol.
I runs fine under Micro Focus but they have a diective for OSVS and NOADV. Is there some option I can use. I only see a perform-type and arithmetic option.
The compile fails with these errors:
unexpected tree category: 1
codegen.c:5258: internal compiler error
aborting codegen for rptwtr1.cbl, last statement at line 130 (PROGRAM-ID: RPTWTR1)
Please report this!
What can I do to get this to compile and run?
Supplied files:
Cobol source
Input data file
Screen capture of error
Output file
Complete capture of MF compile/run/type of output file
Thanks! Vince
interesting would be
cobc --version
...C:>cobc --version
cobc (GnuCOBOL) 3.2.0
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://gnu.org/licenses/gpl.html
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built Jul 28 2023 19:10:09
Packaged Jul 28 2023 17:02:56 UTC
C version (MinGW) "9.2.0"
(I modified my win cmd prompt to not display the banner)
I found these file in c:\temp see attached
Hello, I changed the program to use Line Sequential as input. I only passed Micro Focus the OSVS directive and it works fine for Micro Focus. It still blows up with GnuCobol. See attachment. Thanks, Vince
The internal compiler error is always a bug. I will try to inspect this issue very soon, maybe tomorrow.