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: [Ada] transform raise into goto


Duncan Sands wrote:
Hi Arnaud,

This patch implements the transformation of raise statements into goto
statements in cases where this is possible semantically. A new restriction
No_Exception_Propagation triggers this transformation. This restriction
has the following effects:

this is great new functionality! Is it conceivable that the compiler itself could be built using this (and still work properly)?

No certainly not, there are plenty of places in the compiler which depend on exception propagation.


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