Re: [PATCH] D12901: [Static Analyzer] Intersecting ranges and 64 bit to 32 bit truncations causing "System is over constrained." assertions.

2015-09-16 Thread pierre gousseau via cfe-commits
pgousseau updated this revision to Diff 34900. pgousseau added a comment. Added some comments. http://reviews.llvm.org/D12901 Files: lib/StaticAnalyzer/Core/RangeConstraintManager.cpp lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp lib/StaticAnalyzer/Core/SimpleConstraintManager.h t

Re: [PATCH] D12901: [Static Analyzer] Intersecting ranges and 64 bit to 32 bit truncations causing "System is over constrained." assertions.

2015-09-18 Thread Gábor Horváth via cfe-commits
xazax.hun added a comment. Hi! Thank you for the patch! What happens if you factor the "index + 1" expression out into a separate variable? E.g.: unsigned temp = index + 1; and use temp in the condition? My impression is that, the ranges does not model the overflow behavior correctly (which i

Re: [PATCH] D12901: [Static Analyzer] Intersecting ranges and 64 bit to 32 bit truncations causing "System is over constrained." assertions.

2015-09-23 Thread pierre gousseau via cfe-commits
pgousseau added a comment. In http://reviews.llvm.org/D12901#248842, @xazax.hun wrote: > Hi! > > Thank you for the patch! Thanks for reviewing ! > What happens if you factor the "index + 1" expression out into a separate > variable? > E.g.: unsigned temp = index + 1; and use temp in the con

Re: [PATCH] D12901: [Static Analyzer] Intersecting ranges and 64 bit to 32 bit truncations causing "System is over constrained." assertions.

2015-09-24 Thread pierre gousseau via cfe-commits
pgousseau updated this revision to Diff 35604. pgousseau added a comment. Following Gabor's review: Add a test factoring 'index + 1' in an extra variable. Let me know if this looks reasonable ? Regards, Pierre http://reviews.llvm.org/D12901 Files: lib/StaticAnalyzer/Core/RangeConstraintMa

Re: [PATCH] D12901: [Static Analyzer] Intersecting ranges and 64 bit to 32 bit truncations causing "System is over constrained." assertions.

2015-10-02 Thread pierre gousseau via cfe-commits
pgousseau added a comment. Ping ! http://reviews.llvm.org/D12901 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits