This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the EGCS project.
gcc 2.95 unnamed union -> internal compiler error
- To: gcc-bugs@gcc.gnu.org
- Subject: gcc 2.95 unnamed union -> internal compiler error
- From: Lutz Vieweg <lkv@isg.de>
- Date: Fri, 30 Jul 1999 17:31:02 +0200
- Organization: Innovative Software GmbH
>gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95/specs
gcc version 2.95 19990728 (release)
>cat unnamed_union.cxx
char * test(void) {
union {
long l;
char c[5];
};
l = 7;
c[4] = 0;
return c;
}
> gcc -o unnamed_union unnamed_union.cxx
unnamed_union.cxx: In function `char * test()':
unnamed_union.cxx:6: warning: anonymous union with no members
unnamed_union.cxx:7: Internal compiler error in `expand_expr', at expr.c:5750
Please submit a full bug report.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for instructions.
Regards,
Lutz Vieweg
--
Dipl. Phys. Lutz Vieweg | email: lkv@isg.de
Innovative Software GmbH | Phone/Fax: +49-69-505030 -20/-50
Feuerbachstrasse 26-32 | http://www.isg.de/persons/lkv/
60325 Frankfurt am Main | ^^^ PGP key available here ^^^