From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8836 invoked by alias); 6 Jan 2003 12:07:20 -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 8767 invoked by uid 61); 6 Jan 2003 12:07:10 -0000 Date: Mon, 06 Jan 2003 12:07:00 -0000 Message-ID: <20030106120708.8766.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, j.vanbemmel@home.nl, nobody@gcc.gnu.org From: reichelt@igpm.rwth-aachen.de Reply-To: reichelt@igpm.rwth-aachen.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, j.vanbemmel@home.nl, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: optimization/9085: gcc 3.2 unable to find register to spill when optimizing X-SW-Source: 2003-01/txt/msg00318.txt.bz2 List-Id: Synopsis: gcc 3.2 unable to find register to spill when optimizing State-Changed-From-To: open->analyzed State-Changed-By: reichelt State-Changed-When: Mon Jan 6 04:06:53 2003 State-Changed-Why: Confirmed (on i686-pc-linux-gnu). A cleaned-up testcase is the following: ------------------------snip here------------------------ struct A { unsigned char c; int i, j; void foo (unsigned, unsigned, unsigned); }; void A::foo (unsigned c0, unsigned i0, unsigned j0) { c = c0%3; i = i0; j = j0; } ------------------------snip here------------------------ The bug is present since at least gcc 2.95.x and is still present in the 3.3 branch and mainline (3.4 20021230). http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9085