This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, _eh, dawin, Version2] Allow targets to suppress epilogues in _eh frames.
Hi Richard,
On 16 Aug 2010, at 17:18, Richard Henderson wrote:
<snipped > .... other points taken on board....
Also, I'm noticing that dwarf2out.c uses
flag_asynchronous_unwind_tables
in places where it really means cfun->can_throw_non_call_exceptions.
In fact, almost all occurrences of f_a_u_t in dwarf2out.c are in
error.
The only exception that I can see off-hand is in fde_needed_for_eh_p,
which would need an extra check vs cfun-
>can_throw_non_call_exceptions.
How should we proceed on this?
And also there is the remaining question about the GNU-specific code
(which I fear will get re-enabled when the stuff above is fixed).
... should I expect a dwarf-2-strict target to be able to interpret
that code?
... or should I be able to replace it with a (possibly less efficient)
sequence that is dwarf-2-strict?
All of which affects the changes that you need to make within
toplev.c.
OK - although (independent of this patch) it seems to me that toplev.c
is overriding a user flag without any diagnostic.
thanks for reviewing,
Iain
- References:
- [Patch, _eh, dawin] Allow targets to suppress epilogues in _eh frames.
- Re: [Patch, _eh, dawin] Allow targets to suppress epilogues in _eh frames.
- [Patch, _eh, dawin, Version2] Allow targets to suppress epilogues in _eh frames.
- Re: [Patch, _eh, dawin, Version2] Allow targets to suppress epilogues in _eh frames.