public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug jit/95426] New: libgccjit.so: error: RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN
@ 2020-05-29 23:30 bouanto at zoho dot com
  2020-05-31 13:56 ` [Bug jit/95426] " dmalcolm at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bouanto at zoho dot com @ 2020-05-29 23:30 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95426
           Summary: libgccjit.so: error: RTL check: expected elt 2 type
                    'B', have '0' (rtx barrier) in BLOCK_FOR_INSN
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: jit
          Assignee: dmalcolm at gcc dot gnu.org
          Reporter: bouanto at zoho dot com
  Target Milestone: ---

Hi.
I found this bug that happens when generating some code with libgccjit:

during RTL pass: expand
libgccjit.so: error: RTL check: expected elt 2 type 'B', have '0' (rtx barrier)
in BLOCK_FOR_INSN, at rtl.h:1485
0x7f2a2317d365 rtl_check_failed_type1(rtx_def const*, int, int, char const*,
int, char const*)
        ../../gcc/gcc/rtl.c:860
0x7f2a23091bf7 BLOCK_FOR_INSN(rtx_def*)
        ../../gcc/gcc/rtl.h:1485
0x7f2a23091f82 BLOCK_FOR_INSN(rtx_def*)
        ../../gcc/gcc/rtl.h:1469
0x7f2a23091f82 rtl_verify_bb_pointers
        ../../gcc/gcc/cfgrtl.c:2778
0x7f2a2359e6e6 rtl_verify_flow_info_1
        ../../gcc/gcc/cfgrtl.c:2832
0x7f2a2359e6e6 rtl_verify_flow_info
        ../../gcc/gcc/cfgrtl.c:3076
0x7f2a23582a06 verify_flow_info()
        ../../gcc/gcc/cfghooks.c:267
0x7f2a244a966d checking_verify_flow_info
        ../../gcc/gcc/cfghooks.h:212
0x7f2a244a966d try_optimize_cfg
        ../../gcc/gcc/cfgcleanup.c:3009
0x7f2a244a966d cleanup_cfg(int)
        ../../gcc/gcc/cfgcleanup.c:3174
0x7f2a2357f90a execute
        ../../gcc/gcc/cfgexpand.c:6732

I'm not sure what causes this issue and, again, dumping a reproducer dumps a
file with an empty create_code function.
Is there any compile-time option I need to enable to be able to create a
reproducer?

Thanks to fix this issue.

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

end of thread, other threads:[~2020-06-02 22:34 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-29 23:30 [Bug jit/95426] New: libgccjit.so: error: RTL check: expected elt 2 type 'B', have '0' (rtx barrier) in BLOCK_FOR_INSN bouanto at zoho dot com
2020-05-31 13:56 ` [Bug jit/95426] " dmalcolm at gcc dot gnu.org
2020-05-31 14:54 ` bouanto at zoho dot com
2020-05-31 15:20 ` dmalcolm at gcc dot gnu.org
2020-05-31 17:08 ` dmalcolm at gcc dot gnu.org
2020-06-01 19:50 ` dmalcolm at gcc dot gnu.org
2020-06-02 12:43 ` bouanto at zoho dot com
2020-06-02 12:50 ` dmalcolm at gcc dot gnu.org
2020-06-02 15:09 ` dmalcolm at gcc dot gnu.org
2020-06-02 22:30 ` cvs-commit at gcc dot gnu.org
2020-06-02 22:34 ` dmalcolm 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).