[Bug c++/46075] g++ wrongly lookups builtin types in ADL (compiles wrong code)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Oct 18 20:49:00 GMT 2010


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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2010-10-18 20:49:03 UTC ---
(In reply to comment #4)
> (In reply to comment #2)
> You mean "standard is buggy and gcc refuses to implement ill behaviour", right?
> Or behaviour is not specified by standard in such case?

The standard is buggy here and what GCC does is correct in one reading of the
standard but incorrect in another reading.  This is what a defect report is
about.



More information about the Gcc-bugs mailing list