This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/30075] Missed optimizations with -fwhole-program -combine
- From: "acahalan at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2007 03:10:26 -0000
- Subject: [Bug middle-end/30075] Missed optimizations with -fwhole-program -combine
- References: <bug-30075-13698@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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