This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: pb with frame notes from hppa_expand_prologue ?
- To: Olivier Hainque <hainque at act-europe dot fr>
- Subject: Re: pb with frame notes from hppa_expand_prologue ?
- From: law at redhat dot com
- Date: Wed, 29 Aug 2001 12:10:01 -0600
- cc: alan at linuxcare dot com dot au, gcc-bugs at gcc dot gnu dot org
- Reply-To: law at redhat dot com
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