public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/21745] New: ICE during build of h8300 cross-compiler
@ 2005-05-25  1:28 aarestad at gmail dot com
  2005-05-25  1:33 ` [Bug libstdc++/21745] " aarestad at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: aarestad at gmail dot com @ 2005-05-25  1:28 UTC (permalink / raw)
  To: gcc-bugs

While building a cross-compiler on my Linux x86 box, I got this error in the
middle of the libstdc++ build:

Command:
/usr/local/src/build-gcc/gcc/xgcc -shared-libgcc -B/usr/local/src/build-gcc/gcc/
-nostdinc++ -L/usr/local/src/build-gcc/h8300-hms/h8300s/normal/libstdc++-v3/src
-L/usr/local/src/build-gcc/h8300-hms/h8300s/normal/libstdc++-v3/src/.libs
-nostdinc -B/usr/local/src/build-gcc/h8300-hms/h8300s/normal/newlib/ -isystem
/usr/local/src/build-gcc/h8300-hms/h8300s/normal/newlib/targ-include -isystem
/usr/local/src/gcc-3.4.4/newlib/libc/include -B/usr/local/h8300-hms/bin/
-B/usr/local/h8300-hms/lib/ -isystem /usr/local/h8300-hms/include -isystem
/usr/local/h8300-hms/sys-include -ms -mn
-I/usr/local/src/build-gcc/h8300-hms/h8300s/normal/libstdc++-v3/include/h8300-hms
-I/usr/local/src/build-gcc/h8300-hms/h8300s/normal/libstdc++-v3/include
-I/usr/local/src/gcc-3.4.4/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2 -ms -mn
-fno-implicit-templates -Wall -W -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -c
../../../../../../gcc-3.4.4/libstdc++-v3/src/locale-inst.cc -o locale-inst.o

Error:
/usr/local/src/build-gcc/h8300-hms/h8300s/normal/libstdc++-v3/include/bits/locale_facets.tcc:
In member function `_InIter std::money_get<_CharT, _InIter>::do_get(_InIter,
_InIter, bool, std::ios_base&, std::_Ios_Iostate&, std::basic_string<_CharT,
std::char_traits<_CharT>, std::allocator<_CharT> >&) const [with _CharT = char,
_InIter = std::istreambuf_iterator<char, std::char_traits<char> >]':
/usr/local/src/build-gcc/h8300-hms/h8300s/normal/libstdc++-v3/include/bits/locale_facets.tcc:702:
error: unrecognizable insn:
(insn 434 253 355 5
/usr/local/src/build-gcc/h8300-hms/h8300s/normal/libstdc++-v3/include/bits/basic_string.h:1465
(set (mem:SI (pre_dec:HI (reg/f:HI 7 sp)) [0 S4 A32])
        (reg:SI 7 sp)) -1 (nil)
    (nil))
/usr/local/src/build-gcc/h8300-hms/h8300s/normal/libstdc++-v3/include/bits/locale_facets.tcc:702:
internal compiler error: in extract_insn, at recog.c:2083

If more information is needed, I'll be glad to provide it.

-- 
           Summary: ICE during build of h8300 cross-compiler
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aarestad at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: h8300-hms


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


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

* [Bug libstdc++/21745] ICE during build of h8300 cross-compiler
  2005-05-25  1:28 [Bug libstdc++/21745] New: ICE during build of h8300 cross-compiler aarestad at gmail dot com
@ 2005-05-25  1:33 ` aarestad at gmail dot com
  2005-05-25  1:57 ` [Bug target/21745] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: aarestad at gmail dot com @ 2005-05-25  1:33 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aarestad at gmail dot com


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


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

* [Bug target/21745] ICE during build of h8300 cross-compiler
  2005-05-25  1:28 [Bug libstdc++/21745] New: ICE during build of h8300 cross-compiler aarestad at gmail dot com
  2005-05-25  1:33 ` [Bug libstdc++/21745] " aarestad at gmail dot com
@ 2005-05-25  1:57 ` pinskia at gcc dot gnu dot org
  2005-06-10 18:57 ` marcel at telka dot sk
  2005-06-19  6:49 ` hkubota at gmx dot net
  3 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-25  1:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libstdc++                   |target
           Keywords|                            |build, ice-on-valid-code


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


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

* [Bug target/21745] ICE during build of h8300 cross-compiler
  2005-05-25  1:28 [Bug libstdc++/21745] New: ICE during build of h8300 cross-compiler aarestad at gmail dot com
  2005-05-25  1:33 ` [Bug libstdc++/21745] " aarestad at gmail dot com
  2005-05-25  1:57 ` [Bug target/21745] " pinskia at gcc dot gnu dot org
@ 2005-06-10 18:57 ` marcel at telka dot sk
  2005-06-19  6:49 ` hkubota at gmx dot net
  3 siblings, 0 replies; 6+ messages in thread
From: marcel at telka dot sk @ 2005-06-10 18:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcel at telka dot sk


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


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

* [Bug target/21745] ICE during build of h8300 cross-compiler
  2005-05-25  1:28 [Bug libstdc++/21745] New: ICE during build of h8300 cross-compiler aarestad at gmail dot com
                   ` (2 preceding siblings ...)
  2005-06-10 18:57 ` marcel at telka dot sk
@ 2005-06-19  6:49 ` hkubota at gmx dot net
  3 siblings, 0 replies; 6+ messages in thread
From: hkubota at gmx dot net @ 2005-06-19  6:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From hkubota at gmx dot net  2005-06-19 06:49 -------
Same here when doing probably the same. Used vanilla gcc-3.4.4 sources.

/var/tmp/gcc-3.4.4/h8300-elf/h8300s/normal/libstdc++-v3/include/bits/locale_facets.tcc:
In member function `_InIter std::money_get<_CharT, _InIter>::do_get(_InIter,
_InIter, bool, std::ios_base&, std::_Ios_Iostate&, std::basic_string<_CharT,
std::char_traits<_CharT>, std::allocator<_CharT> >&) const [with _CharT = char,
_InIter = std::istreambuf_iterator<char, std::char_traits<char> >]':
/var/tmp/gcc-3.4.4/h8300-elf/h8300s/normal/libstdc++-v3/include/bits/locale_facets.tcc:702:
error: unrecognizable insn:
(insn 434 225 355 5 (set (mem:SI (pre_dec:HI (reg/f:HI 7 sp)) [0 S4 A32])
        (reg:SI 7 sp)) -1 (nil)
    (nil))
/var/tmp/gcc-3.4.4/h8300-elf/h8300s/normal/libstdc++-v3/include/bits/locale_facets.tcc:702:
internal compiler error: in extract_insn, at recog.c:2083



-- 


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


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

* [Bug target/21745] ICE during build of h8300 cross-compiler
       [not found] <bug-21745-10698@http.gcc.gnu.org/bugzilla/>
@ 2010-02-24 20:46 ` law at redhat dot com
  0 siblings, 0 replies; 6+ messages in thread
From: law at redhat dot com @ 2010-02-24 20:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from law at redhat dot com  2010-02-24 20:46 -------
This was fixed in late 2004 when Alex Oliva integreated H8/SX support. 
Basically a peephole wasn't rejecting SP as a source operand for one particular
case.  I've recently built libstdc++-v3 for the H8 using the trunk sources.


-- 

law at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2010-02-24 20:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-25  1:28 [Bug libstdc++/21745] New: ICE during build of h8300 cross-compiler aarestad at gmail dot com
2005-05-25  1:33 ` [Bug libstdc++/21745] " aarestad at gmail dot com
2005-05-25  1:57 ` [Bug target/21745] " pinskia at gcc dot gnu dot org
2005-06-10 18:57 ` marcel at telka dot sk
2005-06-19  6:49 ` hkubota at gmx dot net
     [not found] <bug-21745-10698@http.gcc.gnu.org/bugzilla/>
2010-02-24 20:46 ` law at redhat 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).