[Gc] A bug in GCC (Win32)

Ivan Maidanski ivmai at mail.ru
Fri Sep 25 04:13:04 PDT 2009


This is an informatory post.

I tried to compile win32_threads.c with "-O1 -DGC_DLL -Iinclude -Ilibatomic_ops-1.2\src" in latest MinGW (GCC 4.4.0), it outputs:

win32_threads.c: In function 'GC_push_all_stacks':
win32_threads.c:1246: internal compiler error: in gimple_rhs_has_side_effects, at gimple.c:2343

The bug seems to be fixed in GCC since this is not observed in mingw-w64 based GCC 4.5.0.

I can't find a work-around for the bug, so I leave all as-is.


More information about the Gc mailing list