[Bug middle-end/21474] missed optimizations when comparing address to NULL
manu at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 15 17:03:00 GMT 2007
------- Comment #3 from manu at gcc dot gnu dot org 2007-11-15 17:03 -------
I think it is odd that if you call subr(i,0), it doesn't crash, that is &(p->a)
does not actually dereferences p. Nonetheless, I agree that the behaviour seems
inconsistent. A nice little project for someone. As they say, patches welcome!
--
manu at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-11-15 17:03:30
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21474
More information about the Gcc-bugs
mailing list