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


On 03/09/2013 01:37 AM, Ian Lance Taylor wrote:

> 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 "legalese" 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).

-- 
Pedro Alves


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