This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix pretty printing of array types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]