From: SourceForge.net <no...@so...> - 2005-04-26 02:29:40
|
Bugs item #1189950, was opened at 2005-04-26 10:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1189950&group_id=2435 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Elegant Dice (elegant_dice) Assigned to: Nobody/Anonymous (nobody) Summary: ICE with boost headers - greg_date.hpp Initial Comment: I'm using mingw to crosscompile from linux to win32. check.cpp: #include <boost/date_time/posix_time/posix_time.hpp> int main() { boost::posix_time::ptime t = boost::posix_time::neg_infin; return 0; } The compiler (its stock debian-sarge): i586-mingw32msvc-g++ --version i586-mingw32msvc-g++ (GCC) 3.4.2 (mingw-special) Boost is just v1.32.0 with -DBOOST_SIGNALS_NAMESPACE=signalslib, so it has no effect here, you should see the same problem with stock debian boost. This works: i586-mingw32msvc-g++ -O1 -I/usr/local/include/boost-1_32_0/ check.cpp This does not work: i586-mingw32msvc-g++ -O2 -I/usr/local/include/boost-1_32_0/ check.cpp The error: /usr/local/include/boost-1_32_0/boost/date_time/gregorian/greg_date.hpp: In constructor `boost::gregorian::date::date(boost::date_time::special_values)': /usr/local/include/boost-1_32_0/boost/date_time/gregorian/greg_date.hpp:86: internal compiler error: in remove_insn, at emit-rtl.c:3729 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. Preprocessed source is attached. Thanks Paul ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1189950&group_id=2435 |