[llvm-bugs] [Bug 44292] New: Parser crash
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Dec 13 04:12:08 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44292
Bug ID: 44292
Summary: Parser crash
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: W1RPUJQXS5D0SRW18WKS6EZ4HKORNX at cmx.ietfng.org
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
This fragment of a program
// RUN: %clang_cc1 -triple powerpc64le-unknown-linux-gnu -disable-free
-main-file-name OutputSections.cpp -fmath-errno -masm-verbose -U NDEBUG
-pedantic -fdeprecated-macro -ferror-limit 19 -fmessage-length 0
-fvisibility-inlines-hidden -fno-signed-char -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -o - -emit-llvm -O0
-Wimplicit-int %s
template <typename> class a;
b() { a< char >::append(
is, of course, invalid, but triggers after diagnostic reporting:
clang: /cheri/source/llvm-project/clang/lib/Parse/ParseExprCXX.cpp:585:
clang::ExprResult clang::Parser::tryParseCXXIdExpression(clang::CXXScopeSpec &,
bool, clang::Token &): Assertion `SS.isEmpty() && "undeclared non-type
annotation should be unqualified"' failed.
--
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/20191213/f49d77f1/attachment.html>
More information about the llvm-bugs
mailing list