Before I open a bug report, I will ask it here: [EMAIL PROTECTED] tmp]$ cat foo.c typedef struct A A; A *a;
typedef struct A
{
int x;
} A;
[EMAIL PROTECTED] tmp]$ gcc -c foo.c
foo.c:7: error: redefinition of typedef 'A'
foo.c:1: error: previous declaration of 'A' was here
[EMAIL PROTECTED] tmp]$ g++ -c foo.c
[EMAIL PROTECTED] tmp]$ /opt/intel/cce/9.0/bin/icc -c foo.c
Is this a gcc bug or an icc extension?
H.J.
