------- Comment #4 from acahalan at gmail dot com 2007-06-26 03:10 ------- (In reply to comment #3) > Subject: Re: Missed optimizations with -fwhole-program -combine > > I would not expect this to be fixed anytime soon. I have yet to find > any real people who use either combine or -fwhole-program. They use > *way* too much memory on real programs. As a result, no real people > involved in optimization work on optimizers for them.
I'm real, and I want to use those. I can't use them because of bug #29171. They appear to be 100% unusable for non-trivial programs because gcc WILL emit calls to memcpy and there isn't any possible (documented at least) way to provide a memcpy. No matter how I __attribute__ my memcpy, and no matter if I use -ffreestanding or not, gcc wants to call an extern memcpy. Linking against a libc is against the documented requirements for using these options. -- acahalan at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |acahalan at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30075