This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c++/4535: Internal compiler error (unknwn.h)



>Number:         4535
>Category:       c++
>Synopsis:       Internal compiler error (unknwn.h)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 11 06:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Peter
>Release:        3.0.2 20011007 (prerelease)
>Organization:
>Environment:
System: Linux random 2.4.10 #1 Mon Oct 8 23:07:33 CEST 2001 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i386-pc-mingw32msvc
configured with: ../gcc-20011007/configure --target=i386-mingw32msvc --prefix=/usr/local/cross/win32 --enable-languages=c++ : (reconfigured) ../gcc-20011007/configure --target=i386-mingw32msvc --prefix=/usr/local/cross/win32 --enable-languages=c++ --disable-multilib
>Description:

The file unknwn.h (from windows' api) gives internal compiler error.
I narrowed it down to the following two lines:

--------------------------------------------------------------------------
struct __attribute__((com_interface)) IUnknown { };
struct __attribute__((com_interface)) IClassFactory : public IUnknown { };
--------------------------------------------------------------------------

Works with gcc 2.95.4 but not 3.0.1 and up.
Error message:

foo.cc:2: Internal compiler error in tree_low_cst, at tree.c:3462
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.


>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]