[Bug c++/45383] [4.5 Regression] Implicit conversion to pointer does no longer automatically generate operator== and operator!=.

dodji at seketeli dot org gcc-bugzilla@gcc.gnu.org
Wed Apr 27 11:43:00 GMT 2011


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

--- Comment #12 from dodji at seketeli dot org <dodji at seketeli dot org> 2011-04-27 11:37:43 UTC ---
> Dodji, is there any reason not to apply this fix to 4.5 as well?

I was waiting to see how the initial fix would behave in 4.6 and it felt
below my radar.  But then PR c++/46824 hinted for a better fix for this
issue.  So I am backporting the revert of PR c++/42260 and the fix of PR
c++/46824 instead.

I have tested it on x86_64-unknown-linux-gnu aginst 4.5



More information about the Gcc-bugs mailing list