Open Quuxplusone opened 13 years ago
Bugzilla Link | PR9196 |
Status | NEW |
Importance | P normal |
Reported by | Tom M (LetterRip@gmail.com) |
Reported on | 2011-02-10 20:19:00 -0800 |
Last modified on | 2011-02-11 13:57:01 -0800 |
Version | trunk |
Hardware | PC All |
CC | kremenek@apple.com, llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
(In reply to comment #0)
> Here is a simplified version of the code
>
> void buggy(float rad) {
> float vec[7][2]= {{0.195, 0.02}, {0.383, 0.067}, {0.55, 0.169}, {0.707,
> 0.293},
> {0.831, 0.45}, {0.924, 0.617}, {0.98, 0.805}};
> int a;
>
> /* mult */
> for(a=0; a<7; a++) {
> vec[a][0]*= rad; vec[a][1]*= rad; /* claims bug is here */
> }
> }
>
>
The TOT version of the analyzer doesn't emit a warning for this example. What
version of the analyzer are you using?