From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15974 invoked by alias); 21 Dec 2001 17:16:02 -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 15954 invoked by uid 71); 21 Dec 2001 17:16:02 -0000 Date: Fri, 21 Dec 2001 09:16:00 -0000 Message-ID: <20011221171602.15953.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Reichelt Subject: Re: c++/4979: g++ 3.0 & 3.1 compile failes with unable to find register to spill Reply-To: Reichelt X-SW-Source: 2001-12/txt/msg01042.txt.bz2 List-Id: The following reply was made to PR c++/4979; it has been noted by GNATS. From: Reichelt To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, tmwg@inxservices.com Cc: Subject: Re: c++/4979: g++ 3.0 & 3.1 compile failes with unable to find register to spill Date: Fri, 21 Dec 2001 18:23:29 +0100 Hi, the ICE can be reproduced with the following small example: class A { int i; A& f(); }; A& A::f() { i/=3; return *this; } Just compile the snippet with "g++ -O -fschedule-insns" (gcc 3.0.x or 3.1 20011219 on i686-pc-linux-gnu). Greetings, Volker Reichelt http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4979