This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/20184] assignment error in inline function
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Feb 2005 10:58:00 -0000
- Subject: [Bug c++/20184] assignment error in inline function
- References: <20050224101337.20184.dirk@cle-mens.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From falk at debian dot org 2005-02-24 10:57 -------
(In reply to comment #2)
> The cast is, perhaps, illegal.
No, the cast is fine. The access is bad.
> But after the cast there is an assignment from
> uint32 to uin64. And that assignment does not work.
Since this has undefined behaviour, it cannot possibly "not work".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20184