public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/114444] New: An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier
@ 2024-03-23 15:56 gaius at gcc dot gnu.org
  2024-03-23 15:56 ` [Bug modula2/114444] " gaius at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gaius at gcc dot gnu.org @ 2024-03-23 15:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114444

            Bug ID: 114444
           Summary: An error in the FLOAT/TRUNC will cause ICE due to
                    malformed error specifier
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: gaius at gcc dot gnu.org
  Target Milestone: ---

When blackbox testing it appears that an error relating to either TRUNC or
FLOAT will cause an ICE.  Upon gdb stack back trace it shows a malformed error
format.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug modula2/114444] An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier
  2024-03-23 15:56 [Bug modula2/114444] New: An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier gaius at gcc dot gnu.org
@ 2024-03-23 15:56 ` gaius at gcc dot gnu.org
  2024-03-23 16:02 ` gaius at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: gaius at gcc dot gnu.org @ 2024-03-23 15:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114444

Gaius Mulley <gaius at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2024-03-23

--- Comment #1 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Confirmed.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug modula2/114444] An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier
  2024-03-23 15:56 [Bug modula2/114444] New: An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier gaius at gcc dot gnu.org
  2024-03-23 15:56 ` [Bug modula2/114444] " gaius at gcc dot gnu.org
@ 2024-03-23 16:02 ` gaius at gcc dot gnu.org
  2024-03-23 16:04 ` cvs-commit at gcc dot gnu.org
  2024-03-23 16:06 ` gaius at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gaius at gcc dot gnu.org @ 2024-03-23 16:02 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114444

--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Created attachment 57789
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57789&action=edit
Proposed fix

This patch corrects two error format specifiers.

gcc/m2/ChangeLog:

        * gm2-compiler/M2Quads.mod (BuildTruncFunction): Correct
        error format specifier.
        (BuildFloatFunction): Correct error format specifier.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug modula2/114444] An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier
  2024-03-23 15:56 [Bug modula2/114444] New: An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier gaius at gcc dot gnu.org
  2024-03-23 15:56 ` [Bug modula2/114444] " gaius at gcc dot gnu.org
  2024-03-23 16:02 ` gaius at gcc dot gnu.org
@ 2024-03-23 16:04 ` cvs-commit at gcc dot gnu.org
  2024-03-23 16:06 ` gaius at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2024-03-23 16:04 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114444

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <gaius@gcc.gnu.org>:

https://gcc.gnu.org/g:a68458187d4c889dc11b2b95f08a61adf087f69d

commit r14-9648-ga68458187d4c889dc11b2b95f08a61adf087f69d
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Sat Mar 23 16:04:23 2024 +0000

    PR modula2/114444 trunc float malformed error cause ICE

    This patch corrects two error format specifiers.

    gcc/m2/ChangeLog:

            PR modula2/114444
            * gm2-compiler/M2Quads.mod (BuildTruncFunction): Correct
            error format specifier.
            (BuildFloatFunction): Correct error format specifier.

    Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug modula2/114444] An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier
  2024-03-23 15:56 [Bug modula2/114444] New: An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier gaius at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2024-03-23 16:04 ` cvs-commit at gcc dot gnu.org
@ 2024-03-23 16:06 ` gaius at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: gaius at gcc dot gnu.org @ 2024-03-23 16:06 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114444

Gaius Mulley <gaius at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Gaius Mulley <gaius at gcc dot gnu.org> ---
Closing now the patch has been applied.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-03-23 16:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-23 15:56 [Bug modula2/114444] New: An error in the FLOAT/TRUNC will cause ICE due to malformed error specifier gaius at gcc dot gnu.org
2024-03-23 15:56 ` [Bug modula2/114444] " gaius at gcc dot gnu.org
2024-03-23 16:02 ` gaius at gcc dot gnu.org
2024-03-23 16:04 ` cvs-commit at gcc dot gnu.org
2024-03-23 16:06 ` gaius at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).