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]

Re: pb with frame notes from hppa_expand_prologue ?


  In message <15218.19922.881870.525782@berlin.int.act-europe.fr>you write:
  > 
  > Hello,
  > 
  > Using trunk sources, I saw your changes to get DWARF2 info on pa-linux and 
  > am
  > trying to get the same for pa-hpux, but hit a problem at O1/O2 that does no
  > t
  > seem to be hpux specific. I think I see what the problem is, but I might we
  > ll
  > be mistaken, so am unsure how this should be fixed if the analysis below is
  > correct.
  > 
  > A bit of light would be welcome :)
I believe you need to set FRAME_RELATED_P on the sub expressions within
the PARALLEL.  Something like this:

     /* Set RTX_FRAME_RELATED_P on the insn and each member of the
         PARALLEL for the dwarf2 unwinder.  */
      RTX_FRAME_RELATED_P (insn) = 1;
      for (i = 0; i < XVECLEN (PATTERN (insn), 0); i++)
        RTX_FRAME_RELATED_P (XVECEXP (PATTERN (insn), 0, i)) = 1;

Where INSN is the value returned by emit_insn (gen_post_store ...))

jeff


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