------- Comment #2 from kargl at gcc dot gnu dot org 2010-05-14 16:23 -------
The problem seems to be triggered by the upper bound value of 0.
If I change it to 1 or -1 in both the main program and the
subroutine, then the warning is not triggered.
--
kargl at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Known to fail| |4.3.5 4.4.3 4.5.1 4.6.0
Last reconfirmed|0000-00-00 00:00:00 |2010-05-14 16:23:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44135