[LLVMbugs] [Bug 6918] clang++: lazy instantiation issue?
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Apr 24 08:13:08 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=6918
Douglas Gregor <dgregor at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Douglas Gregor <dgregor at apple.com> 2010-04-24 10:13:08 CDT ---
Clang is right to reject this. ABS is looked up at template definition time
(which finds nothing), then augmented by the results of argument-dependent
lookup (which does not add anything, since "float" has no associated
namespaces).
GCC does extra lookups not permitted by the C++ standard, and therefore accepts
this ill-formed code.
--
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