[LLVMbugs] [Bug 15285] New: Assertion failed: (C->getType()->getScalarSizeInBits() > Ty->getScalarSizeInBits()&& "SrcTy must be larger than DestTy for Trunc!")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Feb 15 19:06:14 PST 2013


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

            Bug ID: 15285
           Summary: Assertion failed: (C->getType()->getScalarSizeInBits()
                    > Ty->getScalarSizeInBits()&& "SrcTy must be larger
                    than DestTy for Trunc!")
           Product: clang
           Version: trunk
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: M8R-9yw8a5 at mailinator.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

During the building of APInt.cpp (r175337) for the Release+Asserts build:

Assertion failed: (C->getType()->getScalarSizeInBits() >
Ty->getScalarSizeInBits()&& "SrcTy must be larger than DestTy for Trunc!"),
function getTrunc, file /src/lib/IR/Constants.cpp, line 1512.
Stack dump:
0.    Program arguments: /install/bin/clang -cc1 -triple
i386-unknown-freebsd10.0 -emit-obj -disable-free -main-file-name APInt.cpp
-mrelocation-model pic -pic-level 2 -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -target-cpu i486 -target-linker-version 2.17.50
-momit-leaf-frame-pointer -coverage-file
/build/lib/Support/Release+Asserts/APInt.o -resource-dir
/install/bin/../lib/clang/3.3 -dependency-file
/build/lib/Support/Release+Asserts/APInt.d.tmp -MP -MT
/build/lib/Support/Release+Asserts/APInt.o -MT
/build/lib/Support/Release+Asserts/APInt.d -D _DEBUG -D _GNU_SOURCE -D
__STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I
/src/include -I /src/lib/Support -I /build/include -I /build/lib/Support -O2
-Woverloaded-virtual -Wcast-qual -Wno-nested-anon-types -Wall -W
-Wno-unused-parameter -Wwrite-strings -Wcovered-switch-default
-Wno-uninitialized -Wno-missing-field-initializers -fconst-strings
-fdeprecated-macro -fdebug-compilation-dir /build/lib/Support -ferror-limit 19
-fmessage-length 255 -fvisibility-inlines-hidden -mstackrealign -fno-rtti
-fobjc-runtime=gnustep -fdiagnostics-show-option -fcolor-diagnostics
-backend-option -vectorize-loops -o /build/lib/Support/Release+Asserts/APInt.o
-x c++ /src/lib/Support/APInt.cpp 
1.    <eof> parser at end of file
2.    Per-module optimization passes
3.    Running pass 'CallGraph Pass Manager' on module
'/src/lib/Support/APInt.cpp'.
4.    Running pass 'Combine redundant instructions' on function
'@_ZN4llvm5APInt6divideES0_jRKS0_jPS0_S3_'
clang: error: unable to execute command: Abort trap (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.3 (trunk 175270)
Target: i386-unknown-freebsd10.0
Thread model: posix

-- 
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/20130216/1d7c0718/attachment.html>


More information about the llvm-bugs mailing list