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] Stop mapping Pure on Ada functions to GCC const


Richard Guenther wrote:
> So, what is the failure mode you are seeing?  That
> a const call is DCE'd?

 Well, yes, with the called function made const eventhough it could throw,
 which we understood was invalid, roughly because const gets interpreted
 as !side_effects.


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