]> git.ipfire.org Git - thirdparty/gcc.git/commit
backport: [multiple changes]
authorRichard Guenther <rguenther@suse.de>
Thu, 25 Jan 2007 19:05:19 +0000 (19:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 25 Jan 2007 19:05:19 +0000 (19:05 +0000)
commit04d72a0c652a33ee08ed4c88a28c6e4d7fd5b954
tree7de372e3fb871b909b745e124f23bb28bfb3a182
parent67f22851d8ee0f69b87fb5610ddfde5a763bc9ce
backport: [multiple changes]

2007-01-25  Richard Guenther  <rguenther@suse.de>

Backport from mainline:
2006-08-11  Richard Guenther  <rguenther@suse.de>

PR middle-end/28651
* simplify-rtx.c (simplify_const_relational_operation):
Simplify A CMP B to A - B CMP 0 only for EQ and NE comparison
codes.

* gcc.c-torture/execute/pr28651.c: New testcase.

2006-08-14  Richard Guenther  <rguenther@suse.de>

PR testsuite/28703
* gcc.c-torture/execute/pr28651.c: Do not use argc
to avoid optimization, instead forbid inlining.

From-SVN: r121181
gcc/ChangeLog
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr28651.c [new file with mode: 0644]