[LLVMbugs] [Bug 17330] Assertion failed: isInt() && "Invalid accessor", file C:\work\llvm\tools\clang\include\clang/AST/APValue.h, line 195
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Sep 23 17:41:45 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17330
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |sharparrow1 at yahoo.com
Resolution|--- |WORKSFORME
--- Comment #1 from Eli Friedman <sharparrow1 at yahoo.com> ---
On trunk, I get one of the following, depending on the target/dialect:
<stdin>:10:3: error: cast from pointer to smaller type 'unsigned int' loses
information
x<(unsigned)&f> a;
^~~~~~~~~~~~
1 error generated.
<stdin>:10:3: error: non-type template argument is not a constant expression
x<(unsigned)&f> a;
^~~~~~~~~~~~
<stdin>:10:3: note: cast that performs the conversions of a reinterpret_cast is
not allowed in a constant expression
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130924/5d8e2ae2/attachment.html>
More information about the llvm-bugs
mailing list