@@ -69,15 +69,15 @@ inline void test_float_arg_inline(float a) {}
6969inline  void  test_float_arg_inline_used (float  a ) {}
7070// nofp-hard-opt-error@-1 {{'a' requires 'float' type support, but ABI 'aapcs' does not support it}} 
7171void  use_inline () { test_float_arg_inline_used (1.0f ); }
72- // nofp-hard-error@-1 {{'use_inline ' requires 'float' type support, but ABI 'aapcs' does not support it}} 
72+ // nofp-hard-error@-1 {{'test_float_arg_inline_used ' requires 'float' type support, but ABI 'aapcs' does not support it}} 
7373
7474// The always_inline attribute causes an inline function to always be 
7575// code-genned, even at -O0, so we always emit the error. 
7676__attribute((always_inline ))
7777inline  void  test_float_arg_always_inline_used (float  a ) {}
7878// nofp-hard-error@-1 {{'a' requires 'float' type support, but ABI 'aapcs' does not support it}} 
7979void  use_always_inline () { test_float_arg_always_inline_used (1.0f ); }
80- // nofp-hard-error@-1 {{'use_always_inline ' requires 'float' type support, but ABI 'aapcs' does not support it}} 
80+ // nofp-hard-error@-1 {{'test_float_arg_always_inline_used ' requires 'float' type support, but ABI 'aapcs' does not support it}} 
8181
8282// Floating-point expressions, global variables and local variables do not 
8383// affect the ABI, so are allowed. GCC does reject some uses of floating point 
@@ -103,9 +103,9 @@ int test_var_double(int a) {
103103extern  void  extern_float_arg (float );
104104extern  float  extern_float_ret (void );
105105void  call_extern_float_arg () { extern_float_arg (1.0f ); }
106- // nofp-hard-error@-1 {{'call_extern_float_arg ' requires 'float' type support, but ABI 'aapcs' does not support it}} 
106+ // nofp-hard-error@-1 {{'extern_float_arg ' requires 'float' type support, but ABI 'aapcs' does not support it}} 
107107void  call_extern_float_ret () { extern_float_ret (); }
108- // nofp-hard-error@-1 {{'call_extern_float_ret ' requires 'float' type support, but ABI 'aapcs' does not support it}} 
108+ // nofp-hard-error@-1 {{'extern_float_ret ' requires 'float' type support, but ABI 'aapcs' does not support it}} 
109109
110110// Definitions of variadic functions, and calls to them which only use integer 
111111// argument registers, are both fine. 
@@ -115,7 +115,7 @@ void call_variadic_int() { variadic(0, 1); }
115115// Calls to variadic functions with floating-point arguments are an error, 
116116// since this would require floating-point registers. 
117117void  call_variadic_double () { variadic (0 , 1.0 ); }
118- // nofp-hard-error@-1 {{'call_variadic_double ' requires 'double' type support, but ABI 'aapcs' does not support it}} 
118+ // nofp-hard-error@-1 {{'variadic ' requires 'double' type support, but ABI 'aapcs' does not support it}} 
119119
120120// Calls through function pointers are also diagnosed. 
121121void  (* fptr )(float );
0 commit comments