This is the mail archive of the gcc-bugs@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]

[Bug c/26492] -Wstrict-aliasing=2 warns about explicitly allowed cast to pointer to union.



------- Comment #2 from bartoldeman at users dot sourceforge dot net  2006-02-28 01:27 -------
I am sorry about not being clear: I did read the documentation.

With
"Although the documentation does not say it must trigger, ..."

I meant:
"Although the documentation does not say that if the warning is given then
strict aliasing is actually done, ...".
which is why I filed this as an "enhancement" bug. 
I hope this case is not ambiguous, as the documentation may claim it to be.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26492


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