From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11091 invoked by alias); 24 Feb 2005 10:58:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 10925 invoked by uid 48); 24 Feb 2005 10:58:00 -0000 Date: Thu, 24 Feb 2005 15:14:00 -0000 Message-ID: <20050224105800.10924.qmail@sourceware.org> From: "falk at debian dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050224101337.20184.dirk@cle-mens.de> References: <20050224101337.20184.dirk@cle-mens.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/20184] assignment error in inline function X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg02936.txt.bz2 List-Id: ------- 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