[LLVMbugs] [Bug 10950] New: clang asserts on (!type->isPlaceholderType())

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Sep 17 13:50:44 PDT 2011


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

           Summary: clang asserts on (!type->isPlaceholderType())
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: lists at eitanadler.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7287)
 --> (http://llvm.org/bugs/attachment.cgi?id=7287)
code that fails assertion

Clang crashes with an assertion failure when run on the attached (minified)
code.

Assertion failed: (!type->isPlaceholderType()), function CheckPlaceholderExpr,
file SemaExpr.cpp, line 10091.
Stack dump:
0.      Program arguments: /home/eitan/svn/llvm/Debug+Asserts/bin/clang -cc1
-triple x86_64-unknown-freebsd9.0 -emit-obj -mrelax-all -disable-free
-main-file-name the-one-that-failed.ii -mrelocation-model static
-mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables
-target-cpu x86-64 -target-linker-version 2.17.50 -momit-leaf-frame-pointer
-coverage-file the-one-that-failed.o -resource-dir
/home/eitan/svn/llvm/Debug+Asserts/bin/../lib/clang/3.0 -fdeprecated-macro
-ferror-limit 19 -fmessage-length 238 -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -fcolor-diagnostics -o the-one-that-failed.o -x
c++-cpp-output the-one-that-failed.ii 
1.      the-one-that-failed.ii:23:91: current parser token '}'
2.      the-one-that-failed.ii:18:1: parsing namespace 'std'
3.      the-one-that-failed.ii:23:25: parsing function body 'listMenu'
4.      the-one-that-failed.ii:23:25: in compound statement ('{}')
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang: note: diagnostic msg: Error generating preprocessed source(s) - no
preprocessable inputs.

-- 
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