[LLVMbugs] [Bug 21944] New: clang segmentation fault slp-vectorize

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 17 17:01:51 PST 2014


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: unassignedclangbugs at nondot.org
          Reporter: chh at google.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141218/2820cba3/attachment.html>


More information about the llvm-bugs mailing list