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

           Summary: clang crashes from gcc torture test
                    g++.dg/overload/copy1.C
           Product: clang
           Version: 2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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

rkotler@ubuntu-rkotler:~/icpc$ g++
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/overload/copy1.C
/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@ubuntu-rkotler:~/icpc$ ~/build_llvm/install/bin/clang++
/home/rkotler/gcc-4.4.6/gcc/testsuite/g++.dg/overload/copy1.C
clang: error: unable to execute command: Segmentation fault
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 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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to