public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/22553] New: [4.1 regression] ICE building libstdc++
@ 2005-07-18 19:10 dank at kegel dot com
2005-07-18 19:10 ` [Bug target/22553] " pinskia at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 11+ messages in thread
From: dank at kegel dot com @ 2005-07-18 19:10 UTC (permalink / raw)
To: gcc-bugs
Building a C/C++ cross-compiler targeting sh4-linux fails with
include/ext/bitmap_allocator.h:1085: internal compiler error: in spill_failure,
at reload1.c:1889
I grabbed the preprocessed source, and was able to reproduce it with
the commandline
gcc-4.1-20050716-glibc-2.3.2/build-gcc/./gcc/xgcc
-B/.../gcc-4.1-20050716-glibc-2.3.2/build-gcc/./gcc/ -O2 -fPIC -c foo.ii
foo.ii: In member function '_Tp*
__gnu_cxx::bitmap_allocator<_Tp>::_M_allocate_single_object() [with _Tp = wchar_t]':
foo.ii:2206: error: unable to find a register to spill in class 'R0_REGS'
foo.ii:2206: error: this is the insn:
(insn:HI 393 416 746 30 (set (reg/f:SI 2 r2 [388])
(mem/u:SI (plus:SI (reg:SI 12 r12)
(reg/f:SI 10 r10 [574])) [0 S4 A32])) 172 {movsi_ie} (nil)
(expr_list:REG_EQUIV (symbol_ref/i:SI
("_ZN9__gnu_cxx16bitmap_allocatorIwE13_S_block_sizeE") <var_decl 0x40411ba0
_S_block_size>)
(nil)))
foo.ii:2206: internal compiler error: in spill_failure, at reload1.c:1889
--
Summary: [4.1 regression] ICE building libstdc++
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dank at kegel dot com
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: sh4-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22553
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/22553] [4.1 regression] ICE building libstdc++
2005-07-18 19:10 [Bug rtl-optimization/22553] New: [4.1 regression] ICE building libstdc++ dank at kegel dot com
@ 2005-07-18 19:10 ` pinskia at gcc dot gnu dot org
2005-07-18 20:30 ` dank at kegel dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-18 19:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dank at kegel dot com 2005-07-18 19:10 -------
Created an attachment (id=9303)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9303&action=view)
Preprocessed source showing the problem
--
What |Removed |Added
----------------------------------------------------------------------------
Component|rtl-optimization |target
Keywords| |build, ice-on-valid-code
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22553
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/22553] [4.1 regression] ICE building libstdc++
2005-07-18 19:10 [Bug rtl-optimization/22553] New: [4.1 regression] ICE building libstdc++ dank at kegel dot com
2005-07-18 19:10 ` [Bug target/22553] " pinskia at gcc dot gnu dot org
@ 2005-07-18 20:30 ` dank at kegel dot com
2005-07-28 18:09 ` belyshev at depni dot sinp dot msu dot ru
` (2 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: dank at kegel dot com @ 2005-07-18 20:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dank at kegel dot com 2005-07-18 19:10 -------
Created an attachment (id=9303)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9303&action=view)
Preprocessed source showing the problem
--
What |Removed |Added
----------------------------------------------------------------------------
Component|rtl-optimization |target
Keywords| |build, ice-on-valid-code
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22553
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/22553] [4.1 regression] ICE building libstdc++
2005-07-18 19:10 [Bug rtl-optimization/22553] New: [4.1 regression] ICE building libstdc++ dank at kegel dot com
2005-07-18 19:10 ` [Bug target/22553] " pinskia at gcc dot gnu dot org
2005-07-18 20:30 ` dank at kegel dot com
@ 2005-07-28 18:09 ` belyshev at depni dot sinp dot msu dot ru
2005-08-22 4:45 ` mmitchel at gcc dot gnu dot org
2005-09-23 12:47 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 11+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-07-28 18:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From belyshev at depni dot sinp dot msu dot ru 2005-07-28 17:55 -------
// Confirmed, reduced testcase (compile with -O2 -fPIC):
int k, foo ();
void baz (int, int);
template < typename > class T
{
void bla () throw ()
{
int j = foo ();
baz (k , j);
}
void bam ()
{
while (k && foo ())
bla ();
}
};
template class T < int >;
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |belyshev at depni dot sinp
| |dot msu dot ru
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-07-28 17:55:17
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22553
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/22553] [4.1 regression] ICE building libstdc++
2005-07-18 19:10 [Bug rtl-optimization/22553] New: [4.1 regression] ICE building libstdc++ dank at kegel dot com
` (2 preceding siblings ...)
2005-07-28 18:09 ` belyshev at depni dot sinp dot msu dot ru
@ 2005-08-22 4:45 ` mmitchel at gcc dot gnu dot org
2005-09-23 12:47 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-08-22 4:45 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2005-08-22 04:44 -------
SH is not a primary or secondary target; removing target milestone.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22553
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/22553] [4.1 regression] ICE building libstdc++
2005-07-18 19:10 [Bug rtl-optimization/22553] New: [4.1 regression] ICE building libstdc++ dank at kegel dot com
` (3 preceding siblings ...)
2005-08-22 4:45 ` mmitchel at gcc dot gnu dot org
@ 2005-09-23 12:47 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-23 12:47 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-23 12:47 -------
*** Bug 24032 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |sieb at sscd dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22553
^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <bug-22553-3350@http.gcc.gnu.org/bugzilla/>]
end of thread, other threads:[~2005-11-12 0:11 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-18 19:10 [Bug rtl-optimization/22553] New: [4.1 regression] ICE building libstdc++ dank at kegel dot com
2005-07-18 19:10 ` [Bug target/22553] " pinskia at gcc dot gnu dot org
2005-07-18 20:30 ` dank at kegel dot com
2005-07-28 18:09 ` belyshev at depni dot sinp dot msu dot ru
2005-08-22 4:45 ` mmitchel at gcc dot gnu dot org
2005-09-23 12:47 ` pinskia at gcc dot gnu dot org
[not found] <bug-22553-3350@http.gcc.gnu.org/bugzilla/>
2005-10-03 23:13 ` kkojima at gcc dot gnu dot org
2005-10-17 12:44 ` kkojima at gcc dot gnu dot org
2005-10-17 12:59 ` pinskia at gcc dot gnu dot org
2005-10-30 23:38 ` pinskia at gcc dot gnu dot org
2005-11-12 0:11 ` pinskia at gcc dot gnu dot org
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).