This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.
- From: "vda dot linux at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jul 2007 15:22:25 -0000
- Subject: [Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.
- References: <bug-30354-12956@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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