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

--- Comment #23 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
(In reply to mwahab from comment #22)
> I believe that this patch is the cause of compilation failures for a number
> of tests on arm-none-linux-gnueabihf and arm-none-eabi.
> 
> E.g. arm-none-linux-gnueabihf-gcc -S testsuite/gcc.dg/torture/vshuf-v64qi.c
> -O1
> results in an ICE with
> ----
> testsuite/gcc.dg/torture/vshuf-main.inc: In function ‘test_2’:
> testsuite/gcc.dg/torture/vshuf-main.inc:28:1: error: insn does not satisfy
> its constraints:
>  TESTS
>  ^~~~~
> (insn 606 607 589 2 (set (reg:QI 3 r3 [326])
>         (reg:QI 31 s15)) testsuite/gcc.dg/torture/vshuf-main.inc:28 182
> {*arm_movqi_insn}
>      (expr_list:REG_EQUAL (const_int 13 [0xd])
>         (nil)))
> testsuite/gcc.dg/torture/vshuf-main.inc:28:1: internal compiler error: in
> extract_constrain_insn, at recog.c:2211
> 0xaea3e8 _fatal_insn(char const*, rtx_def const*, char const*, int, char
> const*)
>       /work/src/gnutools/armdsg/src/gcc/gcc/rtl-error.c:108
> 0xaea40f _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
>       /work/src/gnutools/armdsg/src/gcc/gcc/rtl-error.c:119
> 0xabcf1d extract_constrain_insn(rtx_insn*)
>       /work/src/gnutools/armdsg/src/gcc/gcc/recog.c:2211
> 0x9d76af check_rtl
>       /work/src/gnutools/armdsg/src/gcc/gcc/lra.c:2108
> 0x9dbfa9 lra(_IO_FILE*)
>       /work/src/gnutools/armdsg/src/gcc/gcc/lra.c:2516
> 0x99106f do_reload
>       /work/src/gnutools/armdsg/src/gcc/gcc/ira.c:5384
> 0x99106f execute
>       /work/src/gnutools/armdsg/src/gcc/gcc/ira.c:5568
> ----
> 
> The test compiles with trunk before the change.
> 
> Let me know if there's anything else I should check.

I tried to reproduce it on my arm board (armv7l-unknown-linux-gnueabihf) and
using cross-compiler arm-non-eabi without any success.

Could you provide a preprocessed source file with all *cc1* options for
arm-non-eabi.

Thank you.

Reply via email to