This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Optimizations on long long multiply/divide on PowerPC32 don't work
>>>>> "Linus" == Linus Torvalds <torvalds@transmeta.com> writes:
Linus> In article <20011207164904.C16375@redhat.com> you write:
>> On Fri, Dec 07, 2001 at 06:09:55PM -0600, Corey Minyard wrote:
>>> 1) Add __divdi3 to the linux kernel. I don't really think this
>>> is a good idea, and it shouldn't be required.
>> Yes it should. I've long considered it a bug that Linux didn't
>> link against libgcc.
Linus> ...Not linking against libgcc has found several problems in gcc.
Linus> Ranging from missing totally obvious optimizations...
Does that mean that Linux isn't expected to build if you disable
optimization? That seems strange, considering that debugging with gdb
is often easier with -O0.
paul