This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++7459: Missing '*' in unwind-dw2.c ?
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: gcc-bugs at gcc dot gnu dot org, <gcc-gnats at gcc dot gnu dot org>, <jason at redhat dot com>
- Date: Wed, 30 Oct 2002 17:18:10 -0600 (CST)
- Subject: Re: c++7459: Missing '*' in unwind-dw2.c ?
Jason,
you may be the wrong person to contact, but you are listed the most often
with non-trivial changes in the logfiles of unwind-dw2.c. Could you please
take a look at c++/7459 (I attach the text of it below for convenience),
or forward this report to someone who has knowledge about? I have no clue
what this report is about, but it seems like an easy fix (or an easy
"close").
Regards
Wolfgang
Here's how it goes:
> 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.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth