[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #10259 [Tor]: gcc 4.8 with CFLAGS=-Os generates infinite loop in smartlist_ensure_capacity()



#10259: gcc 4.8 with CFLAGS=-Os generates infinite loop in
smartlist_ensure_capacity()
--------------------------+--------------------------------
     Reporter:  zougloub  |      Owner:  nick
         Type:  defect    |     Status:  new
     Priority:  normal    |  Milestone:
    Component:  Tor       |    Version:  Tor: 0.2.5.1-alpha
   Resolution:            |   Keywords:  compiler
Actual Points:            |  Parent ID:
       Points:            |
--------------------------+--------------------------------

Comment (by cypherpunks):

 It happens for -O2 too, actually. But seems like "fixed" for Tor by
 -fwrapv. Tested with  [http://gcc.godbolt.org Interactive compiler].

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10259#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs