From: SourceForge.net <no...@so...> - 2006-08-13 08:58:17
|
Bugs item #1539256, was opened at 2006-08-13 05:14 Message generated for change (Comment added) made by dannysmith You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1539256&group_id=2435 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Edd (nunswithguns) Assigned to: Nobody/Anonymous (nobody) Summary: g++ internal compiler error Initial Comment: Windows XP, SP2 gcc-v: Reading specs from C:/development/MinGW/bin/../lib/gcc/mingw32/3.4.5/specs Configured with: ../gcc-3.4.5/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,ada,objc,java --disable-win32-registry --disable-shared --enable-sjlj-exceptions --enable-libgcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug Thread model: win32 gcc version 3.4.5 (mingw special) Installer: MinGW-5.0.3.exe Building from inside cmd.exe Test case: //---- namespace N { struct s { }; template<typename T> struct tplt { void mf(const T &) {} }; tplt<s> &f(); } template<typename T> bool g() { N::s *p = 0; N::f().mf(s(p)); return true; } //---- C:\Documents and Settings\Developer\My Documents\projects\software\domino\trunk\src\test>g++ test.cpp -o test -W -Wall -ansi -pedantic test.cpp: In function `bool g()': test.cpp:13: internal compiler error: in type_dependent_expression_p, at cp/pt.c:12048 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.mingw.org/bugs.shtml> for instructions. ---------------------------------------------------------------------- >Comment By: Danny Smith (dannysmith) Date: 2006-08-13 20:58 Message: Logged In: YES user_id=11494 Forgot to put in link: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28705 Danny ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2006-08-13 20:56 Message: Logged In: YES user_id=11494 I have forwarded this to GCC's bugzilla. Thanks for reporting. Danny ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=1539256&group_id=2435 |