Commit c1d15cd9 by Andreas Krebbel Committed by Andreas Krebbel

hotpatch-8.c: Add -march=g5.

2015-02-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.target/s390/hotpatch-8.c: Add -march=g5.
	* gcc.target/s390/hotpatch-9.c: Add -march=g5.
	* gcc.target/s390/hotpatch-compile-1.c: Fix error message.
	* gcc.target/s390/hotpatch-compile-10.c: Likewise.
	* gcc.target/s390/hotpatch-compile-11.c: Likewise.
	* gcc.target/s390/hotpatch-compile-12.c: Likewise.
	* gcc.target/s390/hotpatch-compile-13.c: Likewise.
	* gcc.target/s390/hotpatch-compile-14.c: Likewise.
	* gcc.target/s390/hotpatch-compile-2.c: Likewise.
	* gcc.target/s390/hotpatch-compile-3.c: Likewise.
	* gcc.target/s390/hotpatch-compile-4.c: Likewise.
	* gcc.target/s390/hotpatch-compile-5.c: Likewise.
	* gcc.target/s390/hotpatch-compile-6.c: Likewise.
	* gcc.target/s390/hotpatch-compile-7.c: Likewise.
	* gcc.target/s390/hotpatch-compile-8.c: Likewise.
	* gcc.target/s390/hotpatch-compile-9.c: Likewise.

From-SVN: r220903
parent 483d42c7
2015-02-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.target/s390/hotpatch-8.c: Add -march=g5.
* gcc.target/s390/hotpatch-9.c: Add -march=g5.
* gcc.target/s390/hotpatch-compile-1.c: Fix error message.
* gcc.target/s390/hotpatch-compile-10.c: Likewise.
* gcc.target/s390/hotpatch-compile-11.c: Likewise.
* gcc.target/s390/hotpatch-compile-12.c: Likewise.
* gcc.target/s390/hotpatch-compile-13.c: Likewise.
* gcc.target/s390/hotpatch-compile-14.c: Likewise.
* gcc.target/s390/hotpatch-compile-2.c: Likewise.
* gcc.target/s390/hotpatch-compile-3.c: Likewise.
* gcc.target/s390/hotpatch-compile-4.c: Likewise.
* gcc.target/s390/hotpatch-compile-5.c: Likewise.
* gcc.target/s390/hotpatch-compile-6.c: Likewise.
* gcc.target/s390/hotpatch-compile-7.c: Likewise.
* gcc.target/s390/hotpatch-compile-8.c: Likewise.
* gcc.target/s390/hotpatch-compile-9.c: Likewise.
2015-02-22 Bernd Edlinger <bernd.edlinger@hotmail.de> 2015-02-22 Bernd Edlinger <bernd.edlinger@hotmail.de>
PR fortran/64980 PR fortran/64980
......
/* Functional tests for the function hotpatching feature. */ /* Functional tests for the function hotpatching feature. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mesa -m31 -mhotpatch=0,3 --save-temps" } */ /* { dg-options "-O3 -mesa -m31 -march=g5 -mhotpatch=0,3 --save-temps" } */
#include <stdio.h> #include <stdio.h>
......
/* Functional tests for the function hotpatching feature. */ /* Functional tests for the function hotpatching feature. */
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mesa -m31 -mhotpatch=0,4 --save-temps" } */ /* { dg-options "-O3 -mesa -m31 -march=g5 -mhotpatch=0,4 --save-temps" } */
#include <stdio.h> #include <stdio.h>
......
...@@ -2,10 +2,4 @@ ...@@ -2,10 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=-1,0" } */ /* { dg-options "-O3 -mzarch -mhotpatch=-1,0" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */
int main (void)
{
return 0;
}
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
__attribute__((hotpatch(0,0,0))) __attribute__((hotpatch(0,0,0)))
int main (void) int main (void)
{ {/* { dg-error "wrong number of arguments specified" } */
return 0; return 0;
} }
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch" } */ /* { dg-options "-O3 -mzarch" } */
int a;
__attribute__((hotpatch(a,0))) __attribute__((hotpatch(a,0)))
int main (void) int main (void)
{ { /* { dg-error "attribute is not a comma separated pair of non-negative integer constants or too large" } */
return 0; return 0;
} }
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch" } */ /* { dg-options "-O3 -mzarch" } */
int a;
__attribute__((hotpatch(0,a))) __attribute__((hotpatch(0,a)))
int main (void) int main (void)
{ { /* { dg-error "attribute is not a comma separated pair of non-negative integer constants or too large" } */
return 0; return 0;
} }
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -18,12 +18,12 @@ void hp2(void) ...@@ -18,12 +18,12 @@ void hp2(void)
__attribute__ ((hotpatch(1000001,1000000))) __attribute__ ((hotpatch(1000001,1000000)))
void hp3(void) void hp3(void)
{ /* { dg-error " requested 'hotpatch' attribute is not a comma separated pair" } */ { /* { dg-error " requested .hotpatch. attribute is not a comma separated pair" } */
printf("hello, world!\n"); printf("hello, world!\n");
} }
__attribute__ ((hotpatch(1000000,1000001))) __attribute__ ((hotpatch(1000000,1000001)))
void hp4(void) void hp4(void)
{ /* { dg-error " requested 'hotpatch' attribute is not a comma separated pair" } */ { /* { dg-error " requested .hotpatch. attribute is not a comma separated pair" } */
printf("hello, world!\n"); printf("hello, world!\n");
} }
...@@ -8,4 +8,4 @@ viod main(void) ...@@ -8,4 +8,4 @@ viod main(void)
return 0; return 0;
} }
/* { dg-excess-errors "argument to '-mhotpatch=n,m' is too large" } */ /* { dg-error "argument to .-mhotpatch=n,m. is too large" "" { target *-*-* } 1 } */
...@@ -2,10 +2,4 @@ ...@@ -2,10 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=0,-1" } */ /* { dg-options "-O3 -mzarch -mhotpatch=0,-1" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */
int main (void)
{
return 0;
}
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -2,10 +2,4 @@ ...@@ -2,10 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=0" } */ /* { dg-options "-O3 -mzarch -mhotpatch=0" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */
int main (void)
{
return 0;
}
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -2,10 +2,4 @@ ...@@ -2,10 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=0,0,0" } */ /* { dg-options "-O3 -mzarch -mhotpatch=0,0,0" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */
int main (void)
{
return 0;
}
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -2,10 +2,4 @@ ...@@ -2,10 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=a,0" } */ /* { dg-options "-O3 -mzarch -mhotpatch=a,0" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */
int main (void)
{
return 0;
}
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -2,10 +2,4 @@ ...@@ -2,10 +2,4 @@
/* { dg-do compile } */ /* { dg-do compile } */
/* { dg-options "-O3 -mzarch -mhotpatch=0,a" } */ /* { dg-options "-O3 -mzarch -mhotpatch=0,a" } */
/* { dg-error "arguments to .-mhotpatch=n,m. should be non-negative integers" "" { target *-*-* } 1 } */
int main (void)
{
return 0;
}
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
__attribute__((hotpatch(-1,0))) __attribute__((hotpatch(-1,0)))
int main (void) int main (void)
{ {/* { dg-error "attribute is not a comma separated pair of non-negative integer constants or too large" } */
return 0; return 0;
} }
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
__attribute__((hotpatch(0,-1))) __attribute__((hotpatch(0,-1)))
int main (void) int main (void)
{ {/* { dg-error "attribute is not a comma separated pair of non-negative integer constants or too large" } */
return 0; return 0;
} }
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
...@@ -5,8 +5,6 @@ ...@@ -5,8 +5,6 @@
__attribute__((hotpatch(0))) __attribute__((hotpatch(0)))
int main (void) int main (void)
{ {/* { dg-error "wrong number of arguments specified" } */
return 0; return 0;
} }
/* { dg-excess-errors "argument to '-mhotpatch=' should be a non-negative integer" } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment