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:27:36 -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 #14 from manu at gcc dot gnu dot org 2007-05-24 16:27 -------
(In reply to comment #13)
>
> To sum up; as a user, and, in the UNIX spirit (I started with the 7th edition),
> I just want freedom in choosing the facilities and features gcc has to offer. I
> hope that this or similar flags provide me with the capability to banish libgcc
> and similar facilities from my programs under the C free-standing
> specification.
>
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 ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32044