https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109810
--- Comment #7 from CVS Commits ---
The releases/gcc-13 branch has been updated by Gaius Mulley
:
https://gcc.gnu.org/g:52405b14b7e6a8d13ac53525a341ebfd27ef67cc
commit r13-7633-g52405b14b7e6a8d13ac53525a341ebfd27ef67cc
Author: Gaius Mulley
Da
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109810
Gaius Mulley changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109810
--- Comment #5 from CVS Commits ---
The master branch has been updated by Gaius Mulley :
https://gcc.gnu.org/g:c787f593e62869ae0b230949b4791f4f3a26e50e
commit r14-743-gc787f593e62869ae0b230949b4791f4f3a26e50e
Author: Gaius Mulley
Date: Fri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109810
--- Comment #4 from Gaius Mulley ---
The patch improves the error virtual token accuracy, for example:
$ gm2 -g highice.mod
highice.mod:6:6: error: string constant ‘12’ is too large to be assigned to the
array ‘a’
6 |a := '12'
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109810
--- Comment #3 from Gaius Mulley ---
Created attachment 55059
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55059&action=edit
Proposed fix
Here is a proposed patch with test code which has successfully bootstrapped on
x86_64 linux.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109810
--- Comment #2 from Gaius Mulley ---
gm2 -g highice.mod
highice.mod:6:6: warning: string constant is too large to be assigned to the
array
6 |a := '12'
| ^~
*** WARNING *** there are active plugins, do not report this as a bu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109810
Gaius Mulley changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED