1 /* PR middle-end/89663 */ 2 /* { dg-require-effective-target non_strict_prototype } */ 3 4 int irint (); 5 long lrint (); 6 long long llrint (); 7 int iround (); 8 long lround (); 9 long long llround (); 10 int iceil (); 11 long lceil (); 12 long long llceil (); 13 int ifloor (); 14 long lfloor (); 15 long long llfloor (); 16 int irintf (); 17 long lrintf (); 18 long long llrintf (); 19 int iroundf (); 20 long lroundf (); 21 long long llroundf (); 22 int iceilf (); 23 long lceilf (); 24 long long llceilf (); 25 int ifloorf (); 26 long lfloorf (); 27 long long llfloorf (); 28 int irintl (); 29 long lrintl (); 30 long long llrintl (); 31 int iroundl (); 32 long lroundl (); 33 long long llroundl (); 34 int iceill (); 35 long lceill (); 36 long long llceill (); 37 int ifloorl (); 38 long lfloorl (); 39 long long llfloorl (); 40 41 void foo(long long * p)42foo (long long *p) 43 { 44 int n = 0; 45 #define T(f) p[n++] = f (1); 46 T (irint) 47 T (lrint) 48 T (llrint) 49 T (iround) 50 T (lround) 51 T (llround) 52 T (iceil) 53 T (lceil) 54 T (llceil) 55 T (ifloor) 56 T (lfloor) 57 T (llfloor) 58 T (irintf) 59 T (lrintf) 60 T (llrintf) 61 T (iroundf) 62 T (lroundf) 63 T (llroundf) 64 T (iceilf) 65 T (lceilf) 66 T (llceilf) 67 T (ifloorf) 68 T (lfloorf) 69 T (llfloorf) 70 T (irintl) 71 T (lrintl) 72 T (llrintl) 73 T (iroundl) 74 T (lroundl) 75 T (llroundl) 76 T (iceill) 77 T (lceill) 78 T (llceill) 79 T (ifloorl) 80 T (lfloorl) 81 T (llfloorl) 82 } 83