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

--- Comment #11 from Pengcheng Wang <wangpengcheng.pp at bytedance dot com> ---
I met a new problem when compiling libsanitizer and I hope the log can be
helpful:

```
In file included from
../../../../../gcc/libsanitizer/asan/asan_allocator.cpp:33:
../../../../../gcc/libsanitizer/sanitizer_common/sanitizer_quarantine.h: In
function 'void __sanitizer::Quarantine<Callback, Node>::DoRecycle(Cache*,
Callback) [with Callback = __asan::QuarantineCallback; Node =
__asan::AsanChunk]':
../../../../../gcc/libsanitizer/sanitizer_common/sanitizer_quarantine.h:192:3:
error: unable to generate reloads for:
  192 |   }
      |   ^
(insn 65 64 66 13 (prefetch (mem/f:DI (plus:DI (reg:DI 176 [ ivtmp.1284 ])
                (const_int 128 [0x80])) [25 MEM[(void * *)_73 + 128B]+0 S8
A64])
        (const_int 0 [0])
        (const_int 3 [0x3]))
"../../../../../gcc/libsanitizer/sanitizer_common/sanitizer_quarantine.h":187:11
487 {prefetch}
     (expr_list:REG_DEAD (reg/f:DI 235 [ MEM[(void * *)_73 + 128B] ])
        (nil)))
during RTL pass: reload
../../../../../gcc/libsanitizer/sanitizer_common/sanitizer_quarantine.h:192:3:
internal compiler error: in curr_insn_transform, at lra-constraints.cc:4355
0x2cba3cf internal_error(char const*, ...)
        ../../../gcc/gcc/diagnostic-global-context.cc:517
0xaafe0b fancy_abort(char const*, int, char const*)
        ../../../gcc/gcc/diagnostic.cc:1749
0xa7b926 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
        ../../../gcc/gcc/rtl-error.cc:108
0xa73e5a curr_insn_transform
        ../../../gcc/gcc/lra-constraints.cc:4355
0x10e7de3 lra_constraints(bool)
        ../../../gcc/gcc/lra-constraints.cc:5572
0x10d0e2a lra(_IO_FILE*, int)
        ../../../gcc/gcc/lra.cc:2455
0x108b1bf do_reload
        ../../../gcc/gcc/ira.cc:5987
0x108b1bf execute
        ../../../gcc/gcc/ira.cc:6175
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
```

Reply via email to