This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/36607] [4.3/4.4 Regression] Incorrect type diagnostic on substracting casted char pointers



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]