This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Don't set DECL_IGNORED_P on a cdtor function
> There's two sets of frame information on targets which use DWARF-2
> for exception handling: .debug_frame and .eh_frame. I don't think
> DECL_IGNORED_P should suppress either.
OK, the bottom line is that it doesn't suppress either when they both exist,
e.g. for languages with EH and for targets with DWARF-2 unwind info. It
suppresses the former for targets without DWARF-2 unwind info (VxWorks) or
for languages without EH.
It all boils down to which functions you put DECL_IGNORED_P on. In Ada, we
really want to completely ignore them so .debug_frame is not a problem.
However, given the awkward variability of its effects depending on the target,
I agree that it's probably better to revert the change. Will do shortly.
--
Eric Botcazou