public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/42535] unable to find a register to spill in class 'DREG'
2009-12-29 12:09 [Bug rtl-optimization/42535] New: unable to find a register to spill in class 'DREG' debian-gcc at lists dot debian dot org
@ 2009-12-29 12:09 ` debian-gcc at lists dot debian dot org
2009-12-29 12:18 ` jakub at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2009-12-29 12:09 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from debian-gcc at lists dot debian dot org 2009-12-29 12:09 -------
Created an attachment (id=19410)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19410&action=view)
preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42535
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug rtl-optimization/42535] New: unable to find a register to spill in class 'DREG'
@ 2009-12-29 12:09 debian-gcc at lists dot debian dot org
2009-12-29 12:09 ` [Bug rtl-optimization/42535] " debian-gcc at lists dot debian dot org
2009-12-29 12:18 ` jakub at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2009-12-29 12:09 UTC (permalink / raw)
To: gcc-bugs
seen with current 4.3 and 4.4 branches, not with trunk. removing
-fschedule-insns lets the build succeed.
Matthias
$ g++-4.4 -c -O1 -fsched-interblock -fsched-spec -fschedule-insns2
-fstrict-aliasing -fstrict-overflow -ftree-pre -ftree-vrp -fcaller-saves
-fcrossjumping -fcse-follow-jumps -fcse-skip-blocks
-fdelete-null-pointer-checks -fpeephole2 -fregmove -freorder-blocks
-freorder-functions -frerun-cse-after-loop -fexpensive-optimizations -fgcse
-fgcse-lm -foptimize-sibling-calls -fthread-jumps -falign-functions
-falign-jumps -falign-loops -falign-labels -finline-functions -funswitch-loops
-fpredictive-commoning -fgcse-after-reload -ftree-vectorize -fschedule-insns
DBmanager.ii
In file included from
/usr/local/include/boost/interprocess/containers/container/vector.hpp:64,
from
/usr/local/include/boost/interprocess/containers/vector.hpp:20,
from shared_defs.h:36,
from DBmanager.h:9,
from DBmanager.cpp:10:
/usr/local/include/boost/interprocess/containers/container/detail/utilities.hpp:
In function 'SizeType
boost::interprocess_container::containers_detail::get_next_capacity(SizeType,
SizeType, SizeType) [with SizeType = long unsigned int]':
/usr/local/include/boost/interprocess/containers/container/detail/utilities.hpp:40:
error: unable to find a register to spill in class 'DREG'
/usr/local/include/boost/interprocess/containers/container/detail/utilities.hpp:40:
error: this is the insn:
(insn 9 67 4 2
/usr/local/include/boost/interprocess/containers/container/detail/utilities.hpp:31
(parallel [
(set (reg/v:DI 2 cx [orig:58 m3 ] [58])
(truncate:DI (lshiftrt:TI (mult:TI (zero_extend:TI (reg/v:DI 5
di [orig:62 max_size ] [62]))
(zero_extend:TI (reg:DI 2 cx [65])))
(const_int 64 [0x40]))))
(clobber (scratch:DI))
(clobber (reg:CC 17 flags))
]) 343 {*umuldi3_highpart_rex64} (expr_list:REG_DEAD (reg:DI 2 cx [65])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_EQUAL (truncate:DI (lshiftrt:TI (mult:TI
(zero_extend:TI (reg/v:DI 5 di [orig:62 max_size ] [62]))
(const_double -6148914691236517205
[0xaaaaaaaaaaaaaaab] 0 [0x0] 0 [0x0] 0 [0x0]))
(const_int 64 [0x40])))
(nil)))))
/usr/local/include/boost/interprocess/containers/container/detail/utilities.hpp:40:
confused by earlier errors, bailing out
--
Summary: unable to find a register to spill in class 'DREG'
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
GCC target triplet: x86_64-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42535
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug rtl-optimization/42535] unable to find a register to spill in class 'DREG'
2009-12-29 12:09 [Bug rtl-optimization/42535] New: unable to find a register to spill in class 'DREG' debian-gcc at lists dot debian dot org
2009-12-29 12:09 ` [Bug rtl-optimization/42535] " debian-gcc at lists dot debian dot org
@ 2009-12-29 12:18 ` jakub at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-12-29 12:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from jakub at gcc dot gnu dot org 2009-12-29 12:17 -------
You shouldn't use -fschedule-insns on i?86/x86_64. Vlad made some changes in
4.5 that make -fschedule-insns work in most cases on these arches, but in
4.3/4.4 you definitely shouldn't use them.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42535
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-29 12:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-29 12:09 [Bug rtl-optimization/42535] New: unable to find a register to spill in class 'DREG' debian-gcc at lists dot debian dot org
2009-12-29 12:09 ` [Bug rtl-optimization/42535] " debian-gcc at lists dot debian dot org
2009-12-29 12:18 ` jakub 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).