From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18674 invoked by alias); 31 Dec 2009 19:17:53 -0000 Received: (qmail 18605 invoked by uid 48); 31 Dec 2009 19:17:37 -0000 Date: Thu, 31 Dec 2009 19:17:00 -0000 Subject: [Bug c++/42567] New: internal compiler error: in type_unification_real, at cp/pt.c:13310 X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "smm2rc at Virginia dot EDU" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg02925.txt.bz2 /*To start off, I apologize if this bug already was reported (I didn't find it mentioned anywhere...). Also, what exactly is meant by 'host triplet', 'target triplet', and 'build triplet'? (I just sort of guessed at them - I'm assuming they're the host system and the target system and the system on which the compiler was built...??) */ /* Simplified test case code (located in main.cpp): */ template class A { public: template void fn(C c) { auto&& key = *c; /* same bug results if 'auto&&' is replaced with 'auto&' */ } }; int main(int argc, char* argv[]) {} /* Errors produced: main.cpp: In member function ‘void A::fn(C)’: main.cpp:6:17: internal compiler error: in type_unification_real, at cp/pt.c:13310 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. */ /* The following is the command used to compile the code: g++ -std=c++0x main.cpp */ /* System specs: Ubuntu 9.10 32-bit, Intel P9500, --> GCC 4.5.0 (built from source, revision 155485) <-- */ /* Comments: Buh whuh? */ -- Summary: internal compiler error: in type_unification_real, at cp/pt.c:13310 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: smm2rc at Virginia dot EDU GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42567