c/10225: Unnamed structs aren't handled correctly in 3.3

Steven Bosscher s.bosscher@student.tudelft.nl
Wed Mar 26 17:27:00 GMT 2003


The following reply was made to PR c/10225; it has been noted by GNATS.

From: Steven Bosscher <s.bosscher@student.tudelft.nl>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
	pthomas@suse.de, gcc-prs@gcc.gnu.org, aj@suse.de
Cc:  
Subject: Re: c/10225: Unnamed structs aren't handled correctly in 3.3
Date: Wed, 26 Mar 2003 18:24:54 +0100

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10225
 
 Hmm...  Didn't work with 2.95.3 apparently, so the
 kernel had better not rely on this "feature".
 
 Greetz
 Steven
 
 # gcc 10225.c -v
 Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
 gcc version 2.95.3 20010315 (SuSE)
  /usr/lib/gcc-lib/i486-suse-linux/2.95.3/cpp0 -lang-c -v -D__GNUC__=2 
 -D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ 
 -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) 
 -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -Di486 -D__i486 
 -D__i486__ 10225.c /tmp/ccba6Vbe.i
 GNU CPP version 2.95.3 20010315 (SuSE) (i386 Linux/ELF)
 #include "..." search starts here:
 #include <...> search starts here:
  /usr/local/include
  /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include
  /usr/include
 End of search list.
 The following default directories have been omitted from the search path:
  /usr/include/g++
  /usr/lib/gcc-lib/i486-suse-linux/2.95.3/../../../../i486-suse-linux/include
 End of omitted list.
  /usr/lib/gcc-lib/i486-suse-linux/2.95.3/cc1 /tmp/ccba6Vbe.i -quiet 
 -dumpbase 10225.c -version -o /tmp/cc4V6K8j.s
 GNU C version 2.95.3 20010315 (SuSE) (i486-suse-linux) compiled by GNU C 
 version 2.95.3 20010315 (SuSE).
 10225.c:10: warning: useless keyword or type name in empty declaration
 10225.c:10: warning: empty declaration
 10225.c: In function `main':
 10225.c:18: structure has no member named `z'
 
 



More information about the Gcc-prs mailing list