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



             Bug #: 54892

           Summary: [4.7 Regression], ICE in extract_insn, at recog.c:2123

    Classification: Unclassified

           Product: gcc

           Version: 4.7.2

            Status: UNCONFIRMED

          Severity: normal

          Priority: P3

         Component: target

        AssignedTo: unassig...@gcc.gnu.org

        ReportedBy: d...@gcc.gnu.org





Created attachment 28414

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28414

preprocessed source



seen on arm-linux-gnueabi, works with the 4.6 branch, fails with the 4.7

branch:





$ g++-4.7 -c -g cluster.ii cluster.cc: In member function 'bool

rpc::node::set_role(rpc::role_type)':

cluster.cc:88:1: error: unrecognizable insn:

(insn 16 15 17 3 (parallel [

            (set (reg:CC_Z 24 cc)

                (unspec_volatile:CC_Z [

                        (const_int 0 [0])

                    ] VUNSPEC_ATOMIC_CAS))

            (set (reg:SI 146)

                (zero_extend:SI (mem/v:HI (reg/f:SI 134 [ D.146641 ]) [-1 S2

A16])))

            (set (mem/v:HI (reg/f:SI 134 [ D.146641 ]) [-1 S2 A16])

                (unspec_volatile:HI [

                        (reg:HI 147)

                        (subreg/s/u:HI (reg:SI 135 [ D.146642 ]) 0)

                        (const_int 0 [0])

                        (const_int 5 [0x5])

                        (const_int 5 [0x5])

                    ] VUNSPEC_ATOMIC_CAS))

            (clobber (scratch:SI))

        ]) cluster.cc:87 -1

     (nil))

cluster.cc:88:1: internal compiler error: in extract_insn, at recog.c:2123

Please submit a full bug report,

Reply via email to