This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Remove unnecessary casts
Jens-Michael Hoffmann <jensmh@gmx.de> writes:
>> I'm afraid not. gcc -Wtraditional doesn't catch everything, and in
>> particular it doesn't make the return type of malloc be char* (which
>> is what it is on a real K+R compiler).
>
> Ok. Then I withdraw the patch and continue in the cp-subdirectory.
> Which parts of gcc are required to be K&R-conformant?
The C front end, the optimizer, and the back ends.
To be safe, restrict your patches to the cp, f, java, objc, and ada
directories.
zw