[Bug target/66215] [4.8/4.9/5/6 Regression] Wrong after label NOP emission for -mhotpatch

krebbel at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 1 11:30:00 GMT 2015


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

--- Comment #33 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Author: krebbel
Date: Mon Jun  1 11:29:46 2015
New Revision: 223932

URL: https://gcc.gnu.org/viewcvs?rev=223932&root=gcc&view=rev
Log:
PR 66215: S390: Fix placement of post-label NOPs with -mhotpatch

gcc/ChangeLog:
--------------
2015-06-01  Dominik Vogt  <vogt@linux.vnet.ibm.com>

            Backport from mainline
            2015-05-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>

            PR target/66215
            * config/s390/s390.c (s390_reorg): Fix placement of post-label NOPs
            with -mhotpatch=.

gcc/testsuite/ChangeLog:
------------------------
2015-06-01  Dominik Vogt  <vogt@linux.vnet.ibm.com>

            Backport from mainline
            2015-05-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>

            PR target/66215
            * gcc.target/s390/hotpatch-1.c: Remove optimization options from
            dg-options.
            * gcc.target/s390/hotpatch-10.c: Likewise.
            * gcc.target/s390/hotpatch-11.c: Likewise.
            * gcc.target/s390/hotpatch-12.c: Likewise.
            * gcc.target/s390/hotpatch-17.c: Likewise.
            * gcc.target/s390/hotpatch-18.c: Likewise.
            * gcc.target/s390/hotpatch-20.c: Likewise.
            * gcc.target/s390/hotpatch-21.c: Likewise.
            * gcc.target/s390/hotpatch-22.c: Likewise.
            * gcc.target/s390/hotpatch-23.c: Likewise.
            * gcc.target/s390/hotpatch-24.c: Likewise.
            * gcc.target/s390/hotpatch-2.c: Likewise.  Adjust scan-assembler
            to check for the exact nops too.
            * gcc.target/s390/hotpatch-3.c: Likewise.
            * gcc.target/s390/hotpatch-4.c: Likewise.
            * gcc.target/s390/hotpatch-5.c: Likewise.
            * gcc.target/s390/hotpatch-6.c: Likewise.
            * gcc.target/s390/hotpatch-7.c: Likewise.
            * gcc.target/s390/hotpatch-8.c: Likewise.
            * gcc.target/s390/hotpatch-9.c: Likewise.
            * gcc.target/s390/hotpatch-14.c: Likewise.
            * gcc.target/s390/hotpatch-15.c: Likewise.
            * gcc.target/s390/hotpatch-16.c: Likewise.
            * gcc.target/s390/hotpatch-19.c: Likewise.
            * gcc.target/s390/hotpatch-25.c: Likewise.  Remove
            scan-assembler-times counting number of .align directives.
            * gcc.target/s390/hotpatch-13.c: Remove optimization options from
            dg-options.  Remove scan-assembler-times counting number of .align
            directives.
            * gcc.target/s390/hotpatch-26.c: New file.
            * gcc.target/s390/hotpatch-27.c: New file.
            * gcc.target/s390/hotpatch-28.c: New file.
            * gcc.target/s390/s390.exp: Run hotpatch-*.c tests as torture tests
            using -Os -O0 -O1 -O2 -O3 options.


Added:
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-26.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-27.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-28.c
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/s390/s390.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-1.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-10.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-11.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-12.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-13.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-14.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-15.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-16.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-17.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-18.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-19.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-2.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-20.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-21.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-22.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-23.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-24.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-25.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-3.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-4.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-5.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-6.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-7.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-8.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/hotpatch-9.c
    branches/gcc-5-branch/gcc/testsuite/gcc.target/s390/s390.exp



More information about the Gcc-bugs mailing list