From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22068 invoked by alias); 22 Feb 2005 20:17:21 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22058 invoked by uid 48); 22 Feb 2005 20:17:19 -0000 Date: Wed, 23 Feb 2005 05:32:00 -0000 From: "us15 at os dot inf dot tu-dresden dot de" To: gcc-bugs@gcc.gnu.org Message-ID: <20050222201718.20153.us15@os.inf.tu-dresden.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/20153] New: ICE when C++ template function contains anonymous union X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg02705.txt.bz2 List-Id: The following program causes an internal compiler error when compiled with gcc-3.4.3 or gcc-4.0 (CVS): template class C { public: void foo(); }; template void C::foo() { union { struct { }; }; }; int main() { return 0; } -- Summary: ICE when C++ template function contains anonymous union Product: gcc Version: 3.4.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: us15 at os dot inf dot tu-dresden dot de CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i486-slackware-linux GCC host triplet: i486-slackware-linux GCC target triplet: i486-slackware-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20153