This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Is that possible not to generate duplicated error messages?


[hjl@gnu-6 stack-2]$ cat x.i
float essef(float) __attribute__((sseregparm));
extern float f;
void test(void)
{
  f = essef(f);
}
[hjl@gnu-6 stack-2]$ /usr/gcc-4.3/bin/gcc -m32 -mno-sse -S x.i
x.i: In function 'test':
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'essef' with attribute sseregparm without SSE/SSE2 enabled
x.i:5: error: Calling 'essef' with attribute sseregparm without SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
[hjl@gnu-6 stack-2]$

Is that possible not to generate duplicated error messages? On stack
alignment branch, I got one more

[hjl@gnu-6 stack-2]$
/export/build/gnu/gcc-stack/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-stack/build-x86_64-linux/gcc/ -S -m32 -mno-sse
x.i
x.i: In function 'test':
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:4: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
x.i:5: error: Calling 'essef' with attribute sseregparm without SSE/SSE2 enabled
x.i:5: error: Calling 'essef' with attribute sseregparm without SSE/SSE2 enabled
x.i:5: error: Calling 'float(float)' with attribute sseregparm without
SSE/SSE2 enabled
[hjl@gnu-6 stack-2]$

Since it is an error, can't ix86_function_sseregparm remember what
have been reported and not
generate duplicated messages?


H.J.

H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]