From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11243 invoked by alias); 23 Jun 2003 23:09:40 -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 18953 invoked by uid 48); 23 Jun 2003 22:39:23 -0000 Date: Mon, 23 Jun 2003 23:09:00 -0000 Message-ID: <20030623223923.18947.qmail@sources.redhat.com> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20030623155039.11295.jfc@legra.com> References: <20030623155039.11295.jfc@legra.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11295] [3.3/3.4 Regression] *reinterpret_cast causes ICE X-Bugzilla-Reason: CC X-SW-Source: 2003-06/txt/msg02507.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11295 ------- Additional Comments From bangerth at dealii dot org 2003-06-23 22:39 ------- Yes, that's what I meant: you'll have to emulate the byte-pattern of a usable std::string object. But then you expose yourself to changes in the internals of the std::string implementation. If you're fine with that, then so am I :-) But that's certainly not what we're talking about in this bug report, I was just answering to Andrew's question about the legality of the code. It's still the ICE that's the problem. W.