Packed structures in anonymous unions causes internal compilererror

Gerald Pfeifer pfeifer@dbai.tuwien.ac.at
Thu Sep 30 19:57:00 GMT 1999


On Fri, 24 Sep 1999, Ganesan Rajagopal wrote:
> The following simple program causes a internal compiler both Sparc
> Solaris 2.6 and Intel Solaris 2.6 (I haven't had a chance to test on
> other platforms) with gcc 2.95.1. 

I check with the current development snapshot of GCC on sparc-sun-solaris2.6
and got this

  x.cc:8: warning: anonymous union with no members
  x.cc:9: Internal compiler error in `expand_expr', at expr.c:5789
  Please submit a full bug report.

when using g++, so the bug is still in/triggered by the C++ frontend.

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/




More information about the Gcc-bugs mailing list