https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108590
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|- 1_short_consteval is not |- 1_short_consteval is not
|being promoted to int |being promoted to int
|before doing the negative |before doing the unary
| |operator negative
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
f(+1_int16_consteval);
Works even ....
Just not unary operator neg.