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/55616] bogus warning about undefined overflow after overflow check


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

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-31 10:52:15 UTC ---
Just write
number_of_elements_in_path+100U
or use unsigned type for
number_of_elements_in_path


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