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: [RFA] Some fixes to ipa-pure-const local analysis


> 
> 	* ipa-pure-const.c (check_decl): Do not handle used attribute
> 	on local objects specially; readonly reads are safe.
> 	(look_for_address_of): Remove.
> 	(check_rhs_var, check_lhs_var): Remove tree_could_trap check.
Hi,
after some discussion both here and offline, I am still convinced that
the changes are safe, so I've comitted to the pretty-ipa branch.
I will cleanup the local analysis and add nothrow/noreturn tracking too.

Honza


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