This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55529] Bogus array-bounds warning
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Nov 2012 13:37:46 +0000
- Subject: [Bug tree-optimization/55529] Bogus array-bounds warning
- Auto-submitted: auto-generated
- References: <bug-55529-4@http.gcc.gnu.org/bugzilla/>
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.