[tor-bugs] #10259 [Tor]: gcc 4.8 with CFLAGS=-Os generates infinite loop in smartlist_ensure_capacity()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Dec 1 04:41:19 UTC 2013
#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 zougloub):
Turns out that:
- CFLAGS="-O2" or "-O3" generates correct code
- CFLAGS="-Os" generates the infinite loop
Will check what -Os does more.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10259#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list