This is the mail archive of the gcc-help@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: 'char **' <-> 'unsigned char **' and aliasing/punning in C / GNU C


--------- Original Message --------
From: Pedro Alves <palves@redhat.com>
To: Ian Lance Taylor <iant@google.com>
Cc: GCC Help <gcc-help@gcc.gnu.org>
Subject: Re: 'char **' <-> 'unsigned char **' and aliasing/punning in C /
GNU C
Date: 11/03/13 13:35

> On 03/09/2013 01:37 AM, Ian Lance Taylor wrote:
> 
> &gt; Joseph is far more likely to be right than I am.
> 
> I appreciated your help anyway.  I believe he is indeed
> right, looking at C99/N1256, 6.5/7, but I can't claim I
> grok the &quot;legalese&quot; fully.
> 
> Turns out older gccs did complain on this:
> 
>  http://sourceware.org/ml/gdb-patches/2013-03/msg00429.html
> 
> (That was CentOS 5.9, I believe gcc 4.1.2;  I'm on Fedora 17, 4.7.2).

Here on FreeBSD it is 4.2.1 and it complains :)

Andreas



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