[Bug modula2/114380] Incorrect type specified in an error message
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 Gaius Mulley changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED|RESOLVED --- Comment #5 from Gaius Mulley --- Closing now that the patch has been applied.
[Bug modula2/114380] Incorrect type specified in an error message
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 --- Comment #4 from GCC Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:d2029bbc69df7341775faf6cf1aa13d978c223a1 commit r14-9520-gd2029bbc69df7341775faf6cf1aa13d978c223a1 Author: Gaius Mulley Date: Mon Mar 18 16:40:35 2024 + PR modula2/114380 Incorrect type specified in an error message This patch corrects an error message relating to a variable of a SET type. The bugfix is not to skip over set types (in GetLowestType). gcc/m2/ChangeLog: PR modula2/114380 * gm2-compiler/SymbolTable.mod (GetLowestType): Do not skip over a set type, but return sym. gcc/testsuite/ChangeLog: PR modula2/114380 * gm2/pim/fail/badset7.mod: New test. Signed-off-by: Gaius Mulley
[Bug modula2/114380] Incorrect type specified in an error message
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
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 relating to a variable of a SET type. The bugfix is not to skip over set types (in GetLowestType). gcc/m2/ChangeLog: * gm2-compiler/SymbolTable.mod (GetLowestType): Do not skip over a set type, but return sym. gcc/testsuite/ChangeLog: * gm2/pim/fail/badset7.mod: New test.
[Bug modula2/114380] Incorrect type specified in an error message
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114380 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2024-03-18 Ever confirmed|0 |1 Status|UNCONFIRMED |ASSIGNED --- Comment #1 from Gaius Mulley --- Confirmed.