id summary reporter owner description type status milestone component version severity resolution keywords cc 2535 Boost.Regex not compatible with gcc's align-double at optimization level 3 Andrew Troschinetz John Maddock "When compiling even the following code: #include int main { boost::regex (""test""); return 0; } With the flags -m32 -malign-double -O3 on gcc, a segfault occurs. Here is a sample excerpt of what gdb shows: 0x08066beb in boost::re_detail::basic_regex_parser > >::parse_extended (this=0xffde311c) at /usr/include/boost/regex/v4/basic_regex_parser.hpp:235 235 switch(this->m_traits.syntax_type(*m_position)) (gdb) print m_position $1 = 0x0 (gdb) bt #0 0x08066beb in boost::re_detail::basic_regex_parser > >::parse_extended at /usr/include/boost/regex/v4/basic_regex_parser.hpp:235 #1 0xf7f9e364 in boost ::re_detail::basic_regex_parser > >::parse () from /usr/lib/libboost_regex.so.2 #2 0xf7fa0eba in boost::basic_regex > >::do_assign () from /usr/lib/libboost_regex.so.2" Bugs closed Boost 1.38.0 regex Boost 1.37.0 Problem wontfix krivenok@…