[Bug c++/36607] [4.3/4.4 Regression] Incorrect type diagnostic on substracting casted char pointers
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Dec 30 17:14:00 GMT 2008
------- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-30 17:13 -------
I have a simple fix, the front-end should have already warned about the
conversion from a pointer to a member object to an integer type. Therefor
convert can handle OFFSET_TYPE just like INTEGER_TYPE and such.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36607
More information about the Gcc-bugs
mailing list