This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/28395] Improved division-by-constant code



------- Comment #7 from vda dot linux at googlemail dot com  2006-07-16 16:22 -------
Oh my.

It looks that use of -Os played a joke on me. gcc 3.4.3 -Os uses a division
instruction, even though it results in slower and _also bigger_ code.

Maybe it makes sense to enable this optimization for -Os too?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28395


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]