[Bug lto/51432] [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
michael.hope at linaro dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 10 04:00:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432
Michael Hope <michael.hope at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |michael.hope at linaro dot
| |org
--- Comment #3 from Michael Hope <michael.hope at linaro dot org> 2012-09-10 03:59:49 UTC ---
The fault also happens natively:
cbuild@ursa2:~$ g++ -flto -std=c++0x -g -xc++ /dev/null -include functional
In file included from /usr/include/c++/4.6/functional:59:0,
from <command-line>:0:
/usr/include/c++/4.6/bits/functional_hash.h: In instantiation of 'std::size_t
std::hash<_Tp>::operator()(_Tp) const [with _Tp = long double, std::size_t =
unsigned int]':
/usr/include/c++/4.6/functional:2267:1: instantiated from here
/usr/include/c++/4.6/bits/functional_hash.h:184:5: internal compiler error: in
write_builtin_type, at cp/mangle.c:2168
cbuild@ursa2:~$ gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
This isn't FSF 4.6.3 but is pretty close.
More information about the Gcc-bugs
mailing list