From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26062 invoked by alias); 31 Jul 2002 20:16:03 -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 26013 invoked by uid 71); 31 Jul 2002 20:16:01 -0000 Resent-Date: 31 Jul 2002 20:16:01 -0000 Resent-Message-ID: <20020731201601.26012.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, mendell@ca.ibm.com Received: (qmail 21521 invoked by uid 61); 31 Jul 2002 20:08:42 -0000 Message-Id: <20020731200842.21520.qmail@sources.redhat.com> Date: Wed, 31 Jul 2002 13:16:00 -0000 From: mendell@ca.ibm.com Reply-To: mendell@ca.ibm.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/7459: Missing '*' in unwind-dw2.c ? X-SW-Source: 2002-07/txt/msg00821.txt.bz2 List-Id: >Number: 7459 >Category: c++ >Synopsis: Missing '*' in unwind-dw2.c ? >Confidential: no >Severity: non-critical >Priority: medium >Responsible: unassigned >State: open >Class: wrong-code >Submitter-Id: net >Arrival-Date: Wed Jul 31 13:16:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Mark Mendell >Release: gcc 3.1 >Organization: >Environment: Linux/PPC >Description: In routine uw_update_context_1, there is code: switch (fs->regs.reg[i].how) { case REG_UNSAVED: break; case REG_SAVED_OFFSET: context->reg[i] = cfa + fs->regs.reg[i].loc.offset; break; ... Should the case for REG_SAVED_OFFSET be indirecting the value? It seems that you are saving the address of the value, not the value itself. This is inconsistent with the other cases in the switch. >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: