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/34649] redundant if expression in find_conditional_asserts



------- Comment #1 from ubizjak at gmail dot com  2008-01-03 16:10 -------
(In reply to comment #0)
> /*gcc/tree-vrp.c */
> 
> 3603 static bool
> 3604 find_conditional_asserts (basic_block bb, tree last)
> 3605 {
>     ...
>            if (e->dest == bb)
> 3623         continue;
>     ...
> 3652       if (e->dest != bb)
> 3653         need_assert |= find_assert_locations (e->dest);

Please post a patch (including a ChangeLog entry) to gcc-patches@gcc.gnu.org
mailing list. I'll regression test the patch for you, if you are not (yet)
familiar with testing procedure.


-- 


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


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