This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]