This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c++/10008: internal compiler error when compiling boost::cregex
- From: prowel at usachoice dot net
- To: gcc-gnats at gcc dot gnu dot org
- Date: 9 Mar 2003 04:11:16 -0000
- Subject: c++/10008: internal compiler error when compiling boost::cregex
- Reply-to: prowel at usachoice dot net
>Number: 10008
>Category: c++
>Synopsis: internal compiler error when compiling boost::cregex
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 09 04:16:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: prowel at usachoice dot net
>Release: gcc 3.2
>Organization:
>Environment:
SuSe Linux 8.1
g++ 3.2
Intel i586
>Description:
when compiling the BOOST regex library the compiler generates an internal compiler error and asks that a bug report be submitted. See attached file for output from build. BOOST relies heavily upon complicated template definitions. Library compiles correctly under SPARC Solaris 2.7 gcc 2.95.2
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="output"
Content-Disposition: inline; filename="output"
g++ -o gcc/boost_regex_shared/cregex.o -c -O0 -I../../../ -fPIC ../src/cregex.cpp
../../../boost/regex/detail/regex_match.hpp: In function `unsigned int
boost::regex_grep(Predicate, iterator, iterator, const
boost::reg_expression<charT, traits, Allocator2>&, unsigned int) [with
Predicate = boost::re_detail::pred4, iterator =
boost::re_detail::mapfile_iterator, charT = char, traits =
boost::regex_traits<char>, Allocator = std::allocator<char>]':
../src/cregex.cpp:410: instantiated from here
../../../boost/regex/detail/regex_match.hpp:1903: Internal compiler error in
expand_call, at calls.c:3049
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [gcc/boost_regex_shared/cregex.o] Error 1