public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/49433] New: internal compiler error: in write_builtin_type, at cp/mangle.c:2167
@ 2011-06-16 9:11 philb at gnu dot org
2011-09-23 8:28 ` [Bug c++/49433] " vash at vasiliyshlykov dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: philb at gnu dot org @ 2011-06-16 9:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49433
Summary: internal compiler error: in write_builtin_type, at
cp/mangle.c:2167
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: philb@gnu.org
Created attachment 24543
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24543
testcase
Due to some stray CFLAGS I found myself compiling libstdc++ with -flto turned
on, which yielded:
$ arm-oe-linux-gnueabi-g++ -O2 -flto -g -fpermissive -std=gnu++0x atomic.ii -S
In file included from
/home/pb/oe/build-giga/tmp-eglibc/work/armv6-oe-linux-gnueabi/gcc-runtime-4.6.0-r4/gcc-4.6.0/build.arm-oe-linux-gnueabi.arm-oe-linux-gnueabi/libstdc++-v3/include/functional:59:0,
from
/home/pb/oe/build-giga/tmp-eglibc/work/armv6-oe-linux-gnueabi/gcc-runtime-4.6.0-r4/gcc-4.6.0/build.arm-oe-linux-gnueabi.arm-oe-linux-gnueabi/libstdc++-v3/include/mutex:43,
from
/home/pb/oe/build-giga/tmp-eglibc/work/armv6-oe-linux-gnueabi/gcc-runtime-4.6.0-r4/gcc-4.6.0/libstdc++-v3/src/atomic.cc:28:
/home/pb/oe/build-giga/tmp-eglibc/work/armv6-oe-linux-gnueabi/gcc-runtime-4.6.0-r4/gcc-4.6.0/build.arm-oe-linux-gnueabi.arm-oe-linux-gnueabi/libstdc++-v3/include/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]':
/home/pb/oe/build-giga/tmp-eglibc/work/armv6-oe-linux-gnueabi/gcc-runtime-4.6.0-r4/gcc-4.6.0/libstdc++-v3/src/atomic.cc:122:1:
instantiated from here
/home/pb/oe/build-giga/tmp-eglibc/work/armv6-oe-linux-gnueabi/gcc-runtime-4.6.0-r4/gcc-4.6.0/build.arm-oe-linux-gnueabi.arm-oe-linux-gnueabi/libstdc++-v3/include/bits/functional_hash.h:184:5:
internal compiler error: in write_builtin_type, at cp/mangle.c:2167
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
$
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/49433] internal compiler error: in write_builtin_type, at cp/mangle.c:2167
2011-06-16 9:11 [Bug c++/49433] New: internal compiler error: in write_builtin_type, at cp/mangle.c:2167 philb at gnu dot org
@ 2011-09-23 8:28 ` vash at vasiliyshlykov dot org
2011-09-23 10:12 ` paolo.carlini at oracle dot com
2013-05-25 9:00 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: vash at vasiliyshlykov dot org @ 2011-09-23 8:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49433
Vasiliy <vash at vasiliyshlykov dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vash at vasiliyshlykov dot
| |org
--- Comment #1 from Vasiliy <vash at vasiliyshlykov dot org> 2011-09-23 06:11:44 UTC ---
Same result on PowerPC with gcc 4.6.1:
/usr/lib/gcc/powerpc-lynx-lynxos/4.6.1/../../../../powerpc-lynx-lynxos/include/boost/lexical_cast.hpp:
In instantiation of 'bool boost::detail::lexical_stream_limited_src<CharT,
Base, Traits>::operator<<(long double) [with CharT = char, Base =
std::basic_streambuf<char>, Traits = std::char_traits<char>]':
conversion.cpp:45:1: instantiated from here
/usr/lib/gcc/powerpc-lynx-lynxos/4.6.1/../../../../powerpc-lynx-lynxos/include/boost/lexical_cast.hpp:971:21:
internal compiler error: in write_builtin_type, at cp/mangle.c:2167
This only appears with -O2 -flto and passes -Os -flto.
gcc -v:
Using built-in specs.
COLLECT_GCC=powerpc-lynx-lynxos-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-lynx-lynxos/4.6.1/lto-wrapper
Target: powerpc-lynx-lynxos
Configured with: ../src/configure --prefix=/usr --target=powerpc-lynx-lynxos
--disable-nls --enable-multilib --with-gnu-as --with-gnu-ld
--enable-languages=c,c++ --disable-libstdcxx-pch --enable-plugin
--disable-softfloat --with-tune=750 --with-system-zlib --enable-threads=posix
Thread model: lynx
gcc version 4.6.1 (GCC)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/49433] internal compiler error: in write_builtin_type, at cp/mangle.c:2167
2011-06-16 9:11 [Bug c++/49433] New: internal compiler error: in write_builtin_type, at cp/mangle.c:2167 philb at gnu dot org
2011-09-23 8:28 ` [Bug c++/49433] " vash at vasiliyshlykov dot org
@ 2011-09-23 10:12 ` paolo.carlini at oracle dot com
2013-05-25 9:00 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-09-23 10:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49433
--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-23 10:00:10 UTC ---
I would say put a breakpoint on write_builtin_type and see what a heck is that
type!
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/49433] internal compiler error: in write_builtin_type, at cp/mangle.c:2167
2011-06-16 9:11 [Bug c++/49433] New: internal compiler error: in write_builtin_type, at cp/mangle.c:2167 philb at gnu dot org
2011-09-23 8:28 ` [Bug c++/49433] " vash at vasiliyshlykov dot org
2011-09-23 10:12 ` paolo.carlini at oracle dot com
@ 2013-05-25 9:00 ` paolo.carlini at oracle dot com
2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-25 9:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49433
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
I'm pretty sure it's a Dup, otherwise, if the issue persists, please re-open,
thanks.
*** This bug has been marked as a duplicate of bug 51432 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-25 9:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-16 9:11 [Bug c++/49433] New: internal compiler error: in write_builtin_type, at cp/mangle.c:2167 philb at gnu dot org
2011-09-23 8:28 ` [Bug c++/49433] " vash at vasiliyshlykov dot org
2011-09-23 10:12 ` paolo.carlini at oracle dot com
2013-05-25 9:00 ` paolo.carlini at oracle dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).