public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ienkovich at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/66569] New: [CHKP]
Date: Wed, 17 Jun 2015 11:55:00 -0000	[thread overview]
Message-ID: <bug-66569-4@http.gcc.gnu.org/bugzilla/> (raw)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66569

            Bug ID: 66569
           Summary: [CHKP]
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ienkovich at gcc dot gnu.org
  Target Milestone: ---

>cat test.i
struct s1 {
  int *p;
  int i;
};

struct s2 {
  struct s1 s;
  int i;
};

int test (struct s2 s, ...) { }
>gcc -fcheck-pointer-bounds -mmpx test.i
test.i: In function 'test.chkp':
test.i:14:18: error: unable to find a register to spill
 int test (struct s2 s, ...) { }
                  ^
test.i:14:18: error: this is the insn:
(insn 20 19 42 4 (parallel [
            (set (reg:BND64 92 [orig:88 __chkp_bounds_of_s ] [88])
                (unspec:BND64 [
                        (mem:DI (unspec:DI [
                                    (plus:DI (reg/f:DI 16 argp)
                                        (const_int 16 [0x10]))
                                    (reg:DI 89)
                                ] UNSPEC_BNDLDX_ADDR) [0  S8 A8])
                    ] UNSPEC_BNDLDX))
            (use (mem:BLK (plus:DI (reg/f:DI 16 argp)
                        (const_int 16 [0x10])) [0  A8]))
        ]) test.i:14 1062 {*bnd64_ldx}
     (expr_list:REG_DEAD (reg:DI 89)
        (nil)))
test.i:14:18: internal compiler error: in assign_by_spills, at
lra-assigns.c:1418
0xd3badb _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/rtl-error.c:110
0xc0462b assign_by_spills
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/lra-assigns.c:1418
0xc04f82 lra_assign()
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/lra-assigns.c:1593
0xbfdf80 lra(_IO_FILE*)
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/lra.c:2331
0xba9512 do_reload
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/ira.c:5401
0xba98c0 execute
        /gnumnt/msticlxl7_users/ienkovic/issues/mpx/gcc/gcc/ira.c:5572


Fails on GCC 6 and GCC 5.1


             reply	other threads:[~2015-06-17 11:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-17 11:55 ienkovich at gcc dot gnu.org [this message]
2015-07-23 10:44 ` [Bug target/66569] [CHKP] internal compiler error: in assign_by_spills ienkovich at gcc dot gnu.org
2015-07-23 11:16 ` ienkovich 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-66569-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).