http://bugs.llvm.org/show_bug.cgi?id=32073
Richard Smith <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |INVALID
Status|RESOLVED |CLOSED
--- Comment #6 from Richard Smith <[email protected]> ---
Thanks for filing this!
(In reply to Hugh Bellamy from comment #4)
> Is this related to
> http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#903
> ("Value-dependent integral null pointer constants")
Yes, it's exactly that.
> Odd, considering GCC *can* disambiguate this [...]
Wild guess: GCC is folding the cast of the integer literal into a 0U literal
while parsing, so it can't tell that there was a cast.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs