[Bug c/57725] conflicting language extensions

matz at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 28 13:12:00 GMT 2013


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

Michael Matz <matz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matz at gcc dot gnu.org

--- Comment #11 from Michael Matz <matz at gcc dot gnu.org> ---
Maybe with Jans specific example of getting the address of objects.
But IMO he has a point when the compiler itself
introduces an equality comparison that the author didn't write (by e.g.
transforming a from<end into from<=end) because it assumes that objects are
always at different addresses.  It shouldn't so assume for objects that
potentially use the emptyness extensions.  Unfortunately the compiler can't
tell which objects use it and which don't :-/



More information about the Gcc-bugs mailing list