From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 604 invoked by alias); 9 Sep 2002 22:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 575 invoked by uid 71); 9 Sep 2002 22:26:00 -0000 Resent-Date: 9 Sep 2002 22:26:00 -0000 Resent-Message-ID: <20020909222600.574.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, alex.zatsman@analog.com Received: (qmail 30053 invoked from network); 9 Sep 2002 22:19:49 -0000 Received: from unknown (HELO nwd2mime2.analog.com) (137.71.25.114) by sources.redhat.com with SMTP; 9 Sep 2002 22:19:49 -0000 Received: from nwd2gtw1 (unverified) by nwd2mime2.analog.com (Content Technologies SMTPRS 4.2.5) with SMTP id ; Mon, 9 Sep 2002 18:19:47 -0400 Received: from nwd2mhb1 ([137.71.5.12]) by nwd2gtw1; Mon, 09 Sep 2002 18:19:44 -0400 (EDT) Received: from zeus.spd.analog.com ([137.71.111.11]) by nwd2mhb1.analog.com with ESMTP (8.9.3 (PHNE_18979)/8.7.1) id SAA25867; Mon, 9 Sep 2002 18:19:44 -0400 (EDT) Received: from tula.spd.analog.com (mail@tula.spd.analog.com [137.71.116.19]) by zeus.spd.analog.com (8.11.6/8.11.6) with ESMTP id g89MJhg10748; Mon, 9 Sep 2002 18:19:43 -0400 (EDT) Received: from az by tula.spd.analog.com with local (Exim 3.35 #1 (Debian)) id 17oWpy-0007Jl-00; Mon, 09 Sep 2002 18:16:54 -0400 Message-Id: Date: Mon, 09 Sep 2002 15:26:00 -0000 From: alex.zatsman@analog.com To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org X-Send-Pr-Version: 3.113 Subject: c/7873: arm-linux-gcc fails when assigning address to a bit field X-SW-Source: 2002-09/txt/msg00161.txt.bz2 List-Id: >Number: 7873 >Category: c >Synopsis: arm-linux-gcc fails when assigning address to a bit field >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Mon Sep 09 15:26:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Alex Zatsman >Release: arm-linux-gcc v.3.2 >Organization: Analog Devices >Environment: System: Linux tula 2.4.9 #1 SMP Fri Oct 26 14:37:41 EDT 2001 i686 unknown Architecture: i686 host: i386-pc-linux-gnu build: i386-pc-linux-gnu target: i386-pc-linux-gnu configured with: arm-linux set >Description: ./arm-linux-gcc -c xxx2.c xxx2.c: In function `foo': xxx2.c:13: unrecognizable insn: (insn 13 11 15 (set (reg:SI 34) (ashift:SI (symbol_ref:SI ("x0")) (const_int 12 [0xc]))) -1 (nil) (nil)) xxx2.c:13: Internal compiler error in extract_insn, at recog.c:2148 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: /** Run "arm-linux-gcc -c" on this preprocessed segment : **/ unsigned int x0 = 0; typedef struct { unsigned int field1 : 20; unsigned int field2 : 12; } XX; static XX yy; static void foo (void) { yy.field1 = (unsigned int ) (&x0); } >Fix: You tell me :) >Release-Note: >Audit-Trail: >Unformatted: