This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32044] udivdi3 counterproductive, unwarranted use
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 May 2007 15:37:47 -0000
- Subject: [Bug middle-end/32044] udivdi3 counterproductive, unwarranted use
- References: <bug-32044-11706@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from manu at gcc dot gnu dot org 2007-05-24 16:37 -------
(In reply to comment #14)
>
> The flag just disables an optimisation. If you want to disable optimisations
> just use -O0. On the other hand, shouldn't -ffreestanding prevent udivdi3 ?
> What about -fno-builtin-udivdi3 ?
>
OK. I found the answer myself: PR16470. So if you want a freestanding
environment, use static libgcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32044