https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120803
Oskari Alaranta changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120803
--- Comment #3 from Jakub Jelinek ---
Plus there is an easy workaround, just cast it to some wider type. For -O0
purposes, better as constexpr as well. So constexpr unsigned char value =
0x80; constexpr int value_promoted = var; asm("int %0" :
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120803
Andrew Pinski changed:
What|Removed |Added
Keywords||documentation
--- Comment #2 from Andre
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120803
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #1