[LLVMbugs] [Bug 12931] incorrect overload resolution

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 23 21:31:30 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=12931

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
          Component|C++                         |C++11
         Resolution|                            |FIXED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-05-23 23:31:30 CDT ---
In C++98, we're technically doing the right thing, since volatile in a
reference binding doesn't affect overload resolution there.

That said, DR1152 (which added the 'volatile' check in C++11) smells like a bug
fix to me, so I've applied the fix to both modes. This also matches g++'s
behavior. r157370.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list