From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25132 invoked by alias); 3 May 2007 12:12:12 -0000 Received: (qmail 25097 invoked by alias); 3 May 2007 12:12:02 -0000 Date: Thu, 03 May 2007 12:12:00 -0000 Message-ID: <20070503121202.25096.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 dot 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/msg00242.txt.bz2 ------- Comment #5 from ralf dot corsepius at rtems dot org 2007-05-03 13:12 ------- Subject: RE: error: unable to find a register to spill in class 'BASE_POINTER_REGS' On Thu, 2007-05-03 at 06:05 -0600, Eric Weddington wrote: > > > ------- Comment #2 from ralf_corsepius at rtems dot org > > 2007-05-03 10:27 ------- > > I can also reproduce the bug with 4.2.0-20070501. > > > > It also is related to optimization levels. Newlib is being > > compiled with -O2, > > which triggers this breakdown. Using -O1 or -Os to build > > init.c lets the > > breakdown vanish. > > > > Eric, due to bugzilla's current brokenness, I am sending you > > the *.i on PM. > > Hi Ralf, > All public distros use avr-libc instead of newlib to build an AVR toolchain: > > AFAIK, it is only RTEMS that attempts to use newlib. And because of this the > only testing that is done is when you do it, so I'm not surprised that > newlib is broken for the avr. Though what you say is true, the file avr bombs out on is mere "c", i.e. a bug in GCC. Ralf -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31786