[LLVMbugs] [Bug 9240] Sema::CheckArrayAccess assertion failure when building 403.gcc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 17 17:20:24 PST 2011


Jakob Stoklund Olesen <stoklund at 2pi.dk> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #3 from Jakob Stoklund Olesen <stoklund at 2pi.dk> 2011-02-17 19:20:24 CST ---
I am still seeing this on TOT. I used TOT clang to rebuild itself:

$ Release+Asserts/bin/clang -v
clang version 2.9 (trunk 125799)
Target: i386-apple-darwin10
Thread model: posix

$ Release+Asserts/bin/clang -cc1 -triple i386-apple-darwin10.0.0 -emit-obj
-disable-free -main-file-name stmt.i -mrelocation-model dynamic-no-pic
-pic-level 1 -masm-verbose -target-cpu yonah -target-linker-version 97.17
-resource-dir /Volumes/Data/b/Release+Asserts/bin/../lib/clang/2.9 -O3
-ferror-limit 19 -fmessage-length 236 -stack-protector 1 -fblocks
-fdiagnostics-show-option -fcolor-diagnostics -disable-llvm-optzns -x
cpp-output stmt.i
Assertion failed: (BitWidth == RHS.BitWidth && "Bit widths must be same for
comparison"), function slt, file /Volumes/Data/g/llvm/lib/Support/APInt.cpp,
line 552.

Note it's a 32-bit binary:

$ file Release+Asserts/bin/clang
Release+Asserts/bin/clang: Mach-O executable i386

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.

More information about the llvm-bugs mailing list