Launchpad has imported 3 comments from the remote bug at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42535.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://documentation.ubuntu.com/launchpad/user/reference/bugs/multi-project-bugs/about-multi-project-bugs/#bugs-in-external-trackers.

------------------------------------------------------------------------
On 2009-12-29T12:09:05+00:00 Debian GCC maintainers wrote:

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

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/480629/comments/2

------------------------------------------------------------------------
On 2009-12-29T12:09:38+00:00 Debian GCC maintainers wrote:

Created attachment 19410
preprocessed source

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/480629/comments/3

------------------------------------------------------------------------
On 2009-12-29T12:17:56+00:00 Jakub-gcc wrote:

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.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/480629/comments/5

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/480629

Title:
  [PR42535, fixed in 4.5] -fschedule-insns crashes g++

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/480629/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to