[LLVMbugs] [Bug 10758] New: clang crashes from gcc torture test g++.dg/overload/copy1.C

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 25 20:04:12 PDT 2011


           Summary: clang crashes from gcc torture test
           Product: clang
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rkotler at mips.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=7137)
 --> (http://llvm.org/bugs/attachment.cgi?id=7137)

rkotler at ubuntu-rkotler:~/icpc$ g++
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/overload/copy1.C: In function ‘B
f(const B&)’:
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/overload/copy1.C:19: error: no
matching function for call to ‘B::B(const B&)’
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/overload/copy1.C:8: note:
candidates are: B::B(B&)
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/overload/copy1.C:7: note:         
       B::B(const A&)
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/overload/copy1.C:19: error:  
initializing argument 1 of ‘A::A(B)’
rkotler at ubuntu-rkotler:~/icpc$ ~/build_llvm/install/bin/clang++
clang: error: unable to execute command: Segmentation fault
clang: error: clang frontend command failed due to signal 2 (use -v to see
clang: note: diagnostic msg: Please submit a bug report to http://llvm.org and
include command line arguments and all diagnostic information.
clang: note: diagnostic msg: Preprocessed source(s) are located at:
clang: note: diagnostic msg: /tmp/cc-is5Oik.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