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/43270] array-bounds false negative



------- Comment #6 from matt at use dot net  2010-03-05 23:24 -------
I see your point about supporting existing code that uses this feature in the
way you describe.

I modified the example to not rely upon zero-length array and have attached it.
(The bug in the original code didn't use it that way either, I was just trying
to make the reproducuble test case simpler.) GCC 4.4.1 and 4.5.0.20100304 still
do not warn about the array-bounds issue. PC-Lint now does warn about it.


-- 

matt at use dot net changed:

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


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


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