O1 optimization problem(undefined references)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI, 

I am having a lot of "undefined references" after I added O1 flag.  But if I
add the flags documented at 

http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Optimize-Options.html#index-O2-3
63 indivudually, everything links okay. 

-O turns on the following optimization flags: 
          -fdefer-pop 
          -fmerge-constants 
          -fthread-jumps 
          -floop-optimize 
          -fif-conversion 
          -fif-conversion2 
          -fdelayed-branch 
          -fguess-branch-probability 
          -fcprop-registers

Anybody kindly know why?

Thanks!

Shaobin Tao



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux