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++/21699] asm and cast-to-reference -> bad code


------- Additional Comments From Emmanuel dot Thome at inria dot fr  2005-05-21 16:42 -------
(In reply to comment #3)
> You are violating C++ aliasing rules.
> You are accessing a long variable as an int.
> 

ok. I'll try to have gmp fixed then.

shouldn't -Wstrict-aliasing issue a warning in such a situation ?

E.

-- 


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


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