[Bug c++/61506] ICE [4.10 Regression] triggered by solution to #61446

2014-06-14 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61506

--- Comment #4 from Jürgen Reuter  ---
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::_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] )
] 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

[Bug c++/61506] ICE [4.10 Regression] triggered by solution to #61446

2014-06-14 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61506

--- Comment #3 from Jürgen Reuter  ---
Created attachment 32937
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32937&action=edit
Code that triggers the ICE

[Bug c++/61506] ICE [4.10 Regression] triggered by solution to #61446

2014-06-14 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61506

--- Comment #2 from Jürgen Reuter  ---
This is the remark what I got from Andy Buckley:
"Line 29 of PDF.cc is the end of the file, which suggests to me an
unclosed scope or similar higher up. The reported errors are entirely
from within Boost itself -- and there aren't even any direct Boost
functions being called in that file, so I don't think this is an LHAPDF
issue at all.

What platform and Boost version are you using? I don't know how to track
it down, but my guess is that the issue is with this development version
of GCC going wrong with some of the fiddly code in Boost... the
implementation of lexical_cast, by the looks of things. To simplify your
GCC test, I suggest just writing a minimal source file using
lexical_cast to convert between strings and a few numeric types; it
really doesn't look like this has anything to do with LHAPDF."

Hope this helps!

[Bug c++/61506] ICE [4.10 Regression] triggered by solution to #61446

2014-06-13 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61506

--- Comment #1 from Jürgen Reuter  ---
This is the author of the package: andy.buck...@cern.ch
With version 6.1.2 of LHAPDF I get the error.

[Bug c++/61506] ICE [4.10 Regression] triggered by solution to #61446

2014-06-13 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61506

Jürgen Reuter  changed:

   What|Removed |Added

 CC||juergen.reuter at desy dot de
Version|unknown |4.10.0
   Severity|normal  |blocker