Re: [PATCH] gcc.c-torture/ cleanup

2014-09-30 Thread Jeff Law
On 09/30/14 09:22, Marek Polacek wrote: I did this as a part of preparing the testsuite to cope with the (possible) gnu11 default. But I think it's a reasonable cleanup on its own. With gnu11, we'd start to warn about defaulting to int, missing function declarations, and functions without retur

[PATCH] gcc.c-torture/ cleanup

2014-09-30 Thread Marek Polacek
I did this as a part of preparing the testsuite to cope with the (possible) gnu11 default. But I think it's a reasonable cleanup on its own. With gnu11, we'd start to warn about defaulting to int, missing function declarations, and functions without return type. I added -fgnu89-inline when a tes