http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49030

--- Comment #9 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> 
2011-09-07 13:48:08 UTC ---
Author: rsandifo
Date: Wed Sep  7 13:48:03 2011
New Revision: 178636

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=178636
Log:
gcc/
    PR target/49030
    * config/arm/arm-protos.h (maybe_get_arm_condition_code): Declare.
    * config/arm/arm.c (maybe_get_arm_condition_code): New function,
    reusing the old code from get_arm_condition_code.  Return ARM_NV
    for invalid comparison codes.
    (get_arm_condition_code): Redefine in terms of
    maybe_get_arm_condition_code.
    * config/arm/predicates.md (arm_comparison_operator): Use
    maybe_get_arm_condition_code.

gcc/testsuite/
    PR target/49030
    * gcc.dg/torture/pr49030.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr49030.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm-protos.h
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/arm/predicates.md
    trunk/gcc/testsuite/ChangeLog

Reply via email to