This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix pretty printing of array types
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 20 Apr 2006 02:53:55 +0200
- Subject: Re: [PATCH] Fix pretty printing of array types
- References: <20060419224040.GD18543@devserv.devel.redhat.com>
Jakub Jelinek <jakub@redhat.com> writes:
| Hi!
|
| As shown on the testcase below, c-pretty-print.c currently prints for array
| types the max index value rather than the size of the array, so GCC warns
| about packed attribute being ignored for field of type `unsigned char[0u]'
| when the type is actually unsigned char[1], etc.
| The following patch fixes that, ok for trunk?
Yes.
Thanks for correcting my silly mistake.
-- Gaby