From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32377 invoked by alias); 16 Dec 2002 05:53:20 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 32368 invoked from network); 16 Dec 2002 05:53:19 -0000 Received: from unknown (HELO csil-server1.cs.uiuc.edu) (128.174.242.180) by sources.redhat.com with SMTP; 16 Dec 2002 05:53:19 -0000 Received: from ta-cluster1.cs.uiuc.edu (ta-cluster1.cs.uiuc.edu [128.174.243.50]) by csil-server1.cs.uiuc.edu (8.12.5/8.12.5) with ESMTP id gBG5rIKm021435 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Sun, 15 Dec 2002 23:53:19 -0600 (CST) Date: Sun, 15 Dec 2002 22:46:00 -0000 From: Michael Bond To: gcc-help@gcc.gnu.org Subject: unrecognized insn: subreg of 64-bit register on 32-bit linux Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-12/txt/msg00159.txt.bz2 Hi, I'm getting the following error (see below) under 32-bit x86 Linux with GCC 3.2. This error occurs because GCC has been modified to compile UPC, a parallel variant of C (http://www.interpid.com/upc). UPC uses 64-bit pointers for shared data, where 32 bits are for the virtual address and 32 bits are for other data that UPC needs. This works fine on the SGI Origin 2000, GCC UPC's target machine. I'm trying to port it to Linux, but the i386.md file doesn't include patterns for taking a 32-bit portion of a 64-bit value. Any ideas for how to make this work? Thanks a lot, Michael ---------------- src/test00.upc: In function `main': src/test00.upc:13: unrecognizable insn: (insn 53 16 55 (set (mem:SI (reg/f:SI 7 esp) [0 S4 A8]) (subreg:SI (symbol_ref:DI ("b")) 0)) -1 (nil) (nil)) src/test00.upc: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.