public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler
@ 2011-12-06  3:21 kikairoya at gmail dot com
  2011-12-06  9:06 ` [Bug lto/51432] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: kikairoya at gmail dot com @ 2011-12-06  3:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51432

             Bug #: 51432
           Summary: [4.6 regression] ICE in -flto -std=c++0x -g with
                    cross-compiler
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: kikairoya@gmail.com


in this command:

$ rx-elf-g++ -v
Using built-in specs.
COLLECT_GCC=rx-elf-gcc
COLLECT_LTO_WRAPPER=/home/kikairoya/gcc/libexec/gcc/rx-elf/4.6.1/lto-wrapper
Target: rx-elf
Configured with: /home/kikairoya/repos/gcc/configure --target=rx-elf
--prefix=/home/kikairoya/gcc --disable-nls --enable-target-optspace
--with-newlib --enable-languages=c,c++ --without-ppl --enable-checking=release
Thread model: single
gcc version 4.6.2 (GCC)

$ rx-elf-g++ -flto -std=c++0x -g -xc++ /dev/null -include functional
In file included from
/home/kikairoya/gcc/lib/gcc/rx-elf/4.6.2/../../../../rx-elf/include/c++/4.6.2/functional:59:0,
                 from <command-line>:0:
/home/kikairoya/gcc/lib/gcc/rx-elf/4.6.2/../../../../rx-elf/include/c++/4.6.2/bits/functional_hash.h:
In instantiation of 'std::size_t std::hash<_Tp>::operator()(_Tp) const [with
_Tp = long double, std::size_t = long unsigned int]':
/home/kikairoya/gcc/lib/gcc/rx-elf/4.6.2/../../../../rx-elf/include/c++/4.6.2/functional:2267:1:
  instantiated from here
/home/kikairoya/gcc/lib/gcc/rx-elf/4.6.2/../../../../rx-elf/include/c++/4.6.2/bits/functional_hash.h:184:5:
internal compiler error: in write_builtin_type, at cp/mangle.c:2168
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.




ICE occurs not only rx-elf but also sh-elf, m32c-elf, h8300-elf. No error in
x86_64-linux-gnu.

no problem if -fno-lto or -gstabs.

This problem appears since r173860 (PR lto/48207).


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-05-25  9:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-06  3:21 [Bug lto/51432] New: [4.6 regression] ICE in -flto -std=c++0x -g with cross-compiler kikairoya at gmail dot com
2011-12-06  9:06 ` [Bug lto/51432] " rguenth at gcc dot gnu.org
2012-03-01 15:34 ` jakub at gcc dot gnu.org
2012-04-18  3:04 ` manjian2006 at gmail dot com
2012-09-10  4:00 ` michael.hope at linaro dot org
2013-04-12 15:57 ` jakub at gcc dot gnu.org
2013-04-16  3:33 ` kikairoya at gmail dot com
2013-04-16  5:55 ` jakub at gcc dot gnu.org
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).