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

Xapian nobody at xapian.org
Sat Feb 20 17:06:22 GMT 2010

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

Comment(by tack):

 I've also just verified that -O2 -fno-strict-aliasing works ok with gcc
 4.2, and the test suite passes all tests.

 Adding -fno-strict-aliasing if gcc 4.2 is detected would be even better
 than -O1, IMO.

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

More information about the Xapian-tickets mailing list