This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/36978] [4.4 Regression] ICE in gimple_cond_set_lhs for -O2 -funswitch-loops after tuples merge



------- Comment #2 from pinskia at gcc dot gnu dot org  2008-07-30 23:59 -------
(gdb) p debug_generic_expr (lhs)
(_Bool) flag_7(D)

In tree_may_unswitch_on, we have:
126       cond = fold_build2 (gimple_cond_code (stmt), boolean_type_node,
127                           gimple_cond_lhs (stmt), gimple_cond_rhs (stmt));


But this could produce an extra NOP_EXPR as fold tries to be type strict rather
using the gimple type system.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36978


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