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

--- Comment #40 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> ---
Author: jgreenhalgh
Date: Mon Dec 14 13:31:08 2015
New Revision: 231615

URL: https://gcc.gnu.org/viewcvs?rev=231615&root=gcc&view=rev
Log:
Backport: [Patch AArch64] Reinstate CANNOT_CHANGE_MODE_CLASS to fix pr67609

gcc/

        PR rtl-optimization/67609
        * config/aarch64/aarch64-protos.h
        (aarch64_cannot_change_mode_class): Bring back.
        * config/aarch64/aarch64.c
        (aarch64_cannot_change_mode_class): Likewise.
        * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Likewise.
        * config/aarch64/aarch64.md (aarch64_movdi_<mode>low): Use
        zero_extract rather than truncate.
        (aarch64_movdi_<mode>high): Likewise.

gcc/testsuite/

        PR rtl-optimization/67609
        * gcc.dg/torture/pr67609.c: New.



Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.dg/torture/pr67609.c
      - copied unchanged from r231455,
trunk/gcc/testsuite/gcc.dg/torture/pr67609.c
Modified:
    branches/gcc-5-branch/   (props changed)
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/aarch64/aarch64-protos.h
    branches/gcc-5-branch/gcc/config/aarch64/aarch64.c
    branches/gcc-5-branch/gcc/config/aarch64/aarch64.h
    branches/gcc-5-branch/gcc/config/aarch64/aarch64.md
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Propchange: branches/gcc-5-branch/
            ('svn:mergeinfo' modified)

Reply via email to