[Bug rtl-optimization/61673] [4.9/4.10 Regression] Miscompilation of _gnutls_hostname_compare on s390

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 8 15:40:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61673

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Jul  8 15:39:36 2014
New Revision: 212364

URL: https://gcc.gnu.org/viewcvs?rev=212364&root=gcc&view=rev
Log:
    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.

Added:
    trunk/gcc/testsuite/gcc.c-torture/execute/pr61673.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/combine.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list