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/45180] bogus warning: array subscript is above array bounds



------- Comment #3 from pinskia at gcc dot gnu dot org  2010-08-04 15:44 -------
Since the compiler does not know that f() will never return, it is hard problem
to solve.  If you mark f with the attribute noreturn, the warning will
disappear.


-- 


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


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