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] |
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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |