This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Is that possible not to generate duplicated error messages?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 4 Feb 2008 17:11:33 -0800
- Subject: 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.