[Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.

vda dot linux at googlemail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 25 15:22:00 GMT 2007



------- Comment #5 from vda dot linux at googlemail dot com  2007-07-25 15:22 -------
Forgot to mention:

* generator tests signed and unsigned divisions and modulus, both const / x and
x / const, and also tests u = a / b; v = a % b; construct.

* you need to filter gen_test output to weed out dups:

./gen_test | sort | uniq >t.c


-- 


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



More information about the Gcc-bugs mailing list