public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/112342] New: Crash when an unexpected ampersand is encountered
@ 2023-11-01 20:49 rwconnelly at hotmail dot com
  2024-01-09 10:47 ` [Bug ada/112342] exception raised " ebotcazou at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: rwconnelly at hotmail dot com @ 2023-11-01 20:49 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 112342
           Summary: Crash when an unexpected ampersand is encountered
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rwconnelly at hotmail dot com
                CC: dkm at gcc dot gnu.org
  Target Milestone: ---

Created attachment 56485
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56485&action=edit
Source code & build environment information

The compiler crashes when it encounters the "&" character in the following line
of code

Bar := Foo & 16#f0#;

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

* [Bug ada/112342] exception raised when an unexpected ampersand is encountered
  2023-11-01 20:49 [Bug ada/112342] New: Crash when an unexpected ampersand is encountered rwconnelly at hotmail dot com
@ 2024-01-09 10:47 ` ebotcazou at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2024-01-09 10:47 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
           Keywords|                            |ice-on-invalid-code
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ebotcazou at gcc dot gnu.org
   Target Milestone|---                         |13.0
            Summary|Crash when an unexpected    |exception raised when an
                   |ampersand is encountered    |unexpected ampersand is
                   |                            |encountered

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
This is fixed in GCC 13 and later:
p.adb:14:14: error: invalid operand types for operator "&"

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

end of thread, other threads:[~2024-01-09 10:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-01 20:49 [Bug ada/112342] New: Crash when an unexpected ampersand is encountered rwconnelly at hotmail dot com
2024-01-09 10:47 ` [Bug ada/112342] exception raised " ebotcazou 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).