From: Eric Botcazou Date: Tue, 20 Aug 2019 09:21:28 +0000 (+0000) Subject: * gcc.c-torture/execute/20190820-1.c: Do not use attribute noipa. X-Git-Tag: releases/gcc-7.5.0~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=181cb4095f35bc35048c7b11d2a3e0096976b50a;p=thirdparty%2Fgcc.git * gcc.c-torture/execute/20190820-1.c: Do not use attribute noipa. From-SVN: r274712 --- diff --git a/gcc/testsuite/gcc.c-torture/execute/20190820-1.c b/gcc/testsuite/gcc.c-torture/execute/20190820-1.c index 6a06eff75714..5bb1451203b9 100644 --- a/gcc/testsuite/gcc.c-torture/execute/20190820-1.c +++ b/gcc/testsuite/gcc.c-torture/execute/20190820-1.c @@ -18,7 +18,7 @@ typedef u64 uint64_t; char hex_asc_upper[16]; u16 decpair[100]; -static __attribute__ ((noipa)) void +static __attribute__((noinline, noclone))) void put_dec_full4 (char *buf, unsigned r) { unsigned q; @@ -28,7 +28,7 @@ put_dec_full4 (char *buf, unsigned r) *((u16 *)buf) = decpair[q]; } -static __attribute__ ((noipa)) unsigned +static __attribute__((noinline, noclone))) unsigned put_dec_helper4 (char *buf, unsigned x) { uint32_t q = (x * (uint64_t)0x346DC5D7) >> 43; @@ -36,7 +36,7 @@ put_dec_helper4 (char *buf, unsigned x) return q; } -static __attribute__ ((noipa)) char * +static __attribute__((noinline, noclone))) char * put_dec (char *buf, unsigned long long n) { uint32_t d3, d2, d1, q, h; @@ -61,7 +61,7 @@ struct printf_spec { signed int precision:16; } __attribute__((__packed__)); -static __attribute__ ((noipa)) char * +static __attribute__((noinline, noclone))) char * number (char *buf, char *end, unsigned long long num, struct printf_spec spec) { @@ -94,7 +94,7 @@ number (char *buf, char *end, unsigned long long num, struct printf_spec spec) return buf; } -static __attribute__ ((noipa)) char * +static __attribute__((noinline, noclone))) char * pointer_string (char *buf, char *end, const void *ptr, struct printf_spec spec) { spec.base = 16;