PR 66215: S390: Fix placement of post-label NOPs with -mhotpatch
authorDominik Vogt <vogt@linux.vnet.ibm.com>
Fri, 29 May 2015 14:26:56 +0000 (14:26 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 29 May 2015 14:26:56 +0000 (14:26 +0000)
commit1f8d3e42524c94ca20e88864c12f789b0520c48c
treef81d3bad74a81a066164f6551e08803e5e73dbad
parent75eb64433edb2a48c471c50e729612a326d1b1e9
PR 66215: S390: Fix placement of post-label NOPs with -mhotpatch

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

gcc/testsuite/ChangeLog:
    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.

From-SVN: r223867
32 files changed:
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/hotpatch-1.c
gcc/testsuite/gcc.target/s390/hotpatch-10.c
gcc/testsuite/gcc.target/s390/hotpatch-11.c
gcc/testsuite/gcc.target/s390/hotpatch-12.c
gcc/testsuite/gcc.target/s390/hotpatch-13.c
gcc/testsuite/gcc.target/s390/hotpatch-14.c
gcc/testsuite/gcc.target/s390/hotpatch-15.c
gcc/testsuite/gcc.target/s390/hotpatch-16.c
gcc/testsuite/gcc.target/s390/hotpatch-17.c
gcc/testsuite/gcc.target/s390/hotpatch-18.c
gcc/testsuite/gcc.target/s390/hotpatch-19.c
gcc/testsuite/gcc.target/s390/hotpatch-2.c
gcc/testsuite/gcc.target/s390/hotpatch-20.c
gcc/testsuite/gcc.target/s390/hotpatch-21.c
gcc/testsuite/gcc.target/s390/hotpatch-22.c
gcc/testsuite/gcc.target/s390/hotpatch-23.c
gcc/testsuite/gcc.target/s390/hotpatch-24.c
gcc/testsuite/gcc.target/s390/hotpatch-25.c
gcc/testsuite/gcc.target/s390/hotpatch-26.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/hotpatch-27.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/hotpatch-28.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/hotpatch-3.c
gcc/testsuite/gcc.target/s390/hotpatch-4.c
gcc/testsuite/gcc.target/s390/hotpatch-5.c
gcc/testsuite/gcc.target/s390/hotpatch-6.c
gcc/testsuite/gcc.target/s390/hotpatch-7.c
gcc/testsuite/gcc.target/s390/hotpatch-8.c
gcc/testsuite/gcc.target/s390/hotpatch-9.c
gcc/testsuite/gcc.target/s390/s390.exp