]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c/8224 (Incorrect joining of signed and unsigned division)
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 23 Mar 2003 22:57:26 +0000 (22:57 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 23 Mar 2003 22:57:26 +0000 (22:57 +0000)
commit068d2c9db6aa8553b34925ea0c0957e8ce671e30
treee1c8674477700f6ed2edd93d67199d024ef407d1
parentc967e28c2fc6e87601f1ef89f44baff7f53083ea
re PR c/8224 (Incorrect joining of signed and unsigned division)

PR c/8224
* fold-const.c (extract_muldiv_1): Don't pass through type conversions
when signedness changes for division or modulus.

PR c/8224
* gcc.dg/20030323-1.c: New test.

From-SVN: r64760
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/20030323-1.c [new file with mode: 0644]