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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-06-18
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
>enum H { x = 2UL + UINT_MAX };          /* { dg-error "outside the range" } */

UL should most likely be ULL here.
or require lp64 target.

and yes this is just a testsuite issue. Because on ILP32 targets, `unsigned
long` is the same as `unsigned int` so obvious they won't fail.

NOTE there are also LLP64 targets where long is still the same size as int.

Reply via email to