+2015-06-01 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.target/s390/hotpatch-compile-15.c: Remove dg-prune-output
+ directives.
+ (hp3, hp4): Add inline keyword.
+ * gcc.target/s390/hotpatch-19.c: Remove dg-prune-output directive.
+ (hp2): Add inline keyword.
+ * gcc.target/s390/hotpatch-19.c: Remove dg-prune-output directives.
+ (hp2): Add inline keyword.
+
2015-06-01 Ilya Enkovich <ilya.enkovich@intel.com>
PR target/65527
#include <stdio.h>
-/* { dg-prune-output "always_inline function might not be inlinable" } */
__attribute__ ((always_inline))
-static void hp2(void)
+static inline void hp2(void)
{
printf("hello, world!\n");
}
#include <stdio.h>
-/* { dg-prune-output "always_inline function might not be inlinable" } */
__attribute__ ((hotpatch(1,2)))
__attribute__ ((always_inline))
-static void hp2(void)
+static inline void hp2(void)
{
printf("hello, world!\n");
}
-/* { dg-prune-output "called from here" } */
void hp1(void)
{
hp2();
/* { dg-do compile } */
/* { dg-options "-O3 -mzarch" } */
-/* { dg-prune-output "always_inline function might not be inlinable" } */
-/* { dg-prune-output "called from here" } */
-
#include <stdio.h>
__attribute__ ((hotpatch(1,2)))
__attribute__ ((hotpatch(0,0)))
__attribute__ ((always_inline))
-static void hp3(void)
+static inline void hp3(void)
{
printf("hello, world!\n");
}
__attribute__ ((hotpatch(1,2)))
__attribute__ ((always_inline))
-static void hp4(void)
+static inline void hp4(void)
{
printf("hello, world!\n");
}