[Bug tree-optimization/100503] A possible divide by zero problem in function do_rpo_vn

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon May 10 16:25:55 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100503

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There will always be at least one BB which has its BB_EXECUTABLE set.
As shown by (on line 7610):
  entry->dest->flags |= BB_EXECUTABLE;

It is hard to do this kind of static anlysis without understanding the code
fully.


More information about the Gcc-bugs mailing list