public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zsojka at seznam dot cz" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug rtl-optimization/55154] New: [4.8 Regression] ICE: in curr_insn_transform, at lra-constraints.c:2702 with custom flags
Date: Wed, 31 Oct 2012 20:47:00 -0000	[thread overview]
Message-ID: <bug-55154-4@http.gcc.gnu.org/bugzilla/> (raw)


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

             Bug #: 55154
           Summary: [4.8 Regression] ICE: in curr_insn_transform, at
                    lra-constraints.c:2702 with custom flags
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 28584
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28584
preprocessed source

Compiler output:
$ gcc -O2 -mcx16 -fpic -mcmodel=large -fno-split-wide-types pr46254.i 
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.target/i386/pr46254.c: In function 'test':
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.target/i386/pr46254.c:11:1: error: unable
to generate reloads for:
 }
 ^
(insn 10 14 0 2 (parallel [
            (set (subreg:DI (reg:TI 65) 0)
                (unspec_volatile:DI [
                        (mem/v:TI (reg/f:DI 62) [-1 S16 A128])
                        (mem/c:DI (reg/f:DI 62) [2 i+0 S8 A128])
                        (mem/c:DI (plus:DI (reg/f:DI 62)
                                (const_int 8 [0x8])) [2 i+8 S8 A64])
                        (mem/c:DI (reg/f:DI 62) [2 i+0 S8 A128])
                        (mem/c:DI (plus:DI (reg/f:DI 62)
                                (const_int 8 [0x8])) [2 i+8 S8 A64])
                        (const_int 5 [0x5])
                    ] UNSPECV_CMPXCHG))
            (set (subreg:DI (reg:TI 65) 8)
                (unspec_volatile:DI [
                        (const_int 0 [0])
                    ] UNSPECV_CMPXCHG))
            (set (mem/v:TI (reg/f:DI 62) [-1 S16 A128])
                (unspec_volatile:TI [
                        (const_int 0 [0])
                    ] UNSPECV_CMPXCHG))
            (set (reg:CCZ 17 flags)
                (unspec_volatile:CCZ [
                        (const_int 0 [0])
                    ] UNSPECV_CMPXCHG))
            (clobber (reg:DI 67))
        ]) /mnt/svn/gcc-trunk/gcc/testsuite/gcc.target/i386/pr46254.c:10 2063
{atomic_compare_and_swapti_doubleword}
     (expr_list:REG_UNUSED (reg:DI 67)
        (expr_list:REG_DEAD (reg/f:DI 62)
            (expr_list:REG_DEAD (reg:TI 60 [ i.1 ])
                (expr_list:REG_UNUSED (reg:TI 65)
                    (expr_list:REG_UNUSED (reg:TI 65)
                        (expr_list:REG_UNUSED (reg:CCZ 17 flags)
                            (nil))))))))
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.target/i386/pr46254.c:11:1: internal
compiler error: in curr_insn_transform, at lra-constraints.c:2702
0x997d2a _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /mnt/svn/gcc-trunk/gcc/rtl-error.c:110
0x8dd7b9 curr_insn_transform
        /mnt/svn/gcc-trunk/gcc/lra-constraints.c:2702
0x8ddf34 lra_constraints(bool)
        /mnt/svn/gcc-trunk/gcc/lra-constraints.c:3404
0x8cdd1c lra(_IO_FILE*)
        /mnt/svn/gcc-trunk/gcc/lra.c:2281
0x883d66 do_reload
        /mnt/svn/gcc-trunk/gcc/ira.c:4624
0x883d66 rest_of_handle_reload
        /mnt/svn/gcc-trunk/gcc/ira.c:4736
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.


             reply	other threads:[~2012-10-31 20:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-31 20:47 zsojka at seznam dot cz [this message]
2012-10-31 22:06 ` [Bug rtl-optimization/55154] " mpolacek at gcc dot gnu.org
2012-11-01 10:41 ` ubizjak at gmail dot com
2012-11-01 10:42 ` ubizjak at gmail dot com
2012-11-09 15:33 ` vmakarov at gcc dot gnu.org
2012-12-07 13:48 ` rguenth at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-55154-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).