This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[rs6000] -mno-sched-prolog vs .debug_frame
- From: Richard Henderson <rth at redhat dot com>
- To: dje dot gcc at gmail dot com
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, gnu at the-meissners dot org, amodra at gmail dot com
- Date: Fri, 01 Jul 2011 17:31:01 -0700
- Subject: [rs6000] -mno-sched-prolog vs .debug_frame
The implementation of TARGET_SCHED_PROLOG is incompatible with
some coming changes to how dwarf2 cfi is to be generated.
Some suggested solutions are:
(1) Remove the option. Is it really that interesting
beyond -mno-sched-insns2?
(2) Emit blockage insns at the end of the prologue
and the beginning of the epilogue. That'll prevent
the majority of the changes that scheduling could
introduce.
(3) Emit the prologue and epilogue somewhere after
scheduling and before final. E.g. md_reorg.
I'd be delighted if someone could actually implement one
of these changes at some point in the next week, but
failing that please weigh in on the preferred solution.
r~