From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31389 invoked by alias); 13 Jul 2005 02:22:11 -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 31368 invoked by uid 48); 13 Jul 2005 02:22:05 -0000 Date: Wed, 13 Jul 2005 02:24:00 -0000 From: "mrd at alkemio dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050713022203.22448.mrd@alkemio.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/22448] New: ICE on dereferencing a label in an asm statement X-Bugzilla-Reason: CC X-SW-Source: 2005-07/txt/msg01526.txt.bz2 List-Id: With gcc 4.0.1, compiling the following results in an ICE: void foo () { label: asm ("" : : "g" (*&&label)); } Admittedly I don't expect it to do anything useful, but I was told in #gcc that I should report the ICE anyways. (For what it's worth, this same code snippet compiles without error in gcc 3.3 and 3.4.) -- Summary: ICE on dereferencing a label in an asm statement Product: gcc Version: 4.0.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mrd at alkemio dot org CC: gcc-bugs at gcc dot gnu dot org GCC host triplet: i386-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22448