* Florian Weimer via Gcc: > * Jakub Jelinek: > >> On Fri, Oct 21, 2022 at 11:17:40AM +0200, Florian Weimer wrote: >>> So we would patch the tests? >> >> Depends on how large the patch is, but I'd say so. >> >>> I guess we can make sure we use “int main >>> (void)” etc. at the same time. >> >> Why? Isn't int main () {} in C2X the same thing as int main (void) {} ? >> int main () {...} is in 3500+ C tests and every day a few are added... > > Is this really possible? For function pointers, it's an ABI change. > int (*) () and int (*) (void) have different calling conventions on some > ABIs (e.g., powerpc64le-linux-gnu). The ABI difference goes away once > the callees are rebuilt, and I think such rebuilt callees are compatible > with either calling convention.
I'm probably wrong about that. I kind find the place where the rs6000 backend would use the extra space for general-purpose spilling. Thanks, Florian