This is the mail archive of the gcc-bugs@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]

[Bug target/35084] New: Strang 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]$

There are 2 problems:

1. 'float(float)' is confusing.
2. There are many duplicated messages.


-- 
           Summary: Strang error messages
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35084


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