http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50761
--- Comment #1 from Stéphane Magnenat 2011-10-17
17:16:56 UTC ---
Created attachment 25525
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25525
correct code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50761
Bug #: 50761
Summary: g++ internal compiler error using
std::initializer_list
Classification: Unclassified
Product: gcc
Version: 4.5.2
Status: UNCONFIRMED
S
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46290
Summary: explicit instantiation: inconsistant behaviour between
constructor and member functions
Product: gcc
Version: 4.5.1
Status: UNCONFIRMED
Severity: normal
P
--- Comment #6 from stephane at magnenat dot net 2010-09-09 07:20 ---
Created an attachment (id=21747)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21747&action=view)
Working code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45601
--- Comment #5 from stephane at magnenat dot net 2010-09-09 07:19 ---
Thank you very much for these explanations, thanks to your pointer I managed to
make a working version, which I will attach to this bug as reference.
As a side-note, it is not easy to access C++ standard because the
--- Comment #2 from stephane at magnenat dot net 2010-09-08 16:31 ---
Output of g++ -v -save-temps -o test.o -c test.cpp :
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5'
--with-bugurl=file:///usr
--- Comment #1 from stephane at magnenat dot net 2010-09-08 16:30 ---
Created an attachment (id=21741)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21741&action=view)
Minimal test case
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45601
: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stephane at magnenat dot net
GCC build triplet: x86_64-linux-gnu
GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla