This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] New function: current_function_has_landing_pads


(Yep, I'm this | far behind on mailing list reading...)
               V
On Wed, 22 Jun 2005, Andreas Krebbel wrote:
> Hi,
>
> I'm working on a S/390 patch improving register saving decisions in
> function prologue and epilogue.
>
> For saving the exception handling registers I need to know whether a
> function contains a landing pad or not. Because I didn't found a flag
> or a function which exactly meets my requirements I've added a
> "current_function_has_landing_pads" function to except.c.

This is all moot now, but still...
See gcc/config/mmix.c for how you *could* have solved it in
target-specific code.  Grep for "current_function_has_landing_pad". :-)

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]