public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/99467] New: ice in lra_set_insn_recog_data, at lra.c:1006
@ 2021-03-08 15:28 dcb314 at hotmail dot com
  2021-03-08 15:33 ` [Bug c/99467] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1006 since r11-7526-g9105757a59b89019 marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dcb314 at hotmail dot com @ 2021-03-08 15:28 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99467
           Summary: ice in lra_set_insn_recog_data, at lra.c:1006
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

For this c code:

typedef struct {
  unsigned command
} ViaXvMCCommandBuffer;
int viaXvMCInterceptPutImage_id, viaXvMCInterceptPutImage_vx_0;
char viaXvMCInterceptPutImage_buf;
void viaXvMCInterceptPutImage_vXvMCData_2(short height, int sync, int
clipBoxes,
                                          void *data, int pDraw) {
  if (viaXvMCInterceptPutImage_id) {
    int *sAPriv;
    ViaXvMCCommandBuffer *vXvMCData = viaXvMCInterceptPutImage_buf;
    sAPriv = DRIGetSAREAPrivate();
    switch (vXvMCData->command) {
    case 1:
      viaXvMCDisplayAttributes();
      if (sAPriv != viaXvMCInterceptPutImage_vXvMCData_2)
      case 2:
        __asm__("" : "=m"(sAPriv[viaXvMCInterceptPutImage_vx_0]));
    }
  }
  vx_2(height, sync, clipBoxes, data, pDraw);
}

compiled with -O1 on recent gcc trunk, does this:

/home/dcb/cvise/test/bug700.c:21:1: internal compiler error: in
lra_set_insn_recog_data, at lra.c:1006

This bug first seems to occur sometime between date 20210226
and 20210305.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug c/99467] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1006 since r11-7526-g9105757a59b89019
  2021-03-08 15:28 [Bug c/99467] New: ice in lra_set_insn_recog_data, at lra.c:1006 dcb314 at hotmail dot com
@ 2021-03-08 15:33 ` marxin at gcc dot gnu.org
  2021-03-08 17:28 ` [Bug rtl-optimization/99467] " pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-08 15:33 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-03-08
     Ever confirmed|0                           |1
            Summary|ice in                      |[11 Regression] ICE in
                   |lra_set_insn_recog_data, at |lra_set_insn_recog_data, at
                   |lra.c:1006                  |lra.c:1006 since
                   |                            |r11-7526-g9105757a59b89019
                 CC|                            |marxin at gcc dot gnu.org,
                   |                            |vmakarov at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r11-7526-g9105757a59b89019, likely dup of PR99461.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/99467] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1006 since r11-7526-g9105757a59b89019
  2021-03-08 15:28 [Bug c/99467] New: ice in lra_set_insn_recog_data, at lra.c:1006 dcb314 at hotmail dot com
  2021-03-08 15:33 ` [Bug c/99467] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1006 since r11-7526-g9105757a59b89019 marxin at gcc dot gnu.org
@ 2021-03-08 17:28 ` pinskia at gcc dot gnu.org
  2021-03-08 18:58 ` vmakarov at gcc dot gnu.org
  2021-03-08 19:05 ` vmakarov at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-03-08 17:28 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unknown                     |11.0
   Target Milestone|---                         |11.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/99467] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1006 since r11-7526-g9105757a59b89019
  2021-03-08 15:28 [Bug c/99467] New: ice in lra_set_insn_recog_data, at lra.c:1006 dcb314 at hotmail dot com
  2021-03-08 15:33 ` [Bug c/99467] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1006 since r11-7526-g9105757a59b89019 marxin at gcc dot gnu.org
  2021-03-08 17:28 ` [Bug rtl-optimization/99467] " pinskia at gcc dot gnu.org
@ 2021-03-08 18:58 ` vmakarov at gcc dot gnu.org
  2021-03-08 19:05 ` vmakarov at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2021-03-08 18:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99467
Bug 99467 depends on bug 99461, which changed state.

Bug 99461 Summary: [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 since r11-7526-g9105757a59b89019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99461

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug rtl-optimization/99467] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1006 since r11-7526-g9105757a59b89019
  2021-03-08 15:28 [Bug c/99467] New: ice in lra_set_insn_recog_data, at lra.c:1006 dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2021-03-08 18:58 ` vmakarov at gcc dot gnu.org
@ 2021-03-08 19:05 ` vmakarov at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2021-03-08 19:05 UTC (permalink / raw)
  To: gcc-bugs

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

Vladimir Makarov <vmakarov at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #2 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
I confirm it is a duplicate of PR99422.  With the patch for PR99422, the crash
is gone.

*** This bug has been marked as a duplicate of bug 99422 ***

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-08 19:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-08 15:28 [Bug c/99467] New: ice in lra_set_insn_recog_data, at lra.c:1006 dcb314 at hotmail dot com
2021-03-08 15:33 ` [Bug c/99467] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1006 since r11-7526-g9105757a59b89019 marxin at gcc dot gnu.org
2021-03-08 17:28 ` [Bug rtl-optimization/99467] " pinskia at gcc dot gnu.org
2021-03-08 18:58 ` vmakarov at gcc dot gnu.org
2021-03-08 19:05 ` vmakarov at gcc dot gnu.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).