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

Xapian nobody at xapian.org
Sat Feb 20 16:48:49 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):

 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35643 looks related.  I can
 reproduce the problem with -O1 -fstrict-aliasing.

 Perhaps the most practical workaround is to enforce -O1 if gcc 4.2 is
 detected.

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



More information about the Xapian-tickets mailing list