From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31570 invoked by alias); 3 May 2007 14:21:03 -0000 Received: (qmail 30653 invoked by uid 48); 3 May 2007 14:20:40 -0000 Date: Thu, 03 May 2007 14:21:00 -0000 Message-ID: <20070503142040.30652.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/31786] error: unable to find a register to spill in class 'BASE_POINTER_REGS' In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ralf_corsepius at rtems dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-05/txt/msg00250.txt.bz2 ------- Comment #7 from ralf_corsepius at rtems dot org 2007-05-03 15:20 ------- FYI: Vanilla gcc-4.1.2 without newlib also exposes this issue with the code fragment from comment #6: ./avr-gcc -o tmp.o -c init.c -O2 init.c: In function 'init_array': init.c:12: error: unable to find a register to spill in class 'BASE_POINTER_REGS' init.c:12: error: this is the insn: (insn 61 30 31 2 (set (mem/c:HI (plus:HI (reg/f:HI 28 r28) (const_int 1 [0x1])) [4 S2 A8]) (reg:HI 24 r24)) 12 {*movhi} (nil) (nil)) init.c:12: confused by earlier errors, bailing out -- ralf_corsepius at rtems dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to fail|4.2.0 |4.1.2 4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31786