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

            Bug ID: 21944
           Summary: clang segmentation fault slp-vectorize
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

Created attachment 13559
  --> http://llvm.org/bugs/attachment.cgi?id=13559&action=edit
script and preprocessed source input to reproduce the bug

When compiling Android Open Source for aosp_fugu-userdebug target, clang has a
segmentation fault:

1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module
'system/core/libmincrypt/p256_ec.c'.
4.      Running pass 'X86 DAG->DAG Instruction Selection' on function
'@felem_square'
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.6 
Target: i686--linux-android
Thread model: posix



Attached p256.zip file contains the reproducible data p256_ec-872742.{c,sh}


I can avoid the segmentation fault by turning off slp-vectorize, compiled with
-fno-slp-vectorize.

-- 
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