[Xapian-tickets] [Xapian] #449: Bad code on Ubuntu Hardy GCC 4.2, -O2

Xapian nobody at xapian.org
Sun Feb 21 05:52:31 GMT 2010


#449: Bad code on Ubuntu Hardy GCC 4.2, -O2
---------------------------+------------------------------------------------
 Reporter:  olly           |       Owner:  olly    
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  1.1.5   
Component:  Backend-Chert  |     Version:  1.1.4   
 Severity:  normal         |    Keywords:          
Blockedby:                 |    Platform:  All     
 Blocking:                 |  
---------------------------+------------------------------------------------
Changes (by olly):

  * status:  new => assigned


Comment:

 Good detective work!  It's very hard to be sure that the issue is the same
 one in GCC, but if it works with GCC 4.1 and 4.3 and -fno-strict-aliasing
 avoids it, it seems quite likely.

 I'll have a look through the log later, but it does seem forcing -fno-
 strict-aliasing for GCC 4.2 is the way to go.

-- 
Ticket URL: <http://trac.xapian.org/ticket/449#comment:4>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list