#2662: gcc 4.5.0 -Os does not generate correct code
-----------------------------------------+----------------------------------
 Reporter:  bdu...@…                     |       Owner:  lfs-b...@…             
      
     Type:  defect                       |      Status:  new                    
      
 Priority:  high                         |   Milestone:  6.7                    
      
Component:  Book                         |     Version:  SVN                    
      
 Severity:  major                        |    Keywords:                         
      
-----------------------------------------+----------------------------------

Comment(by matt...@…):

 Bruce, I realise you've already done loads of work in tracking this issue
 down, but I'm wondering if you could figure out which optimization is the
 culprit?  http://gcc.gnu.org/onlinedocs/gcc-4.5.0/gcc/Optimize-
 Options.html#Optimize-Options lists all of the optimization options and
 most of those show at which optimization level they get turned on by.

 What I'm thinking is if you could change the Kernel Makefile to set '-Os
 -fno-<optimzation option>' instead of plain '-Os' to selectively turn off
 individual optimization options that are explicitly mentioned in the
 manual as being turned on by '-Os'.  I realise that this is probably going
 to be a fair bit of work unless you hit really lucky, so understand if you
 don't want to expend that effort.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2662#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to