https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115276
Gaius Mulley changed:
What|Removed |Added
Resolution|FIXED |---
Status|RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115276
Gaius Mulley changed:
What|Removed |Added
Attachment #58310|0 |1
is obsolete|
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119915
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119914
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119914
Gaius Mulley changed:
What|Removed |Added
Attachment #61189|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119914
Gaius Mulley changed:
What|Removed |Added
Attachment #61183|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119914
Gaius Mulley changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
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
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
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
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
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!
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119779
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119779
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119751
Gaius Mulley changed:
What|Removed |Added
Last reconfirmed||2025-04-13
Status|UNCONFIRME
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119735
Gaius Mulley changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119650
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118045
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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(
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119504
Gaius Mulley changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119449
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119449
Gaius Mulley changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118600
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115111
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115111
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
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
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119192
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119192
Gaius Mulley changed:
What|Removed |Added
Last reconfirmed||2025-03-10
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118998
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119088
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119088
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118998
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118978
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118978
Gaius Mulley changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Ever confirmed|0
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115032
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115032
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
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 ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118761
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118761
Gaius Mulley changed:
What|Removed |Added
Last reconfirmed||2025-02-09
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115112
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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
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.
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115112
Gaius Mulley changed:
What|Removed |Added
Last reconfirmed||2025-02-04
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117411
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117228
--- Comment #2 from Gaius Mulley ---
Attachment went to the wrong PR !
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117411
Gaius Mulley changed:
What|Removed |Added
Status|NEW |ASSIGNED
--- Comment #2 from Gaius Mulle
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118703
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118703
Gaius Mulley changed:
What|Removed |Added
Attachment #60348|0 |1
is obsolete|
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118703
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116073
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116073
Gaius Mulley changed:
What|Removed |Added
Status|WAITING |ASSIGNED
--- Comment #7 from Gaius Mulle
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116073
Gaius Mulley changed:
What|Removed |Added
Attachment #60272|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118600
Gaius Mulley changed:
What|Removed |Added
Attachment #60236|0 |1
is obsolete|
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118589
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118589
Gaius Mulley changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118600
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118453
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118453
Gaius Mulley changed:
What|Removed |Added
Last reconfirmed||2025-01-13
Ever confirmed|0
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010
Gaius Mulley changed:
What|Removed |Added
Resolution|FIXED |---
Status|RESOLVED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118010
Gaius Mulley changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
1 - 100 of 764 matches
Mail list logo