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

2025-04-24 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|RESOLVED

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

2025-04-24 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 Attachment #58310|0 |1 is obsolete|

[Bug modula2/119915] Sprintf1 repeats the entire format string if it starts with a directive

2025-04-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119915 --- Comment #2 from Gaius Mulley --- Created attachment 61191 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61191&action=edit Proposed fix which fixes %u and %x format specifiers in FormatStrings.mod Proposed patch with run time regressi

[Bug modula2/119915] Sprintf1 repeats the entire format string if it starts with a directive

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

[Bug modula2/119914] Passing a constant to the unbounded array compiles and causes a.out to dump core

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

[Bug modula2/119914] Passing a constant to the unbounded array compiles and causes a.out to dump core

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

[Bug modula2/119914] Passing a constant to the unbounded array compiles and causes a.out to dump core

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

[Bug modula2/119914] Passing a constant to the unbounded array compiles and causes a.out to dump core

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

[Bug modula2/119914] Passing a constant to the unbounded array compiles and causes a.out to dump core

2025-04-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119914 --- Comment #2 from Gaius Mulley --- Created attachment 61183 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61183&action=edit Proposed v0 fix and patch The patch needs improving bug it does prevent the ICE and the compiler generates an e

[Bug modula2/119914] New: Passing a constant to the unbounded array compiles and causes a.out to dump core

2025-04-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119914 Bug ID: 119914 Summary: Passing a constant to the unbounded array compiles and causes a.out to dump core Product: gcc Version: 15.0 Status: UNCONFIRMED Severit

[Bug modula2/119779] ASM examples no longer work

2025-04-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119779 --- Comment #5 from Gaius Mulley --- For clarity the tests both run from the command line: $ gm2 -g exampleadd2.mod $ ./a.out $ cat exampleadd2.mod (* { dg-do assemble { target { x86_64-*-* } } } *) (* { dg-options "-g" } *) MODULE exampleadd

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-15 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 --- Comment #16 from Gaius Mulley --- RE: ASM examples probably easier to continue this thread over at PR modula2/119779

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-14 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 --- Comment #14 from Gaius Mulley --- Regarding Comment #8 Yes I believe so, logged as PR modula2/119779 Thanks for spotting this bug!

[Bug modula2/119779] ASM examples no longer work

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

[Bug modula2/119779] ASM examples no longer work

2025-04-14 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119779 --- Comment #2 from Gaius Mulley --- Created attachment 61105 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61105&action=edit Proposed fix for documentation and accompanying dg testcases PR modula2/119779 ASM examples no longer work Thi

[Bug modula2/119779] New: ASM examples no longer work

2025-04-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119779 Bug ID: 119779 Summary: ASM examples no longer work Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 As

[Bug modula2/119779] ASM examples no longer work

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

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2025-04-13 Status|UNCONFIRME

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 --- Comment #11 from Gaius Mulley --- Replying to comment#7 I think the solution is to extend the ISO attributes (eg <* DIALECT iso10514 *>) to specify the modula-2 dialect and also have another attribute to warn if the user module is importing

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-12 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 --- Comment #10 from Gaius Mulley --- Created attachment 61090 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61090&action=edit Proposed fix to remove gcc/m2/gm2-libs/COROUTINES.mod The above patch removes gcc/m2/gm2-libs/COROUTINES.mod w

[Bug modula2/119751] There's a need to tidy up m2 subdirectories' contents

2025-04-12 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751 --- Comment #5 from Gaius Mulley --- Thanks for the report. [As an aside gm2 from GCC-12 has a completely different linking mechanism to gm2 GCC-14.2] The file gcc/m2/gm2-libs/COROUTINES.def is a definition for "C" and thus has no accompanying

[Bug modula2/119735] make gcc.pot generates warnings in the m2 code base

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

[Bug modula2/119735] make gcc.pot generates warnings in the m2 code base

2025-04-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735 --- Comment #2 from Gaius Mulley --- Created attachment 61082 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61082&action=edit Proposed fix Proposed fix removing ' and %n from m2 comments.

[Bug modula2/119735] make gcc.pot generates warnings in the m2 code base

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

[Bug modula2/119735] New: make gcc.pot generates warnings in the m2 code base

2025-04-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735 Bug ID: 119735 Summary: make gcc.pot generates warnings in the m2 code base Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug modula2/119622] runtime libraries are not installed after "make install"

2025-04-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119622 --- Comment #3 from Gaius Mulley --- As another data point. It works fine with: version=15-20250411 ../gcc-$version/configure --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu --prefix=$HOME/opt --enable-share

[Bug modula2/119650] WriteString for String

2025-04-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119650 --- Comment #2 from Gaius Mulley --- Created attachment 61023 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61023&action=edit Proposed fix which implements SStrIO.{def,mod} Here is a proposed fix containing a new library module SStrIO.{d

[Bug modula2/119650] WriteString for String

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

[Bug modula2/119650] New: WriteString for String

2025-04-06 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119650 Bug ID: 119650 Summary: WriteString for String Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: modula2 As

[Bug modula2/118045] [15 Regression] libm2iso.so.20.0.0 contains an unresolvable reference to symbol casin (and 171 other similar warnings)

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

[Bug modula2/119504] ICE when attempting to access an element of a constant string

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

[Bug modula2/119504] ICE when attempting to access an element of a constant string

2025-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 --- Comment #3 from Gaius Mulley --- $ gm2 WriteOctHexCorrect.mod $ ./a.out 30071 $ cat WriteOctHexCorrect.mod MODULE WriteOctHexCorrect ; FROM STextIO IMPORT WriteChar, WriteLn; VAR Done : BOOLEAN; PROCEDURE WriteOctOrHex(

[Bug modula2/119504] ICE when attempting to access an element of a constant string

2025-03-28 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 --- Comment #2 from Gaius Mulley --- Created attachment 60908 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60908&action=edit Proposed fix which generates and error message and fixes HIGH of a constant string. $ gm2 WriteOctHex.mod Writ

[Bug modula2/119504] ICE when attempting to access an element of a constant string

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

[Bug modula2/119504] New: ICE when attempting to access an element of a constant string

2025-03-27 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504 Bug ID: 119504 Summary: ICE when attempting to access an element of a constant string Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/119449] MAX of SYSTEM.REAL64 cause an ICE

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

[Bug modula2/119449] MAX of SYSTEM.REAL64 cause an ICE

2025-03-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119449 --- Comment #2 from Gaius Mulley --- Created attachment 60869 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60869&action=edit Proposed fix which implements MIN and MAX for real types. A patch which implements MIN and MAX for sized based

[Bug modula2/119449] New: MAX of SYSTEM.REAL64 cause an ICE

2025-03-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119449 Bug ID: 119449 Summary: MAX of SYSTEM.REAL64 cause an ICE Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/119449] MAX of SYSTEM.REAL64 cause an ICE

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

[Bug modula2/118600] Assigning to a record from a constructor can cause an alignment exception

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

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

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

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

2025-03-16 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115111 --- Comment #2 from Gaius Mulley --- Created attachment 60780 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60780&action=edit Proposed fix for while end debugging info This patch corrects the END token location and fixes the debugging li

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

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

[Bug modula2/119192] New: ICE if TBITSIZE is used in an expression

2025-03-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119192 Bug ID: 119192 Summary: ICE if TBITSIZE is used in an expression Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/119192] ICE if TBITSIZE is used in an expression

2025-03-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119192 --- Comment #2 from Gaius Mulley --- Created attachment 60694 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60694&action=edit Proposed fix for TBITSIZE Here is a proposed fix which bootstraps on amd64 gnu linux.

[Bug modula2/119192] ICE if TBITSIZE is used in an expression

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

[Bug modula2/119192] ICE if TBITSIZE is used in an expression

2025-03-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119192 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2025-03-10 Status|UNCONFIRME

[Bug modula2/118998] Rotate of a packetset causes different types to binary operator error

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

[Bug modula2/118998] Rotate of a packetset causes different types to binary operator error

2025-03-04 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118998 --- Comment #2 from Gaius Mulley --- Created attachment 60652 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60652&action=edit Proposed fix (work in progress) Here is a proposed patch which fixes the rotate return type by converting both

[Bug modula2/119088] ICE when for loop accesses an unknown variable as the iterator

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

[Bug modula2/119088] ICE when for loop accesses an unknown variable as the iterator

2025-03-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119088 --- Comment #2 from Gaius Mulley --- Created attachment 60636 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60636&action=edit Proposed fix detecting unknown variable in variable analysis Proposed fix which detects a variable with an unkn

[Bug modula2/119088] ICE when for loop accesses an unknown variable as the iterator

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

[Bug modula2/119088] New: ICE when for loop accesses an unknown variable as the iterator

2025-03-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119088 Bug ID: 119088 Summary: ICE when for loop accesses an unknown variable as the iterator Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/118998] Rotate of a packetset causes different types to binary operator error

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

[Bug modula2/118998] New: Rotate of a packetset causes different types to binary operator error

2025-02-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118998 Bug ID: 118998 Summary: Rotate of a packetset causes different types to binary operator error Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug modula2/118978] ICE when attempting to pass a REAL actual parameter into an INTEGER formal parameter

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

[Bug modula2/118978] ICE when attempting to pass a REAL actual parameter into an INTEGER formal parameter

2025-02-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118978 --- Comment #2 from Gaius Mulley --- Created attachment 60557 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60557&action=edit Proposed fix which detects an incorrect parameter being passed the ICE occurs when a range test is performed on

[Bug modula2/118978] ICE when attempting to pass a REAL actual parameter into an INTEGER formal parameter

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

[Bug modula2/118978] New: ICE when attempting to pass a REAL actual parameter into an INTEGER formal parameter

2025-02-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118978 Bug ID: 118978 Summary: ICE when attempting to pass a REAL actual parameter into an INTEGER formal parameter Product: gcc Version: 15.0 Status: UNCONFIRMED Sev

[Bug modula2/115032] gm2/iso/run/pass/packed.mod FAILs

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

[Bug modula2/115032] gm2/iso/run/pass/packed.mod FAILs

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

[Bug modula2/115032] gm2/iso/run/pass/packed.mod FAILs

2025-02-12 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115032 --- Comment #5 from Gaius Mulley --- PR modula2/118703 has now been back ported onto gcc-14. Is the failure still present on Solaris/SPARC ?

[Bug modula2/118761] gm2 driver doesn't behave as gcc for --help=BLA

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

[Bug modula2/118761] gm2 driver doesn't behave as gcc for --help=BLA

2025-02-10 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118761 --- Comment #3 from Gaius Mulley --- Created attachment 60453 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60453&action=edit Proposed fix which allows -fsyntax-only -fhelp=BLA Here is a propose patch which has been bootstrapped on amd64

[Bug modula2/118761] gm2 driver doesn't behave as gcc for --help=BLA

2025-02-09 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118761 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2025-02-09 Status|UNCONFIRME

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

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

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

2025-02-04 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115112 --- Comment #4 from Gaius Mulley --- Created attachment 60379 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60379&action=edit Proposed fix correcting location for INC and DEC

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

2025-02-04 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115112 --- Comment #3 from Gaius Mulley --- $ gm2 -fiso -g -fm2-whole-program -fm2-dump=all -fm2-dump-filter=m2iso.TextIO.ReadRestLine testrestline.mod $ tail -15 a-testrestline.mod.002l.gimple (* /home/gaius/opt/lib/gcc/x86_64-pc-linux-gnu/15.0.

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

2025-02-04 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115112 --- Comment #2 from Gaius Mulley --- Also seen in the assembly output: $ gm2 -fiso -g -fm2-whole-program -S testrestline.mod ... .L1166: .loc 10 133 7 nop .L1163: .loc 10 108 11# front end incorrectly assigns locati

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

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

[Bug modula2/117411] Request for documentation to include exception example

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

[Bug modula2/117411] Request for documentation to include exception example

2025-02-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117411 --- Comment #3 from Gaius Mulley --- Created attachment 60359 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60359&action=edit Proposed patch containing documentation section and new example test code This patch contains an additional sec

[Bug modula2/117228] Move modula2 plugin into 'build-gcc/gcc/m2/'

2025-02-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117228 --- Comment #2 from Gaius Mulley --- Attachment went to the wrong PR !

[Bug modula2/117228] Move modula2 plugin into 'build-gcc/gcc/m2/'

2025-02-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117228 --- Comment #1 from Gaius Mulley --- Created attachment 60358 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60358&action=edit Proposed patch containing documentation section and new example test code This patch contains an additional sec

[Bug modula2/117411] Request for documentation to include exception example

2025-02-02 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117411 Gaius Mulley changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from Gaius Mulle

[Bug modula2/115032] gm2/iso/run/pass/packed.mod FAILs

2025-02-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115032 --- Comment #3 from Gaius Mulley --- PR-118703 (introducing builtins ctz, ctzl, ctzll, clz, clzl, clzll) has been closed.

[Bug modula2/118703] Abort compiling m2pim_NumberIO_BinToStr since r15-7223-g92a5c5100c2519

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

[Bug modula2/118703] Abort compiling m2pim_NumberIO_BinToStr since r15-7223-g92a5c5100c2519

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

[Bug modula2/118703] Abort compiling m2pim_NumberIO_BinToStr since r15-7223-g92a5c5100c2519

2025-01-31 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118703 --- Comment #2 from Gaius Mulley --- Created attachment 60348 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60348&action=edit Proposed fix for c[lt]z{l,ll} Here is a proposed patch for the builtins c[lt]z{l,ll} with some test code. Built

[Bug modula2/118703] Abort compiling m2pim_NumberIO_BinToStr since r15-7223-g92a5c5100c2519

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

[Bug rtl-optimization/116073] [15 regression] invalid rtl sharing compiling compiling FileSystem.mod caused by ext-dce

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

[Bug rtl-optimization/116073] [15 regression] invalid rtl sharing compiling compiling FileSystem.mod caused by ext-dce

2025-01-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116073 Gaius Mulley changed: What|Removed |Added Status|WAITING |ASSIGNED --- Comment #7 from Gaius Mulle

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

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

[Bug rtl-optimization/116073] [15 regression] invalid rtl sharing compiling compiling FileSystem.mod caused by ext-dce

2025-01-27 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116073 Gaius Mulley changed: What|Removed |Added Attachment #60272|0 |1 is obsolete|

[Bug modula2/118600] Assigning to a record from a constructor can cause an alignment exception

2025-01-26 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118600 Gaius Mulley changed: What|Removed |Added Attachment #60236|0 |1 is obsolete|

[Bug rtl-optimization/116073] [15 regression] invalid rtl sharing compiling compiling FileSystem.mod caused by ext-dce

2025-01-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116073 --- Comment #3 from Gaius Mulley --- Created attachment 60272 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60272&action=edit Proposed patch to correct offset and return type to/from lseek FWIIW I wonder if the bug might be related to th

[Bug modula2/118589] Bug opaque type fields are visible outside implementation module

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

[Bug modula2/118589] Bug opaque type fields are visible outside implementation module

2025-01-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118589 --- Comment #2 from Gaius Mulley --- Created attachment 60268 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60268&action=edit Proposed fix which detects an opaque type and improves error recovery and error accuracy Proposed fix detects a

[Bug modula2/118589] Bug opaque type fields are visible outside implementation module

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

[Bug modula2/118600] Assigning to a record from a constructor can cause an alignment exception

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

[Bug modula2/118600] Assigning to a record from a constructor can cause an alignment exception

2025-01-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118600 --- Comment #1 from Gaius Mulley --- Created attachment 60236 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60236&action=edit PR-118600-Assigning-to-a-record-causes-alignment-exception.patch Proposed fix. This exploratory proposed fix t

[Bug modula2/118600] New: Assigning to a record from a constructor can cause an alignment exception

2025-01-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118600 Bug ID: 118600 Summary: Assigning to a record from a constructor can cause an alignment exception Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: norm

[Bug modula2/118589] New: Bug opaque type fields are visible outside implementation module

2025-01-21 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118589 Bug ID: 118589 Summary: Bug opaque type fields are visible outside implementation module Product: gcc Version: 14.2.1 Status: UNCONFIRMED Severity: normal

[Bug modula2/118453] Subranges types do use virtual tokens during construction, resulting in poor error messages

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

[Bug modula2/118453] Subranges types do use virtual tokens during construction, resulting in poor error messages

2025-01-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118453 --- Comment #2 from Gaius Mulley --- Created attachment 60136 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60136&action=edit Proposed fix Here is a proposed fix which uses virtual tokens during the construction of subrange types. After

[Bug modula2/118453] New: Subranges types do use virtual tokens during construction, resulting in poor error messages

2025-01-13 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118453 Bug ID: 118453 Summary: Subranges types do use virtual tokens during construction, resulting in poor error messages Product: gcc Version: 15.0 Status: UNCONFIRMED

[Bug modula2/118453] Subranges types do use virtual tokens during construction, resulting in poor error messages

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

[Bug modula2/118414] New: cross compiling fails

2025-01-11 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118414 Bug ID: 118414 Summary: cross compiling fails Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2 Assignee

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

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

[Bug modula2/118010] -Wlto-type-mismatch warning/error during m2 bootstrap on arm (gm2-libs-boot/Glibc.h:206:16: warning: type of ‘libc_lseek’ does not match original declaration [-Wlto-type-mismatch]

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

  1   2   3   4   5   6   7   8   >