This is the mail archive of the gcc@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: void* <-> char* aliasing rule, C standard or glitch?


On 7/1/06, Elmar Krieger <elmar@cmbi.ru.nl> wrote:
I searched hard, but couldn't determine conclusively if the C standard
allows to alias a void* pointer with a char* pointer.

Search in the GCC documentation, under -fstrict-aliasing:


http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Optimize-Options.html#index-fstrict_002daliasing-542

Gr.
Steven


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