https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112938
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=48274, | |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=112877 Status|UNCONFIRMED |NEW Last reconfirmed| |2023-12-09 Ever confirmed|0 |1 Target| |x86_64-linux-gnu --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced C testcase: ``` void f(volatile short) {} void g() { f(0); } ``` The problem happens on x86_64 and not aarch64 due to TARGET_PROMOTE_PROTOTYPES macro.