I just tried to compile Suse Linux package agg-2.5-158.64 with the g++ 4.5 mainline snapshot 20090820 and the compiler said
In file included from aa_test.cpp:13:0: ../include/agg_span_gouraud_rgba.h: In member function 'void agg::span_gouraud_rgba<ColorT>::prepare() [with ColorT = agg::rgba8]': ../include/agg_span_gouraud_rgba.h:127:31: internal compiler error: in get_alias_set, at alias.c:694 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. Preprocessed source attached. Flag -O2 required. -- Summary: ice for legal code with -O2 in get_alias_set Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dcb314 at hotmail dot com GCC host triplet: x86_64-suse-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41144