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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Internal compiler error     |internal compiler error on
                   |when using Ada 'Image       |'*' instead of '&' in
                   |attribute for record        |string concatenation
                   |(-gnat2022)                 |
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ebotcazou at gcc dot gnu.org
         Resolution|---                         |FIXED
   Target Milestone|---                         |13.4

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
That's just a syntax error, reported by GCC 13 and later:

capturevideo.adb:31:25: error: invalid operand types for operator "*"
capturevideo.adb:31:25: error: left operand has a string type
capturevideo.adb:31:25: error: right operand has type "Standard.String"

This compiles if you replace '*' by '&'.
  • [Bug ada/117808] New: I... commaperiodsemicolon at gmail dot com via Gcc-bugs
    • [Bug ada/117808] i... ebotcazou at gcc dot gnu.org via Gcc-bugs

Reply via email to