On 09/12/15 04:43, Joern Wolfgang Rennecke wrote:
You can also consider having separate options to control optimizations
that affect debugging.
If leaving out epilogue cfi is what it takes to allow epilogue
scheduling without the compiler crashing,
then that is what should be done by default at -O2, but if someone
finds that particularly vexing,
they might appreciate a -mepilogue-cfi option to change that default,
and instead disable some
scheduling (delay slot and otherwise).
P.S.: It might also make sense to build some or all libraries with such
an option, depending on what
the priorities for performance / debuggability are.