[Bug c++/13625] New: Internal compiler error with glibmm
alfredo at mysql dot com
gcc-bugzilla@gcc.gnu.org
Fri Jan 9 05:06:00 GMT 2004
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
More information about the Gcc-bugs
mailing list