[Bug middle-end/32044] udivdi3 counterproductive, unwarranted use

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu May 24 15:27:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list