[LLVMbugs] [Bug 17359] New: _Pragma( "" ) crashes compiler

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 25 08:14:06 PDT 2013


            Bug ID: 17359
           Summary: _Pragma( "" ) crashes compiler
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gmisocpp at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Compiling a test.cpp file with just the following 1 line in it will crash
clang++ 3.4

_Pragma( "" )

Part of the ensuring crash dump is as follows:

0.      Program arguments: c:\mingw\bin\clang++.exe -cc1 -triple
x86_64-w64-mingw32 -S -disable-free
 -disable-llvm-verifier -main-file-name pbug.cpp -mrelocation-model static
-mdisable-fp-elim -fmath-
errno -mconstructor-aliases -munwind-tables -target-cpu x86-64 -resource-dir
ng\3.4 -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compilation-dir
c:\test -ferror-limit 19
-fmessage-length 100 -mstackrealign -fno-use-cxa-atexit -fobjc-runtime=gcc
-properties -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-s
lp -o C:\Users\GM\AppData\Local\Temp\pbug-43756b.s -x c++ pbug.cpp
1.      pbug.cpp:1:13: current parser token ')'
0x0000000000E94BB9 (0x000000000022E1B0 0x00000000020CF130 0x0000000001FC2251

etc. etc.

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/20130925/78dbb240/attachment.html>

More information about the llvm-bugs mailing list