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]

[PATCH] Fix Ada bootstrap (PR 54092)


That's what I get for assuming front-ends don't touch back-end things
like optabs and libcalls...

I'm reasonably certain that a better solution would be to move the
set_stack_check_libfunc declaration elsewhere and/or totally rearrange
that specific interface: c.f. lang_hooks.eh_protect_cleanup_actions.

That said, there's no practical benefit to using actual enums in this
hash table.  (Indeed, now that I think about it, it might even be better
to use the same sort of packed encoding used for raw_optab_handler; not
done here in this patch.)  Which lets us lose the dependency on optabs.h,
which has an implicit dependency on rtl.h.  Which is where we got into
trouble with the Ada front end.

Tested on x86_64-linux and committed.


r~

Attachment: z
Description: Text document


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