This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] strict types in code generators.
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Marcin Dalecki <martin at dalecki dot de>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 01 Mar 2005 20:19:33 -0800
- Subject: Re: [PATCH] strict types in code generators.
- References: <aef688ee6101ba52e9139d3251ed1c0f@dalecki.de>
Marcin Dalecki <martin@dalecki.de> writes:
> * gengtype.c: Inform in the generated code about the generator.
> Avoid leftover static code declarations for generated functions.
> Properly declare the generated functions as storage qualified extern.
I don't really understand what this piece is doing. Note that
"extern" is redundant on a function declaration.
> * genmodes.c, machmode.h: Use the proper enum mode_class type
> instead of the "opaque" unsigned char, since this is what the
> objects in question are really used for.
Not OK. This will quadruple the size of the arrays in question.
zw