[Bug c/44555] Pointer evalutions, is that expected ?

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Jun 16 11:23:00 GMT 2010



------- Comment #5 from rguenth at gcc dot gnu dot org  2010-06-16 11:23 -------
I'd argue it's a QOI issue that the C frontend via
c_objc_common_truthvalue_conversion should not convert

  if (&a->b)

to

  if (0)

if the offset of b is zero.


-- 

rguenth at gcc dot gnu dot org changed:

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


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



More information about the Gcc-bugs mailing list