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: [Committed] PR26557: Handle const_int in emit_case_nodes



On Mar 13, 2006, at 7:31 PM, Roger Sayle wrote:


I'm not sure if we're guaranteed to call fold_stmt on every statement
at -O1, but it might be reasonable to do this in the gimplifier as
fold_stmt can perform more transformations than fold?  It should also
be cheaper than relying on store CCP which may legitimately be turned
off at low optimization levels.


fold_stmt is called on at least 95% of the statements with remove_useless_stmts.

-- Pinski


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