[Bug target/92821] Miscompilation when passing 8-bit enum to extern function
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 5 14:35:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92821
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Note that for most types one ends up with zero or sign extension already due to
C/C++ promotion rules, though in the ABI still can't use that as guarantee, but
C++ typed enums aren't promoted.
More information about the Gcc-bugs
mailing list