From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22357 invoked by alias); 6 Jan 2006 09:54:15 -0000 Received: (qmail 22347 invoked by uid 48); 6 Jan 2006 09:54:13 -0000 Date: Fri, 06 Jan 2006 09:54:00 -0000 Subject: [Bug c/25690] New: error: unrecognizable insn - failed to assign &a[1] if a is a struct X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "olaf at bonorden dot de" 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 X-SW-Source: 2006-01/txt/msg00555.txt.bz2 List-Id: Source (test.c): struct type { char dummy; } a[2]; void test( void ) { struct type* b = &a[1]; } compiler call: mcore-gcc test.c -c output: test.c: In function 'test': test.c:7: error: unrecognizable insn: (insn 8 6 9 3 (set (reg:SI 25) (const:SI (plus:SI (symbol_ref:SI ("a") ) (const_int 1 [0x1])))) -1 (nil) (nil)) test.c:7: internal compiler error: in extract_insn, at recog.c:2084 -- Summary: error: unrecognizable insn - failed to assign &a[1] if a is a struct Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: critical Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: olaf at bonorden dot de GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: mcore-be-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25690