http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48569

coolypf <coolypf at qq dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |coolypf at qq dot com

--- Comment #3 from coolypf <coolypf at qq dot com> 2011-04-18 11:52:21 UTC ---
(In reply to comment #2)
> Created attachment 23966 [details]
> pr48569.ii
> 
> Slightly reduced testcase.

This test fails on MinGW

g++-svn -v
Using built-in specs.
COLLECT_GCC=D:\MinGW\bin\g++-svn.exe
COLLECT_LTO_WRAPPER=d:/mingw/bin/../libexec/gcc/i686-pc-mingw32/4.7.0/lto-wrapper.exe
Target: i686-pc-mingw32
Configured with: ../gcc-svn/configure --prefix=/gcc4 --program-suffix=-svn
--enable-threads --disable-nls --disable-win32-registry --disable-werror
--disable-shared --disable-bootstrap --build=x86_64-w64-mingw32
--target=i686-pc-mingw32 --enable-languages=c,c++ --disable-libquadmath
--with-as=/i686-pc-mingw32/bin/as --with-ld=/i686-pc-mingw32/bin/ld
Thread model: win32
gcc version 4.7.0 20110418 (experimental) (GCC)

g++-svn -c pr48569.cpp
pr48569.cpp: In member function 'last_value< <template-parameter-1-1>
>::result_type last_value< <template-parameter-1-1>
>::operator()(InputIterator, InputIterator) [with InputIterator =
slot_call_iterator<call_bound0<void>::caller<function0<void> >,
named_slot_map_iterator>, <template-parameter-1-1> = void, last_value<
<template-parameter-1-1> >::result_type = void]':
pr48569.cpp:25:432:   instantiated from 'signal0<R, Combiner, Group,
<template-parameter-1-4>, SlotFunction>::result_type signal0<R, Combiner,
Group, <template-parameter-1-4>, SlotFunction>::operator()() [with R = void,
Combiner = last_value<void>, Group = function<void()>, <template-parameter-1-4>
= less<function<void()> >, SlotFunction = function0<void>, signal0<R, Combiner,
Group, <template-parameter-1-4>, SlotFunction>::result_type = void]'
pr48569.cpp:31:36:   instantiated from here
pr48569.cpp:12:158: internal compiler error: in build_zero_init_1, at
cp/init.c:277
Please submit a full bug report,
with preprocessed source if appropriate.

Reply via email to