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 middle-end/39333] gcc 4.3.3 miscompiles when -finline-small-functions is used



------- Comment #10 from pinskia at gcc dot gnu dot org  2009-03-03 03:51 -------
   for (i = 0, j = 0; i < lattice->size || forced_loop; i++) {


i is signed and lattice->size is unsigned so there might be some wrapping.  

plus  if (lattice->size > 0) { 
will be changed into   lattice->size != 0 .


-- 


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


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