public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* O1 optimization problem(undefined references)
@ 2006-04-11 14:00 Shaobin Tao
  0 siblings, 0 replies; only message in thread
From: Shaobin Tao @ 2006-04-11 14:00 UTC (permalink / raw)
  To: gcc-help

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-11 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-11 14:00 O1 optimization problem(undefined references) Shaobin Tao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).