This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/44555] Pointer evalutions, is that expected ?
- From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jun 2010 11:23:12 -0000
- Subject: [Bug c/44555] Pointer evalutions, is that expected ?
- References: <bug-44555-19333@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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