AIX libstdc++ failures

David Edelsohn dje.gcc@gmail.com
Tue Nov 18 16:56:00 GMT 2014


Jason,

After your recent C++ patches from yesterday, I am encountering a huge
number of libstdc++ failures on AIX preventing creation of
executables.  They all are of the form:

/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher<
<template-parameter-1-1>, <anonymous>, <anonymous>
>::_S_cache_size<std::regex_traits<char>, false, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher<
<template-parameter-1-1>, <anonymous>, <anonymous>
>::_S_cache_size<std::regex_traits<char>, false, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher<
<template-parameter-1-1>, <anonymous>, <anonymous>
>::_S_cache_size<std::regex_traits<char>, true, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher<
<template-parameter-1-1>, <anonymous>, <anonymous>
>::_S_cache_size<std::regex_traits<char>, true, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:
425:20: error: '(int)(1ul * 8ul)' is not a constant expression

The full output for one testcase is attached.

Thanks, David
-------------- next part --------------
Executing on host: /tmp/20141118/./gcc/xg++ -shared-libgcc -B/tmp/20141118/./gcc -nostdinc++ -L/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/src -L/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/src/.libs -L/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/libsupc++/.libs -B/gsa/yktgsa/home/e/d/edelsohn/install/powerpc-ibm-aix7.1.0.0-20141118/powerpc-ibm-aix7.1.0.0/bin/ -B/gsa/yktgsa/home/e/d/edelsohn/install/powerpc-ibm-aix7.1.0.0-20141118/powerpc-ibm-aix7.1.0.0/lib/ -isystem /gsa/yktgsa/home/e/d/edelsohn/install/powerpc-ibm-aix7.1.0.0-20141118/powerpc-ibm-aix7.1.0.0/include -isystem /gsa/yktgsa/home/e/d/edelsohn/install/powerpc-ibm-aix7.1.0.0-20141118/powerpc-ibm-aix7.1.0.0/sys-include -B/tmp/20141118/powerpc-ibm-aix7.1.0.0/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++ -I/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/powerpc-ibm-aix7.1.0.0 -I/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include -I/nasfarm/edelsohn/src/src/libstdc++-v3/libsupc++ -I/nasfarm/edelsohn/src/src/libstdc++-v3/include/backward -I/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/util /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc   -std=gnu++11 ./libtestc++.a /gsa/yktgsa/home/e/d/edelsohn/install/lib/libiconv.a  -lm   -o ./string_01.exe    (timeout = 600)
In file included from /tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/regex:61:0,
                 from /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:26:
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h: In instantiation of 'struct std::__detail::_BracketMatcher<std::regex_traits<char>, false, false>':
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:403:53:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_insert_character_class_matcher() [with bool __icase = false; bool __collate = false; _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:321:2:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_atom() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:139:7:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_term() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:121:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_alternative() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:97:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_disjunction() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:82:7:   required from 'std::__detail::_Compiler<_TraitsT>::_Compiler(std::__detail::_Compiler<_TraitsT>::_IterT, std::__detail::_Compiler<_TraitsT>::_IterT, const typename _TraitsT::locale_type&, std::__detail::_Compiler<_TraitsT>::_FlagT) [with _TraitsT = std::regex_traits<char>; std::__detail::_Compiler<_TraitsT>::_IterT = const char*; std::__detail::_Compiler<_TraitsT>::_CharT = char; typename _TraitsT::locale_type = std::locale; std::__detail::_Compiler<_TraitsT>::_FlagT = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:156:65:   required from 'std::shared_ptr<std::__detail::_NFA<_TraitsT> > std::__detail::__compile_nfa(const typename _TraitsT::char_type*, const typename _TraitsT::char_type*, const typename _TraitsT::locale_type&, std::regex_constants::syntax_option_type) [with _TraitsT = std::regex_traits<char>; typename _TraitsT::char_type = char; typename _TraitsT::locale_type = std::locale]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:519:52:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(_FwdIter, _FwdIter, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _FwdIter = const char*; _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:449:60:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(const _Ch_type*, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:34:32:   required from here
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, false, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
      _Dummy>::type _CacheT;
                    ^
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: note: in template argument for type 'long unsigned int' 
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h: In instantiation of 'struct std::__detail::_BracketMatcher<std::regex_traits<char>, false, true>':
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:403:53:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_insert_character_class_matcher() [with bool __icase = false; bool __collate = true; _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:321:2:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_atom() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:139:7:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_term() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:121:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_alternative() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:97:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_disjunction() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:82:7:   required from 'std::__detail::_Compiler<_TraitsT>::_Compiler(std::__detail::_Compiler<_TraitsT>::_IterT, std::__detail::_Compiler<_TraitsT>::_IterT, const typename _TraitsT::locale_type&, std::__detail::_Compiler<_TraitsT>::_FlagT) [with _TraitsT = std::regex_traits<char>; std::__detail::_Compiler<_TraitsT>::_IterT = const char*; std::__detail::_Compiler<_TraitsT>::_CharT = char; typename _TraitsT::locale_type = std::locale; std::__detail::_Compiler<_TraitsT>::_FlagT = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:156:65:   required from 'std::shared_ptr<std::__detail::_NFA<_TraitsT> > std::__detail::__compile_nfa(const typename _TraitsT::char_type*, const typename _TraitsT::char_type*, const typename _TraitsT::locale_type&, std::regex_constants::syntax_option_type) [with _TraitsT = std::regex_traits<char>; typename _TraitsT::char_type = char; typename _TraitsT::locale_type = std::locale]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:519:52:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(_FwdIter, _FwdIter, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _FwdIter = const char*; _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:449:60:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(const _Ch_type*, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:34:32:   required from here
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, false, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: note: in template argument for type 'long unsigned int' 
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h: In instantiation of 'struct std::__detail::_BracketMatcher<std::regex_traits<char>, true, false>':
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:403:53:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_insert_character_class_matcher() [with bool __icase = true; bool __collate = false; _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:321:2:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_atom() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:139:7:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_term() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:121:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_alternative() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:97:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_disjunction() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:82:7:   required from 'std::__detail::_Compiler<_TraitsT>::_Compiler(std::__detail::_Compiler<_TraitsT>::_IterT, std::__detail::_Compiler<_TraitsT>::_IterT, const typename _TraitsT::locale_type&, std::__detail::_Compiler<_TraitsT>::_FlagT) [with _TraitsT = std::regex_traits<char>; std::__detail::_Compiler<_TraitsT>::_IterT = const char*; std::__detail::_Compiler<_TraitsT>::_CharT = char; typename _TraitsT::locale_type = std::locale; std::__detail::_Compiler<_TraitsT>::_FlagT = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:156:65:   required from 'std::shared_ptr<std::__detail::_NFA<_TraitsT> > std::__detail::__compile_nfa(const typename _TraitsT::char_type*, const typename _TraitsT::char_type*, const typename _TraitsT::locale_type&, std::regex_constants::syntax_option_type) [with _TraitsT = std::regex_traits<char>; typename _TraitsT::char_type = char; typename _TraitsT::locale_type = std::locale]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:519:52:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(_FwdIter, _FwdIter, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _FwdIter = const char*; _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:449:60:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(const _Ch_type*, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:34:32:   required from here
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, true, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: note: in template argument for type 'long unsigned int' 
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h: In instantiation of 'struct std::__detail::_BracketMatcher<std::regex_traits<char>, true, true>':
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:403:53:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_insert_character_class_matcher() [with bool __icase = true; bool __collate = true; _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:321:2:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_atom() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:139:7:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_term() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:121:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_alternative() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:97:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_disjunction() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:82:7:   required from 'std::__detail::_Compiler<_TraitsT>::_Compiler(std::__detail::_Compiler<_TraitsT>::_IterT, std::__detail::_Compiler<_TraitsT>::_IterT, const typename _TraitsT::locale_type&, std::__detail::_Compiler<_TraitsT>::_FlagT) [with _TraitsT = std::regex_traits<char>; std::__detail::_Compiler<_TraitsT>::_IterT = const char*; std::__detail::_Compiler<_TraitsT>::_CharT = char; typename _TraitsT::locale_type = std::locale; std::__detail::_Compiler<_TraitsT>::_FlagT = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:156:65:   required from 'std::shared_ptr<std::__detail::_NFA<_TraitsT> > std::__detail::__compile_nfa(const typename _TraitsT::char_type*, const typename _TraitsT::char_type*, const typename _TraitsT::locale_type&, std::regex_constants::syntax_option_type) [with _TraitsT = std::regex_traits<char>; typename _TraitsT::char_type = char; typename _TraitsT::locale_type = std::locale]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:519:52:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(_FwdIter, _FwdIter, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _FwdIter = const char*; _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:449:60:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(const _Ch_type*, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:34:32:   required from here
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, true, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: note: in template argument for type 'long unsigned int' 
compiler exited with status 1
output is:
In file included from /tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/regex:61:0,
                 from /nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:26:
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h: In instantiation of 'struct std::__detail::_BracketMatcher<std::regex_traits<char>, false, false>':
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:403:53:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_insert_character_class_matcher() [with bool __icase = false; bool __collate = false; _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:321:2:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_atom() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:139:7:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_term() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:121:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_alternative() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:97:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_disjunction() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:82:7:   required from 'std::__detail::_Compiler<_TraitsT>::_Compiler(std::__detail::_Compiler<_TraitsT>::_IterT, std::__detail::_Compiler<_TraitsT>::_IterT, const typename _TraitsT::locale_type&, std::__detail::_Compiler<_TraitsT>::_FlagT) [with _TraitsT = std::regex_traits<char>; std::__detail::_Compiler<_TraitsT>::_IterT = const char*; std::__detail::_Compiler<_TraitsT>::_CharT = char; typename _TraitsT::locale_type = std::locale; std::__detail::_Compiler<_TraitsT>::_FlagT = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:156:65:   required from 'std::shared_ptr<std::__detail::_NFA<_TraitsT> > std::__detail::__compile_nfa(const typename _TraitsT::char_type*, const typename _TraitsT::char_type*, const typename _TraitsT::locale_type&, std::regex_constants::syntax_option_type) [with _TraitsT = std::regex_traits<char>; typename _TraitsT::char_type = char; typename _TraitsT::locale_type = std::locale]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:519:52:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(_FwdIter, _FwdIter, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _FwdIter = const char*; _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:449:60:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(const _Ch_type*, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:34:32:   required from here
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, false, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
      _Dummy>::type _CacheT;
                    ^
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: note: in template argument for type 'long unsigned int' 
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h: In instantiation of 'struct std::__detail::_BracketMatcher<std::regex_traits<char>, false, true>':
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:403:53:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_insert_character_class_matcher() [with bool __icase = false; bool __collate = true; _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:321:2:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_atom() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:139:7:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_term() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:121:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_alternative() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:97:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_disjunction() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:82:7:   required from 'std::__detail::_Compiler<_TraitsT>::_Compiler(std::__detail::_Compiler<_TraitsT>::_IterT, std::__detail::_Compiler<_TraitsT>::_IterT, const typename _TraitsT::locale_type&, std::__detail::_Compiler<_TraitsT>::_FlagT) [with _TraitsT = std::regex_traits<char>; std::__detail::_Compiler<_TraitsT>::_IterT = const char*; std::__detail::_Compiler<_TraitsT>::_CharT = char; typename _TraitsT::locale_type = std::locale; std::__detail::_Compiler<_TraitsT>::_FlagT = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:156:65:   required from 'std::shared_ptr<std::__detail::_NFA<_TraitsT> > std::__detail::__compile_nfa(const typename _TraitsT::char_type*, const typename _TraitsT::char_type*, const typename _TraitsT::locale_type&, std::regex_constants::syntax_option_type) [with _TraitsT = std::regex_traits<char>; typename _TraitsT::char_type = char; typename _TraitsT::locale_type = std::locale]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:519:52:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(_FwdIter, _FwdIter, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _FwdIter = const char*; _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:449:60:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(const _Ch_type*, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:34:32:   required from here
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, false, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: note: in template argument for type 'long unsigned int' 
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h: In instantiation of 'struct std::__detail::_BracketMatcher<std::regex_traits<char>, true, false>':
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:403:53:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_insert_character_class_matcher() [with bool __icase = true; bool __collate = false; _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:321:2:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_atom() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:139:7:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_term() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:121:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_alternative() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:97:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_disjunction() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:82:7:   required from 'std::__detail::_Compiler<_TraitsT>::_Compiler(std::__detail::_Compiler<_TraitsT>::_IterT, std::__detail::_Compiler<_TraitsT>::_IterT, const typename _TraitsT::locale_type&, std::__detail::_Compiler<_TraitsT>::_FlagT) [with _TraitsT = std::regex_traits<char>; std::__detail::_Compiler<_TraitsT>::_IterT = const char*; std::__detail::_Compiler<_TraitsT>::_CharT = char; typename _TraitsT::locale_type = std::locale; std::__detail::_Compiler<_TraitsT>::_FlagT = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:156:65:   required from 'std::shared_ptr<std::__detail::_NFA<_TraitsT> > std::__detail::__compile_nfa(const typename _TraitsT::char_type*, const typename _TraitsT::char_type*, const typename _TraitsT::locale_type&, std::regex_constants::syntax_option_type) [with _TraitsT = std::regex_traits<char>; typename _TraitsT::char_type = char; typename _TraitsT::locale_type = std::locale]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:519:52:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(_FwdIter, _FwdIter, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _FwdIter = const char*; _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:449:60:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(const _Ch_type*, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:34:32:   required from here
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, true, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: note: in template argument for type 'long unsigned int' 
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h: In instantiation of 'struct std::__detail::_BracketMatcher<std::regex_traits<char>, true, true>':
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:403:53:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_insert_character_class_matcher() [with bool __icase = true; bool __collate = true; _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:321:2:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_atom() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:139:7:   required from 'bool std::__detail::_Compiler<_TraitsT>::_M_term() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:121:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_alternative() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:97:7:   required from 'void std::__detail::_Compiler<_TraitsT>::_M_disjunction() [with _TraitsT = std::regex_traits<char>]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.tcc:82:7:   required from 'std::__detail::_Compiler<_TraitsT>::_Compiler(std::__detail::_Compiler<_TraitsT>::_IterT, std::__detail::_Compiler<_TraitsT>::_IterT, const typename _TraitsT::locale_type&, std::__detail::_Compiler<_TraitsT>::_FlagT) [with _TraitsT = std::regex_traits<char>; std::__detail::_Compiler<_TraitsT>::_IterT = const char*; std::__detail::_Compiler<_TraitsT>::_CharT = char; typename _TraitsT::locale_type = std::locale; std::__detail::_Compiler<_TraitsT>::_FlagT = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:156:65:   required from 'std::shared_ptr<std::__detail::_NFA<_TraitsT> > std::__detail::__compile_nfa(const typename _TraitsT::char_type*, const typename _TraitsT::char_type*, const typename _TraitsT::locale_type&, std::regex_constants::syntax_option_type) [with _TraitsT = std::regex_traits<char>; typename _TraitsT::char_type = char; typename _TraitsT::locale_type = std::locale]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:519:52:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(_FwdIter, _FwdIter, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _FwdIter = const char*; _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex.h:449:60:   required from 'std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::basic_regex(const _Ch_type*, std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type) [with _Ch_type = char; _Rx_traits = std::regex_traits<char>; std::basic_regex< <template-parameter-1-1>, <template-parameter-1-2> >::flag_type = std::regex_constants::syntax_option_type]'
/nasfarm/edelsohn/src/src/libstdc++-v3/testsuite/28_regex/iterators/regex_token_iterator/char/string_01.cc:34:32:   required from here
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, true, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: note: in template argument for type 'long unsigned int' 

FAIL: 28_regex/iterators/regex_token_iterator/char/string_01.cc (test for excess errors)
Excess errors:
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, false, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, false, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, true, false>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:424:31:   in constexpr expansion of 'std::__detail::_BracketMatcher< <template-parameter-1-1>, <anonymous>, <anonymous> >::_S_cache_size<std::regex_traits<char>, true, true>()'
/tmp/20141118/powerpc-ibm-aix7.1.0.0/libstdc++-v3/include/bits/regex_compiler.h:425:20: error: '(int)(1ul * 8ul)' is not a constant expression

WARNING: 28_regex/iterators/regex_token_iterator/char/string_01.cc compilation failed to produce executable
extra_tool_flags are:
 -std=gnu++11



More information about the Libstdc++ mailing list