[Bug tree-optimization/43949] [4.3/4.4/4.5 Regression] bogus warning: array subscript is above array bounds
--- Comment #7 from rguenth at gcc dot gnu dot org 2010-05-21 11:17 --- Subject: Bug 43949 Author: rguenth Date: Fri May 21 11:16:46 2010 New Revision: 159656 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159656 Log: 2010-05-21 Richard Guenther PR tree-optimization/43949 * tree-vrp.c (ssa_name_nonnegative_p): Return true for unsigend types. (extract_range_from_binary_expr): Handle TRUNC_MOD_EXPR. * g++.dg/warn/Warray-bounds-5.C: New testcase. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/warn/Warray-bounds-5.C Modified: branches/gcc-4_5-branch/gcc/ChangeLog branches/gcc-4_5-branch/gcc/testsuite/ChangeLog branches/gcc-4_5-branch/gcc/tree-vrp.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43949
[Bug tree-optimization/43949] [4.3/4.4/4.5 Regression] bogus warning: array subscript is above array bounds
--- Comment #6 from rguenther at suse dot de 2010-05-21 09:15 --- Subject: Re: [4.3/4.4/4.5 Regression] bogus warning: array subscript is above array bounds On Fri, 21 May 2010, joachim dot reichel at gmx dot de wrote: > --- Comment #5 from joachim dot reichel at gmx dot de 2010-05-21 09:12 > --- > Will this problem get fixed on the 4.5 branch too? Yes. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43949
[Bug tree-optimization/43949] [4.3/4.4/4.5 Regression] bogus warning: array subscript is above array bounds
--- Comment #5 from joachim dot reichel at gmx dot de 2010-05-21 09:12 --- Will this problem get fixed on the 4.5 branch too? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43949
[Bug tree-optimization/43949] [4.3/4.4/4.5 Regression] bogus warning: array subscript is above array bounds
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43949
[Bug tree-optimization/43949] [4.3/4.4/4.5 Regression] bogus warning: array subscript is above array bounds
--- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-04 09:53 --- Subject: Bug 43949 Author: rguenth Date: Tue May 4 09:53:28 2010 New Revision: 159020 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159020 Log: 2010-05-04 Richard Guenther PR tree-optimization/43949 * tree-vrp.c (extract_range_from_binary_expr): Only handle TRUNC_MOD_EXPR. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vrp.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43949
[Bug tree-optimization/43949] [4.3/4.4/4.5 Regression] bogus warning: array subscript is above array bounds
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-05-01 21:31 --- Fixed for trunk sofar. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Component|other |tree-optimization Keywords||diagnostic, missed- ||optimization Known to work||4.2.4 4.6.0 Summary|bogus warning: array|[4.3/4.4/4.5 Regression] |subscript is above array|bogus warning: array |bounds |subscript is above array ||bounds Target Milestone|--- |4.3.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43949