[Bug modula2/115276] libgm2 wraptime.InitTM returns NIL

2024-05-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115276 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/115276] libgm2 wraptime.InitTM returns NIL

2024-05-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115276 --- Comment #2 from Gaius Mulley --- Created attachment 58310 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58310=edit Proposed fix Here is a proposed fix - currently bootstrapping and testing.

[Bug modula2/114529] profiledbootstrap fails to build and m2 causes odr violations during build

2024-05-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114529 --- Comment #4 from Gaius Mulley --- Created attachment 58307 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58307=edit Work in progress patch This is only partially complete and it is being saved here to show the direction of the fix.

[Bug modula2/115276] libgm2 wraptime.InitTM returns NIL

2024-05-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115276 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug modula2/115276] New: libgm2 wraptime.InitTM returns NIL

2024-05-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115276 Bug ID: 115276 Summary: libgm2 wraptime.InitTM returns NIL Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/114529] profiledbootstrap fails to build and m2 causes odr violations during build

2024-05-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114529 --- Comment #3 from Gaius Mulley --- As an aid memoir the configure flags are: ../configure --prefix=$HOME/opt --enable-bootstrap --with-build-config="bootstrap-O3 bootstrap-lto" --enable-languages=c,c++,m2,lto which provoke the odr

[Bug modula2/115164] floating-point output generates misleading values with WriteFloat when sigfigs and width are zero

2024-05-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115164 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-05-20 Ever confirmed|0

[Bug modula2/115164] New: floating-point output generates misleading values with WriteFloat when sigfigs and width are zero

2024-05-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115164 Bug ID: 115164 Summary: floating-point output generates misleading values with WriteFloat when sigfigs and width are zero Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug modula2/115112] New: Incorrect line debugging information occurs during INC builtin.

2024-05-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115112 Bug ID: 115112 Summary: Incorrect line debugging information occurs during INC builtin. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/115111] New: Incorrect line debugging locations at start of WHILE loop.

2024-05-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115111 Bug ID: 115111 Summary: Incorrect line debugging locations at start of WHILE loop. Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/115057] TextIO.ReadRestLine raise an exception for insufficient buffer

2024-05-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115057 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/115057] TextIO.ReadRestLine raise an exception for insufficient buffer

2024-05-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115057 --- Comment #2 from Gaius Mulley --- Created attachment 58214 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58214=edit Proposed fix Here is a proposed fix - which I'll commit (if/when) a full bootstrap completes.

[Bug modula2/115057] TextIO.ReadRestLine raise an exception for insufficient buffer

2024-05-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115057 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug modula2/115003] exporting a symbol to outer scope with a name clash causes ICE

2024-05-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115003 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/115003] exporting a symbol to outer scope with a name clash causes ICE

2024-05-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115003 --- Comment #2 from Gaius Mulley --- Created attachment 58143 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58143=edit Proposed fix The scope was an unknown symbol which was not in the case list within SymbolTable.GetScope. This patch

[Bug modula2/115003] exporting a symbol to outer scope with a name clash causes ICE

2024-05-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115003 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug modula2/115003] New: exporting a symbol to outer scope with a name clash causes ICE

2024-05-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115003 Bug ID: 115003 Summary: exporting a symbol to outer scope with a name clash causes ICE Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/114133] problem passing a string pointer to a C function on solaris 32 bit and 64 bit

2024-05-07 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114133 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/113768] gm2/extensions/run/pass/vararg2.mod FAILs

2024-05-07 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113768 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114929] for loop fails to iterate down to zero if a cardinal type (unsigned type) is used with a step of -1.

2024-05-03 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114929 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114929] for loop fails to iterate down to zero if a cardinal type (unsigned type) is used with a step of -1.

2024-05-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114929 Gaius Mulley changed: What|Removed |Added Version|14.0|15.0 --- Comment #4 from Gaius Mulley

[Bug modula2/114929] for loop fails to iterate down to zero if a cardinal type (unsigned type) is used with a step of -1.

2024-05-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114929 --- Comment #2 from Gaius Mulley --- Created attachment 58092 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58092=edit Proposed fix Here is a proposed bug fix with 6 for loop regression tests.

[Bug modula2/114929] for loop fails to iterate down to zero if a cardinal type (unsigned type) is used with a step of -1.

2024-05-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114929 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug modula2/114929] New: for loop fails to iterate down to zero if a cardinal type (unsigned type) is used with a step of -1.

2024-05-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114929 Bug ID: 114929 Summary: for loop fails to iterate down to zero if a cardinal type (unsigned type) is used with a step of -1. Product: gcc Version: 14.0 Status:

[Bug modula2/113836] gm2 does not dump gimple or quadruples to a file

2024-05-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113836 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/113836] gm2 does not dump gimple or quadruples to a file

2024-05-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113836 Gaius Mulley changed: What|Removed |Added Attachment #57395|0 |1 is obsolete|

[Bug modula2/114836] error messages should be translatable and follow locale convention

2024-04-30 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114836 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug modula2/114836] New: error messages should be translatable and follow locale convention

2024-04-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114836 Bug ID: 114836 Summary: error messages should be translatable and follow locale convention Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/114811] iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114811 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114811] iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114811 --- Comment #1 from Gaius Mulley --- Created attachment 58012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58012=edit Proposed fix This patch fixes gm2-torture.exp to detect internal compiler error as a negative result and also

[Bug modula2/114811] iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114811 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug modula2/114811] New: iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114811 Bug ID: 114811 Summary: iso/fail/badexpression.mod and iso/fail/badexpression2.mod ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/114807] badpointer3.mod causes an ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114807 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114807] badpointer3.mod causes an ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114807 --- Comment #2 from Gaius Mulley --- Created attachment 58009 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58009=edit Proposed fix After the proposed patch fix is applied the cc1gm2 behaviour changes to: $ gm2 -g -c badpointer3.mod

[Bug modula2/114807] badpointer3.mod causes an ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114807 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug modula2/114807] New: badpointer3.mod causes an ICE

2024-04-22 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114807 Bug ID: 114807 Summary: badpointer3.mod causes an ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/112893] gm2 fails to detect procedure address actual parameter is incompatible with cardinal formal parameter

2024-04-20 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112893 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug modula2/112893] gm2 fails to detect procedure address actual parameter is incompatible with cardinal formal parameter

2024-04-19 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112893 --- Comment #8 from Gaius Mulley --- Created attachment 57992 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57992=edit Proposed fix v3 This patch creates a proctype for every procedure and then uses this associated proctype during type

[Bug modula2/114745] const cast causes ICE

2024-04-17 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114745 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114745] const cast causes ICE

2024-04-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114745 --- Comment #2 from Gaius Mulley --- Created attachment 57964 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57964=edit Proposed fix Here is a proposed patch and the example test run: $ gm2 -fiso -c -I. -I../ Dictionary.mod -fsources

[Bug modula2/114745] const cast causes ICE

2024-04-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114745 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug modula2/114745] New: const cast causes ICE

2024-04-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114745 Bug ID: 114745 Summary: const cast causes ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/114648] compiler by default does not handle C pre-processor file and line directives

2024-04-08 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114648 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114648] compiler by default does not handle C pre-processor file and line directives

2024-04-08 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114648 --- Comment #4 from Gaius Mulley --- Created attachment 57907 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57907=edit Proposed fix Trivial patch fix proposed with test code.

[Bug modula2/114648] compiler by default does not handle C pre-processor file and line directives

2024-04-08 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114648 --- Comment #3 from Gaius Mulley --- it will handle both, implemented in: gcc/m2/m2.flex:171 but the default was inverted during a recent bugfix. The particular test code example which provoked the bug was: # 2 "AdvParse.bnf" IMPLEMENTATION

[Bug modula2/114648] compiler by default does not handle C pre-processor file and line directives

2024-04-08 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114648 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug modula2/114648] New: compiler by default does not handle C pre-processor file and line directives

2024-04-08 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114648 Bug ID: 114648 Summary: compiler by default does not handle C pre-processor file and line directives Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug modula2/114617] gm2 is unable to resolve const expression using relative operators ICE

2024-04-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114617 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114617] gm2 is unable to resolve const expression using relative operators ICE

2024-04-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114617 --- Comment #3 from Gaius Mulley --- With the patch the reported failure examples above pass: $ gm2 -g -c BasicFileSys.mod -I../../../../Sandpit/gm2-outside-tree-tests/build/source/m2pp/src/ -fsources Compiling: BasicFileSys.mod Pass 0:

[Bug modula2/114617] gm2 is unable to resolve const expression using relative operators ICE

2024-04-05 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114617 --- Comment #2 from Gaius Mulley --- Created attachment 57891 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57891=edit Proposed fix Here is a proposed fix which stores the result of the relop as a constant. The fix requires M2Quads to

[Bug modula2/114617] gm2 is unable to resolve const expression using relative operators ICE

2024-04-05 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114617 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-04-06 Ever confirmed|0

[Bug modula2/114617] New: gm2 is unable to resolve const expression using relative operators ICE

2024-04-05 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114617 Bug ID: 114617 Summary: gm2 is unable to resolve const expression using relative operators ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/114565] progress trace would be useful to isolate ICE for users

2024-04-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114565 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114565] progress trace would be useful to isolate ICE for users

2024-04-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114565 --- Comment #5 from Gaius Mulley --- Closing now the patch has been bootstrapped, compared and applied.

[Bug modula2/114565] progress trace would be useful to isolate ICE for users

2024-04-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114565 Gaius Mulley changed: What|Removed |Added Attachment #57851|0 |1 is obsolete|

[Bug modula2/114565] progress trace would be useful to isolate ICE for users

2024-04-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114565 --- Comment #2 from Gaius Mulley --- Created attachment 57851 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57851=edit Proposed patch Here is a proposed patch which introduces the option -fm2-debug-trace= and allows a comma separated

[Bug modula2/114565] progress trace would be useful to isolate ICE for users

2024-04-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114565 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-04-02

[Bug modula2/114565] New: progress trace would be useful to isolate ICE for users

2024-04-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114565 Bug ID: 114565 Summary: progress trace would be useful to isolate ICE for users Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 --- Comment #3 from Gaius Mulley --- Created attachment 57840 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57840=edit Proposed fix Here is a proposed patch (which fixes all the standard procedure function const/var parameter checking):

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 --- Comment #2 from Gaius Mulley --- This is true for many of the standard procedure functions.

[Bug modula2/114548] gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug modula2/114548] New: gm2 fails to identify variable in a const expression

2024-04-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114548 Bug ID: 114548 Summary: gm2 fails to identify variable in a const expression Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug modula2/114529] profiledbootstrap fails to build and m2 causes odr violations during build

2024-03-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114529 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug modula2/114529] New: profiledbootstrap fails to build and m2 causes odr violations during build

2024-03-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114529 Bug ID: 114529 Summary: profiledbootstrap fails to build and m2 causes odr violations during build Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug modula2/114520] Incorrect ordering of import/export statements cause confusing error messages

2024-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114520 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114520] Incorrect ordering of import/export statements cause confusing error messages

2024-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114520 --- Comment #3 from Gaius Mulley --- The fix is not elegant, but it is accurate: $ gm2 localmodule2.mod localmodule2.mod:13:3: error: In inner module ‘local’: an IMPORT statement must preceed an EXPORT statement 13 | IMPORT mult2 ;

[Bug modula2/114520] Incorrect ordering of import/export statements cause confusing error messages

2024-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114520 --- Comment #2 from Gaius Mulley --- Created attachment 57832 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57832=edit Proposed fix The error recovery causes misleading error messages to appear if an EXPORT and IMPORT statement are in

[Bug modula2/114520] Incorrect ordering of import/export statements cause confusing error messages

2024-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114520 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug modula2/114520] New: Incorrect ordering of import/export statements cause confusing error messages

2024-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114520 Bug ID: 114520 Summary: Incorrect ordering of import/export statements cause confusing error messages Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug modula2/114517] gm2 does not allow comparion operator # in the first column

2024-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114517 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114517] gm2 does not allow comparion operator # in the first column

2024-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114517 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug modula2/114517] New: gm2 does not allow comparion operator # in the first column

2024-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114517 Bug ID: 114517 Summary: gm2 does not allow comparion operator # in the first column Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/114478] isnormal builtin unavailable from m2

2024-03-26 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114478 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114478] isnormal builtin unavailable from m2

2024-03-26 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114478 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug modula2/114478] New: isnormal builtin unavailable from m2

2024-03-26 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114478 Bug ID: 114478 Summary: isnormal builtin unavailable from m2 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/114444] An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier

2024-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114444] An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier

2024-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 --- Comment #2 from Gaius Mulley --- Created attachment 57789 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57789=edit Proposed fix This patch corrects two error format specifiers. gcc/m2/ChangeLog: * gm2-compiler/M2Quads.mod

[Bug modula2/114444] An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier

2024-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug modula2/114444] New: An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier

2024-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Bug ID: 11 Summary: An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug modula2/114443] missing quote causes ICE

2024-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114443 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114443] missing quote causes ICE

2024-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114443 --- Comment #1 from Gaius Mulley --- Created attachment 57788 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57788=edit Proposed fix This patch inserts a missing quotation at the end of a line if required (after an appropiate error

[Bug modula2/114443] missing quote causes ICE

2024-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114443 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-03-23

[Bug modula2/114443] New: missing quote causes ICE

2024-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114443 Bug ID: 114443 Summary: missing quote causes ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/114422] Attempting to declare a set of unknown type causes ICE

2024-03-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114422 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114422] Attempting to declare a set of unknown type causes ICE

2024-03-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114422 --- Comment #2 from Gaius Mulley --- Created attachment 57761 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57761=edit Proposed fix Here is the proposed fix containing the escaped error message and three regression tests.

[Bug modula2/114422] Attempting to declare a set of unknown type causes ICE

2024-03-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114422 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-03-21

[Bug modula2/114422] New: Attempting to declare a set of unknown type causes ICE

2024-03-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114422 Bug ID: 114422 Summary: Attempting to declare a set of unknown type causes ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug modula2/114418] Missing import of TSIZE from system causes ICE

2024-03-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114418 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114418] Missing import of TSIZE from system causes ICE

2024-03-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114418 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug modula2/114418] New: Missing import of TSIZE from system causes ICE

2024-03-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114418 Bug ID: 114418 Summary: Missing import of TSIZE from system causes ICE Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug modula2/114380] Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug modula2/114380] Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 --- Comment #3 from Gaius Mulley --- $ gm2 tiny4.mod tiny4.mod:13:17: error: In program module ‘tiny4’: type incompatibility between ‘BITSET’ and ‘WORD’ 13 |b := func () - {6..31} | ^

[Bug modula2/114380] Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 --- Comment #2 from Gaius Mulley --- Created attachment 57725 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57725=edit Proposed fix PR modula2/114380 Incorrect type specified in an error message This patch corrects an error message

[Bug modula2/114380] Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-03-18 Ever confirmed|0

[Bug modula2/114380] New: Incorrect type specified in an error message

2024-03-18 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 Bug ID: 114380 Summary: Incorrect type specified in an error message Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug modula2/114296] ICE when attempting to create a constant set with a variable element

2024-03-17 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114296 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114296] ICE when attempting to create a constant set with a variable element

2024-03-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114296 --- Comment #1 from Gaius Mulley --- Created attachment 57719 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57719=edit Proposed fix Here is the proposed fix. It corrects the virtual token creation for the aggregate constant and also

[Bug modula2/114294] expression causes ICE

2024-03-14 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114294 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/114294] expression causes ICE

2024-03-14 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114294 --- Comment #2 from Gaius Mulley --- Created attachment 57704 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57704=edit Proposed fix The proposed fix was to assign a type to the result constant created by HIGH. The call to PutConst was

  1   2   3   4   5   6   >