[Bug cobol/119887] New: runtime-switches are not documented / implemented (and don't pass NC211A and others)

2025-04-21 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119887 Bug ID: 119887 Summary: runtime-switches are not documented / implemented (and don't pass NC211A and others) Product: gcc Version: 15.0 Status: UNCONFIRMED Sev

[Bug cobol/119886] New: runtime-switches are not documented / implemented (and don

2025-04-21 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119886 Bug ID: 119886 Summary: runtime-switches are not documented / implemented (and don Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Pr

[Bug cobol/119885] New: libgcobol: SQRT wrong argument check

2025-04-21 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119885 Bug ID: 119885 Summary: libgcobol: SQRT wrong argument check Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug cobol/119883] New: codegen: recursive user-defined functions don't run recursive

2025-04-21 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119883 Bug ID: 119883 Summary: codegen: recursive user-defined functions don't run recursive Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug cobol/119825] gcobol XML generate forces bug report

2025-04-15 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119825 Simon Sobisch changed: What|Removed |Added CC||jklowden at gcc dot gnu.org --- Comment

[Bug cobol/119825] gcobol XML generate forces bug report

2025-04-15 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119825 --- Comment #2 from Simon Sobisch --- looks like the error comes from name resolution and is also reproducible with a much more simple Program-id. NofBug. Data division. Working-storage section. 01 billTo.

[Bug cobol/119821] New: FE (parser): CONFIGURATION SECTION rejects valid code - empty paragraphs

2025-04-15 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119821 Bug ID: 119821 Summary: FE (parser): CONFIGURATION SECTION rejects valid code - empty paragraphs Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norma

[Bug cobol/119810] New: FE: -include does not unset "included from"

2025-04-14 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119810 Bug ID: 119810 Summary: FE: -include does not unset "included from" Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobo

[Bug cobol/119331] cobol: unimplemented exceptions abort compilation - even if requested to NOT use them

2025-04-14 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119331 --- Comment #1 from Simon Sobisch --- Side note: there's a working patch for gcobc at https://gcc.gnu.org/pipermail/gcc-patches/2025-April/680218.html which improves it in general - but this part was explicit left out

[Bug cobol/119809] New: FE internal_error internal compiler error: in digits_from_float128, at cobol/genapi.cc:15293 (bit data items)

2025-04-14 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119809 Bug ID: 119809 Summary: FE internal_error internal compiler error: in digits_from_float128, at cobol/genapi.cc:15293 (bit data items) Product: gcc Version: 15.0

[Bug cobol/119759] LICENSE file in gcc/cobol

2025-04-14 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119759 --- Comment #3 from Simon Sobisch --- Note "Copyright (c) 2021-2025 Symas Corporation" is also part of several files, for example gcc/gcobol/parse.y

[Bug cobol/119805] New: COMP-5 / COMP-X issues

2025-04-14 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119805 Bug ID: 119805 Summary: COMP-5 / COMP-X issues Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol Assignee:

[Bug cobol/119777] [15 Regression] COBOL '-fsyntax-only', 'RejectNegative'

2025-04-14 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119777 --- Comment #6 from Simon Sobisch --- Looks good to me (and yes, --include should be possible multiple times), but I haven't tested this or am a maintainer for gcobol... Seems -Wall and --verbose (or -v only?) are different beasts, then.

[Bug cobol/119793] New: FR FE (parser): addition of BASED-STORAGE SECTION (Fujitsu)

2025-04-14 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119793 Bug ID: 119793 Summary: FR FE (parser): addition of BASED-STORAGE SECTION (Fujitsu) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal P

[Bug cobol/119790] New: FE (parser): CONSTANT AS figurative-constant broken

2025-04-13 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119790 Bug ID: 119790 Summary: FE (parser): CONSTANT AS figurative-constant broken Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug cobol/119777] [15 Regression] COBOL '-fsyntax-only', 'RejectNegative'

2025-04-13 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119777 Simon Sobisch changed: What|Removed |Added CC||simonsobisch at gnu dot org --- Comment

[Bug cobol/119772] New: FE: COBOL2025/2026 (original GnuCOBOL extension) LENGTH OF usage-specification missing

2025-04-13 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119772 Bug ID: 119772 Summary: FE: COBOL2025/2026 (original GnuCOBOL extension) LENGTH OF usage-specification missing Product: gcc Version: 15.0 Status: UNCONFIRMED S

[Bug cobol/119771] New: FE (parser): CONSTANT AS LENGTH OF does not error - but result in length of zero

2025-04-13 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119771 Bug ID: 119771 Summary: FE (parser): CONSTANT AS LENGTH OF does not error - but result in length of zero Product: gcc Version: 15.0 Status: UNCONFIRMED Sever

[Bug cobol/119770] New: FLOAT-DECIMAL support + "cannot MOVE '_stack1'"

2025-04-13 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119770 Bug ID: 119770 Summary: FLOAT-DECIMAL support + "cannot MOVE '_stack1'" Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug cobol/119769] New: FE: GnuCOBOL extension BINARY-C-LONG missing

2025-04-13 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119769 Bug ID: 119769 Summary: FE: GnuCOBOL extension BINARY-C-LONG missing Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cob

[Bug cobol/119768] New: FE: parsing PIC N and NAT is broken

2025-04-13 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119768 Bug ID: 119768 Summary: FE: parsing PIC N and NAT is broken Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug cobol/119759] New: LICENSE file in gcc/cobol

2025-04-12 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119759 Bug ID: 119759 Summary: LICENSE file in gcc/cobol Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol Assign

[Bug cobol/119694] Excessive getenv uses in cobol FE

2025-04-11 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119694 Simon Sobisch changed: What|Removed |Added CC||simonsobisch at gnu dot org --- Comment

[Bug cobol/119414] cobol driver unconditionally adds platform-specific command line options.

2025-04-09 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119414 Simon Sobisch changed: What|Removed |Added CC||simonsobisch at gnu dot org --- Comment

[Bug cobol/119695] Incorrect diagnostic format specifiers in COBOL FE

2025-04-09 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119695 Simon Sobisch changed: What|Removed |Added CC||simonsobisch at gnu dot org --- Comment

[Bug cobol/119682] New: reference-modification (temporary literal?) yields wrong result

2025-04-08 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119682 Bug ID: 119682 Summary: reference-modification (temporary literal?) yields wrong result Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug cobol/119682] reference-modification (temporary literal?) yields wrong result

2025-04-08 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119682 --- Comment #1 from Simon Sobisch --- Created attachment 61038 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61038&action=edit original program showing the bug

[Bug cobol/119521] gcc-cobol generated programs with memory leak

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 --- Comment #8 from Simon Sobisch --- Hm, sounds like an internal stack check or similar would be good here to circumvent this issue from another side... If it doesn't work then it would definitely better for gcc to abort compiling this code fo

[Bug cobol/119639] New: runtime switches in SPECIAL NAMES not recognised (parser issue)

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119639 Bug ID: 119639 Summary: runtime switches in SPECIAL NAMES not recognised (parser issue) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug cobol/119254] ICE on unterminated cobol string due to use of cbl_internal_error

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119254 Simon Sobisch changed: What|Removed |Added CC||simonsobisch at gnu dot org --- Comment

[Bug cobol/119638] New: WRITE FROM x BEFORE Y raises compile error (SQ207M)

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119638 Bug ID: 119638 Summary: WRITE FROM x BEFORE Y raises compile error (SQ207M) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug cobol/119637] New: link error for LINAGE-COUNTER

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119637 Bug ID: 119637 Summary: link error for LINAGE-COUNTER Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol As

[Bug cobol/119636] New: compile error: gcobol1 does not find file descriptions in case of obsolete FD phrases

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119636 Bug ID: 119636 Summary: compile error: gcobol1 does not find file descriptions in case of obsolete FD phrases Product: gcc Version: 15.0 Status: UNCONFIRMED Se

[Bug cobol/119634] New: compile error: sorry, unimplemented: Global declarative _DECLARATIVES_EVAL1

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119634 Bug ID: 119634 Summary: compile error: sorry, unimplemented: Global declarative _DECLARATIVES_EVAL1 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: no

[Bug cobol/119633] New: compile error for debug-module USE FOR DEBUGGING

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119633 Bug ID: 119633 Summary: compile error for debug-module USE FOR DEBUGGING Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug cobol/119521] gcc-cobol generated programs with memory leak

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 --- Comment #6 from Simon Sobisch --- I wanted to originally say that's fixed (the memory leak in EXEC85 is), but running NIST DB105A still produces the same issue. heaptrack shows 34,4GB leaked, most allocations (256+63) come from allocate in

[Bug cobol/119632] New: section segments (cobol85) not implemented, "ignored" -> raising compile error

2025-04-04 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119632 Bug ID: 119632 Summary: section segments (cobol85) not implemented, "ignored" -> raising compile error Product: gcc Version: 15.0 Status: UNCONFIRMED Severity:

[Bug cobol/119521] gcc-cobol generated programs with memory leak

2025-03-29 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 --- Comment #4 from Simon Sobisch --- Am 28. März 2025 15:40:49 GMT-12:00 schrieb "rdubner at gcc dot gnu.org" : >https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 > >--- Comment #2 from Robert Dubner --- >Additional: The leaking memory is b

[Bug cobol/119521] gcc-cobol generated programs with memory leak

2025-03-29 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 --- Comment #3 from Simon Sobisch --- Note: some people will argue that the program should only abort, because/when exception checking is on. At least if it is, libgcobol needs to save the location, statement, file and exception that happened (f

[Bug cobol/119521] New: gcc-cobol generated programs with memory leak

2025-03-28 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119521 Bug ID: 119521 Summary: gcc-cobol generated programs with memory leak Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: co

[Bug cobol/119520] New: cobol1: internal compiler error: Segmentation fault (use of field with unknown TYPEDEF)

2025-03-28 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119520 Bug ID: 119520 Summary: cobol1: internal compiler error: Segmentation fault (use of field with unknown TYPEDEF) Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug other/113168] ABOUT-NLS seems way out of date

2025-03-25 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113168 Simon Sobisch changed: What|Removed |Added CC||simonsobisch at gnu dot org --- Comment

[Bug cobol/119457] New: gcobol: big codegen for simple STRING plus malloc/free (and missing optimization)

2025-03-25 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119457 Bug ID: 119457 Summary: gcobol: big codegen for simple STRING plus malloc/free (and missing optimization) Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

[Bug cobol/119455] New: gcobol: needs optimization for direct assignments (don't call into runtime)

2025-03-25 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119455 Bug ID: 119455 Summary: gcobol: needs optimization for direct assignments (don't call into runtime) Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: no

[Bug cobol/119456] New: gcobol: huge codegen for use of reference-modification (and missing optimization)

2025-03-25 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119456 Bug ID: 119456 Summary: gcobol: huge codegen for use of reference-modification (and missing optimization) Product: gcc Version: 15.0 Status: UNCONFIRMED Severi

[Bug cobol/119454] New: gcobol: error: unrecognized command-line option ‘-save-all’

2025-03-24 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119454 Bug ID: 119454 Summary: gcobol: error: unrecognized command-line option ‘-save-all’ Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal P

[Bug cobol/119331] New: cobol: unimplemented exceptions abort compilation - even if requested to NOT use them

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119331 Bug ID: 119331 Summary: cobol: unimplemented exceptions abort compilation - even if requested to NOT use them Product: gcc Version: 15.0 Status: UNCONFIRMED Se

[Bug cobol/119336] New: cobol: missing copybooks break parser

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119336 Bug ID: 119336 Summary: cobol: missing copybooks break parser Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug cobol/119335] New: cobol frontend ignores -M

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119335 Bug ID: 119335 Summary: cobol frontend ignores -M Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol Assign

[Bug cobol/119337] New: cobol: gcobc wrapper should deduce output name

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119337 Bug ID: 119337 Summary: cobol: gcobc wrapper should deduce output name Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug cobol/119329] New: cobol frontend does not support -Walll

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119329 Bug ID: 119329 Summary: cobol frontend does not support -Walll Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: cobol

[Bug cobol/119295] cobol, libcobol uses random_r which is GLIBC specific

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119295 Simon Sobisch changed: What|Removed |Added CC||simonsobisch at gnu dot org --- Comment

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

2025-03-17 Thread simonsobisch at gnu dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119332 Bug ID: 119332 Summary: cobol frontend does not support version dump options specified in --help Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norma