[Bug rtl-optimization/77425] Pointer test follows dereference in sched-int.h

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 31 19:27:00 GMT 2016


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
There is also this example:

odr_type
get_odr_type (tree type, bool insert)
{
  ....
  odr_types[val->id] = 0;
  gcc_assert (val->derived_types.length() == 0);
  if (odr_types_ptr)
    val->id = odr_types.length ();
  ....
}

which is even more insidious since it is hidden behind macros.


More information about the Gcc-bugs mailing list