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

--- Comment #46 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
(In reply to Andreas Schwab from comment #44)
> Breakpoint 1, fancy_abort (file=0x4000000003d15300
> "../../gcc/haifa-sched.c", 
>     line=5465, 
>     function=0x4000000003d164b8 <move_insn(rtx_insn*, rtx_insn*,
> rtx_def*)::__FUNCTION__> "move_insn") at ../../gcc/diagnostic.c:1500
> 1500      internal_error ("in %s, at %s:%d", function, trim_filename (file),
> line);
> (gdb) up
> #1  0x4000000003632010 in move_insn (insn=0x200000000d6340f8, 
>     last=0x200000000d6d4040, nt=0x200000000d887ec0)
>     at ../../gcc/haifa-sched.c:5465
> 5465              gcc_assert (NOTE_INSN_BASIC_BLOCK_P (note));
> (gdb) p note
> $1 = (rtx_insn *) 0x200000000d772700
> (gdb) pr
> warning: Expression is not an assignment (and might have no effect)
> (debug_insn 5101 1610 8844 (debug_marker) "../../gcc/c/c-typeck.c":4700 -1
>      (nil))

Ugh.  In that case it might be conceptually better if the group barriers were
actually notes, on the other side we don't have support for target dependent
notes.
In that case, I guess we need to punt on all the checking.  Let me tweak the
#c30 patch :(.

Reply via email to