[PATCH] Diagnose pr54694

Richard Henderson rth@redhat.com
Thu Jan 16 17:51:00 GMT 2014

On 01/16/2014 09:35 AM, Jakub Jelinek wrote:
> Wonder if the test should be turned into dg-do compile,
> or perhaps a hack like:
> int xmain() __asm__ ("main");
> int xmain()
> instead of
> int main()
> to avoid the dynamic stack realigning in main (limit the test to *linux*
> then?), supply main written in assembly, something else?

The __asm__ hack seems reasonable, although you'll also have to deal


More information about the Gcc-patches mailing list