[LLVMbugs] [Bug 10818] New: Crash compiling compound statement
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Aug 31 02:23:00 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10818
Summary: Crash compiling compound statement
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: vanboxem.ruben at gmail.com
CC: llvmbugs at cs.uiuc.edu
I would think it has something to do with broken uniform initializers, but a
stack dump is never good...
clang++ -c -std=c++0x -pedantic-errors -Wextra -Wall -Wconversion -Weffc++
-Wmissing-include-dirs -Wstrict-aliasing -Werror -g -frtti -fexceptions
-mthreads -Wall -DAMBROSIA_DEBUG -I"..\..\..\Source\Ambrosia\libAmbrosia"
-I"..\..\..\Source\Ambrosia\libAmbrosia\Include" -I"."
-I"..\..\Qt\mkspecs\win32-g++" -o debug\nectar.o
..\..\..\Source\Ambrosia\libAmbrosia\Source\Ambrosia\nectar.cpp
..\..\..\Source\Ambrosia\libAmbrosia\Source\Ambrosia\nectar.cpp:60:47: error:
use of undeclared identifier 'item'
emit_error( "\t" + item.first );
^
Stack dump:
0. Program arguments: M:/Development/mingw64/bin/clang++.exe -cc1 -triple
x86_64-w64-mingw32 -S -disable-free -disable-llvm-verifier -main-file-name
nectar.cpp -mrelocation-model static -mdisable-fp-elim -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -target-linker-version 2.21.51.0.6
-momit-leaf-frame-pointer -g -coverage-file
C:/Users/Ruben/AppData/Local/Temp/cc-665309.s -resource-dir
M:/Development/mingw64/bin\..\lib\clang\3.0 -D AMBROSIA_DEBUG -I
..\..\..\Source\Ambrosia\libAmbrosia -I
..\..\..\Source\Ambrosia\libAmbrosia\Include -I . -I ..\..\Qt\mkspecs\win32-g++
-Wextra -Wall -Wconversion -Weffc++ -Wmissing-include-dirs -Wstrict-aliasing
-Werror -Wall -pedantic-errors -std=c++0x -fdeprecated-macro -ferror-limit 19
-fmessage-length 0 -fno-use-cxa-atexit -fcxx-exceptions -fexceptions
-fdiagnostics-show-option -o C:/Users/Ruben/AppData/Local/Temp/cc-665309.s -x
c++ ..\..\..\Source\Ambrosia\libAmbrosia\Source\Ambrosia\nectar.cpp
1. ..\..\..\Source\Ambrosia\libAmbrosia\Source\Ambrosia\nectar.cpp:61:26:
current parser token ')'
2. ..\..\..\Source\Ambrosia\libAmbrosia\Source\Ambrosia\nectar.cpp:40:1
<Spelling=..\..\..\Source\Ambrosia\libAmbrosia\Include\Ambrosia/global.h:15:37>:
parsing namespace 'ambrosia'
3. ..\..\..\Source\Ambrosia\libAmbrosia\Source\Ambrosia\nectar.cpp:40:1
<Spelling=..\..\..\Source\Ambrosia\libAmbrosia\Include\Ambrosia/global.h:15:58>:
parsing namespace 'lib'
4. ..\..\..\Source\Ambrosia\libAmbrosia\Source\Ambrosia\nectar.cpp:43:1:
parsing function body 'find_nectar_file'
5. ..\..\..\Source\Ambrosia\libAmbrosia\Source\Ambrosia\nectar.cpp:43:1: in
compound statement ('{}')
6. ..\..\..\Source\Ambrosia\libAmbrosia\Source\Ambrosia\nectar.cpp:49:5: in
compound statement ('{}')
clang++: error: clang frontend command failed due to signal 1073741819 (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: Preprocessed source(s) are located at:
clang++: note: diagnostic msg: C:/Users/Ruben/AppData/Local/Temp/cc-665310.ii
--
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