[LLVMbugs] [Bug 11802] Assertion failed: (isPtrIV == IndVar->getType()->isPointerTy() && "IndVar type must match IVInit type"), function LinearFunctionTestReplace, file /usr/src/lib/clang/libllvmscalaropts/../../../contrib/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp, line 159

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 20 16:23:41 PST 2012


Andrew Trick <atrick at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         AssignedTo|unassignedclangbugs at nondot. |atrick at apple.com
                   |org                         |

--- Comment #2 from Andrew Trick <atrick at apple.com> 2012-01-20 18:23:41 CST ---
I verified that clang trunk compiles this case using:

/extra/mirror/build/Debug+Asserts/bin/clang -cc1 -triple
i386-unknown-freebsd9.0 -emit-obj -disable-free -main-file-name siscale.c
-pic-level 2 -mdisable-fp-elim -relaxed-aliasing -masm-verbose
-mconstructor-aliases -target-cpu i486 -momit-leaf-frame-pointer -g
-coverage-file ./soobj/siscale.o -resource-dir /usr/bin/../lib/clang/3.0 -O2
-Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes
-Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement
-fconst-strings -ferror-limit 19 -fmessage-length 128 -fno-builtin
-fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi
-fno-common -fdiagnostics-show-option -fcolor-diagnostics -o siscale.o -x c

This was probably fixed in r143183, well before the release, but wasn't merged
into the release branch. At the time, I was concerned about disrupting the
release cycle, but now that I understand the process better, I definitely
should have merged it in knowing that people would likely hit it.

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