http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46269
Summary: [trans-mem] internal compiler error in expand_block_tm of trans-mem.c Product: gcc Version: unknown Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: vincent.gram...@epfl.ch I encounter the following problem when trying to compile transaction-based Globulation2 (attached is the .ii): gramo...@gramoliv-desktop:~/svn/velox/trunk/glob2$ g++ -o src/Building.o -c -Wall --gnu-tm -fno-builtin -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -I/usr/include/SDL src/Building.cpp In file included from src/Building.cpp:28:0: src/Building.h:69:143: warning: ‘transaction_unknown’ attribute directive ignored In file included from src/Building.cpp:34:0: src/Unit.h:52:81: warning: ‘transaction_unknown’ attribute directive ignored In file included from src/Building.cpp:34:0: src/Unit.h:174:37: warning: ‘transaction_unknown’ attribute directive ignored src/Building.cpp: In member function ‘void Building::updateCallLists()’: src/Building.cpp:907:6: warning: suggest explicit braces to avoid ambiguous ‘else’ src/Building.cpp: In member function ‘void Building::updateUnitsHarvesting()’: src/Building.cpp:1153:82: warning: suggest parentheses around comparison in operand of ‘&’ src/Building.cpp: In member function ‘bool Building::subscribeToBringRessourcesStep()’: src/Building.cpp:1708:8: warning: unused variable ‘teamNumber’ src/Building.cpp:1734:8: warning: unused variable ‘teamNumber’ src/Building.cpp: In member function ‘bool Building::subscribeForFlagingStep()’: src/Building.cpp:1940:11: warning: unused variable ‘canSwim’ src/Building.cpp:1801:8: warning: unused variable ‘teamNumber’ src/Building.cpp:1875:9: warning: unused variable ‘map’ src/Building.cpp: In member function ‘bool Building::canConvertUnit()’: src/Building.cpp:2818:39: warning: comparison between signed and unsigned integer expressions src/Building.cpp:2819:24: warning: comparison between signed and unsigned integer expressions In file included from /usr/include/boost/smart_ptr/detail/sp_counted_base.hpp:36:0, from /usr/include/boost/smart_ptr/detail/shared_count.hpp:29, from /usr/include/boost/smart_ptr/shared_ptr.hpp:32, from /usr/include/boost/shared_ptr.hpp:17, from src/Order.h:36, from src/Building.h:29, from src/Building.cpp:28: /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp: In function ‘int boost::detail::atomic_exchange_and_add(int*, int)’: /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:35:12: internal compiler error: in expand_block_tm, at trans-mem.c:2199