]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/61673 (Miscompilation of _gnutls_hostname_compare on s390)
authorJakub Jelinek <jakub@redhat.com>
Tue, 8 Jul 2014 15:39:36 +0000 (17:39 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 8 Jul 2014 15:39:36 +0000 (17:39 +0200)
commit7e6d8fd9f6f2d3ef1a3c4d439b669b6de574aed9
treea31e38df1a632b7487f21d3ab0c13016818f1191
parente4a452b2150b6b19c6e58612111495bef66156b3
re PR rtl-optimization/61673 (Miscompilation of _gnutls_hostname_compare on s390)

PR rtl-optimization/61673
* combine.c (simplify_comparison): Test just mode's sign bit
in tmode rather than the sign bit and any bits above it.

* gcc.c-torture/execute/pr61673.c: New test.

From-SVN: r212364
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/pr61673.c [new file with mode: 0644]