[llvm-bugs] [Bug 36562] New: clang++ crashes on undeclared identifier

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 1 12:36:18 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36562

            Bug ID: 36562
           Summary: clang++ crashes on undeclared identifier
           Product: clang
           Version: 3.8
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hwang at evansville.edu
                CC: llvm-bugs at lists.llvm.org

Created attachment 19980
  --> https://bugs.llvm.org/attachment.cgi?id=19980&action=edit
Zip file of student project that crashes clang++

The attached zip file contains a student project that does not compile as is,
as well as diagnostic files from clang++ crashing when compiling editor.cpp. 
(See the makefile for the exact compilation command line.)  The error log is
contained in error.log.  Using a different compiler, it was determined that the
student wrote a comparison against Q rather than 'Q' (line 140) which should be
flagged as an undefined symbol.  Correction of this error allowed clang++ to
work correctly.  This bug was observed on both Linux Ubuntu and Mac OS X.

-- 
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/20180301/21dee502/attachment.html>


More information about the llvm-bugs mailing list