https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61506

--- Comment #4 from Jürgen Reuter <juergen.reuter at desy dot de> ---
I reduced the case to the code attached. But you need to include the boost
headers (which are pretty standard tho; I have version 1.55.0).
/opt/local/include is my path for the boost headers.
$ g++ -I /opt/local/include -c PDF.cc 
PDF.cc: In member function ‘virtual void
boost::exception_detail::error_info_injector<boost::io::bad_format_string>::_ZThn24_N5boost16exception_detail19error_info_injectorINS_2io17bad_format_stringEED1Ev()’:
PDF.cc:29:1: error: unrecognizable insn:
 }
 ^
(call_insn/j 3 2 4 (call (mem/u/c:DI (const:DI (unspec:DI [
                        (symbol_ref/i:DI
("_ZN5boost16exception_detail19error_info_injectorINS_2io17bad_format_stringEED1Ev")
[flags 0x1] <function_decl 0x10e766300 __comp_dtor >)
                    ] UNSPEC_GOTPCREL)) [0  S8 A8])
        (const_int 0 [0])) /opt/local/include/boost/exception/exception.hpp:330
-1
     (nil)
    (nil))
PDF.cc:29:1: internal compiler error: in insn_default_length, at
config/i386/i386.md:1787

PDF.cc:29:1: internal compiler error: Abort trap: 6
g++: internal compiler error: Abort trap: 6 (program cc1plus)
Abort trap: 6

Reply via email to