This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Avoid memory allocations when making futures ready


> This patch replaces some reference members with pointers, ...
> ...
> Tested x86_64-linux, committed to trunk.

This breaks bootstrap (see https://gcc.gnu.org/ml/gcc-regression/2014-08/):

...
libtool: compile:  /opt/gcc/build_w/./gcc/xgcc -shared-libgcc -B/opt/gcc/build_w/./gcc -nostdinc++ -L/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/src -L/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/src/.libs -L/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/libsupc++/.libs -B/opt/gcc/gcc4.10w/x86_64-apple-darwin13.3.0/bin/ -B/opt/gcc/gcc4.10w/x86_64-apple-darwin13.3.0/lib/ -isystem /opt/gcc/gcc4.10w/x86_64-apple-darwin13.3.0/include -isystem /opt/gcc/gcc4.10w/x86_64-apple-darwin13.3.0/sys-include -I/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/include/x86_64-apple-darwin13.3.0 -I/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/include -I/opt/gcc/work/libstdc++-v3/libsupc++ -fno-common -DPIC -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi -fdiagnostics-show-location=once -fvisibility-inlines-hidden -ffunction-sections -fdata-sections -frandom-seed=compatibility-thread-c++0x.lo -g -O2 -std=gnu++11 -c ../../../../work/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc  -fno-common -DPIC -D_GLIBCXX_SHARED -o .libs/compatibility-thread-c++0x.o
In file included from ../../../../work/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc:30:0:
/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/include/future:557:6: error: incomplete type 'std::__future_base::_State_base' used in nested name specifier
     <__future_base::_State_base::_Setter<_Res, _Arg>>
      ^
/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/include/future:557:6: error: incomplete type 'std::__future_base::_State_base' used in nested name specifier
/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/include/future:557:48: error: wrong number of template arguments (2, should be 1)
     <__future_base::_State_base::_Setter<_Res, _Arg>>
                                                ^
In file included from /opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/include/future:38:0,
                 from ../../../../work/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc:30:
/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/include/functional:1749:12: error: provided for 'template<class _Tp> struct std::__is_location_invariant'
     struct __is_location_invariant
            ^
In file included from ../../../../work/libstdc++-v3/src/c++11/compatibility-thread-c++0x.cc:30:0:
/opt/gcc/build_w/x86_64-apple-darwin13.3.0/libstdc++-v3/include/future:557:52: error: expected unqualified-id before '>' token
     <__future_base::_State_base::_Setter<_Res, _Arg>>
                                                    ^
make[6]: *** [compatibility-thread-c++0x.lo] Error 1
...

TIA

Dominique


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]