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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-09-21
     Ever confirmed|0                           |1
           Keywords|                            |testsuite-fail
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.

(unsigned char) '\234' * (unsigned)scale

has an overflow which causes the issue.

Simple fix:
```
#define B ((int) ((unsigned char) '\234' * (unsigned)scale + (unsigned char)
'b'))
```

Reply via email to