This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/55529] Bogus array-bounds warning


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55529

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #8 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-11-29 13:37:46 UTC ---
(In reply to comment #7)
> IMHO, Jakub's replies + the clarification about static mean this is invalid.

(In reply to comment #6)
> It's defined as:
> 94 int rcu_num_lvls __read_mostly = RCU_NUM_LVLS;
> and never modified elsewhere AFAICS.

Looking deeper it gets modified prior to the for loop:

2948                         rcu_num_lvls = i;

Closing as invalid.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]