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: ipa-pure-const fixes


Hi,
I was discussing this bit more with Richard, and I still don't see problem in
the pass.  It might cause miscompilation if the error handler in Ada was both
declared noreturn and had no side effects in it. (i.e. Ada had gimple
representation of termination of program that is not recognized as side effect
by pure-const pass).  This would be a bug.

Can I have a testcase and way how to compile it? Or at least
-fdump-ipa-all-details output of pure-const pass where it cause miscompilation?

Honza


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