[LLVMbugs] [Bug 20171] New: clang Fast Register Allocator crashes

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 30 21:55:23 PDT 2014


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

            Bug ID: 20171
           Summary: clang Fast Register Allocator crashes
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ihholmes at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12725
  --> http://llvm.org/bugs/attachment.cgi?id=12725&action=edit
C source file

Clang version 5.1
XCode 5.1.1 running on OS X Mavericks, compiling to iOS 7.1


Reproducible usage (sorry I haven't been able to trim this down)

clang -cc1 -triple arm64-apple-ios7.0.0 -Wdeprecated-objc-isa-usage
-Werror=deprecated-objc-isa-usage -Werror=implicit-function-declaration
-emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name
board.c -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-target-abi darwinpcs -target-cpu cyclone -target-linker-version 236.3
-gdwarf-2 -D "DEBUG=1" -D "SEXP_USE_DL=0" -D "SEXP_USE_STATIC_LIBS" -D
"SEXP_64_BIT" -O0 -Wno-trigraphs -Wno-missing-field-initializers
-Wno-missing-prototypes -Wno-missing-braces -Wparentheses -Wswitch
-Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable
-Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow
-Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion
-Wno-bool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign
-Wno-newline-eof -Wdeprecated-declarations -Wno-sign-conversion -std=gnu99
-ferror-limit 19 -fmacro-backtrace-limit 0 -fmessage-length 0 -stack-protector
1 -mstackrealign -fblocks -fobjc-runtime=ios-7.0.0
-fencode-extended-block-signature -fpascal-strings -fdiagnostics-show-option
-fdiagnostics-show-note-include-stack -vectorize-slp -x c bug.c



Output:

1.    <eof> parser at end of file
2.    Code generation
3.    Running pass 'Function Pass Manager' on module 'bug.c'.
4.    Running pass 'Fast Register Allocator' on function
'@boardAttemptFunctionRule'
Segmentation fault

-- 
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/20140701/64ba78cf/attachment.html>


More information about the llvm-bugs mailing list