This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13625] New: Internal compiler error with glibmm
- From: "alfredo at mysql dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2004 05:06:57 -0000
- Subject: [Bug c++/13625] New: Internal compiler error with glibmm
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
When compiling the code below, which uses glibmm-2, g++ crashes with the
following message:
g++ test.cc `pkg-config gdkmm-2.0 --cflags`
a.cc: In function `int main()':
a.cc:8: internal compiler error: in cp_expr_size, at cp/cp-lang.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Code:
#include <gdkmm.h>
int main()
{
Glib::RefPtr<Gdk::Pixbuf> a,b,c;
a=b?:c;
return 0;
}
The same code compiles fine, if b?:c is replaced with b.is_null()?:c
If you'd like the preprocessed output, please request. I did not include in
this bug report as it's quite a lot of stuff.
--
Summary: Internal compiler error with glibmm
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: alfredo at mysql dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13625