public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/98601] New: aarch64: ICE in rtx_addr_can_trap_p_1, at rtlanal.c:467
@ 2021-01-08 13:08 acoplan at gcc dot gnu.org
  2021-03-31 10:30 ` [Bug rtl-optimization/98601] [8/9/10/11 Regression] " acoplan at gcc dot gnu.org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: acoplan at gcc dot gnu.org @ 2021-01-08 13:08 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98601
           Summary: aarch64: ICE in rtx_addr_can_trap_p_1, at
                    rtlanal.c:467
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

The following fails:

$ cat test.c
void a() {
  void *b;
  asm("" : "=Q"(*b));
}
$ aarch64-elf-gcc -c test.c -O
test.c: In function 'a':
test.c:3:17: warning: dereferencing 'void *' pointer
    3 |   asm("" : "=Q"(*b));
      |                 ^~
during RTL pass: cprop_hardreg
test.c:4:1: internal compiler error: in rtx_addr_can_trap_p_1, at rtlanal.c:467
    4 | }
      | ^
0xd61f35 rtx_addr_can_trap_p_1
        /home/alecop01/toolchain/src/gcc/gcc/rtlanal.c:467
0xd626ac may_trap_p_1(rtx_def const*, unsigned int)
        /home/alecop01/toolchain/src/gcc/gcc/rtlanal.c:3182
0xd62918 may_trap_p_1(rtx_def const*, unsigned int)
        /home/alecop01/toolchain/src/gcc/gcc/rtlanal.c:3282
0xd629cd may_trap_p(rtx_def const*)
        /home/alecop01/toolchain/src/gcc/gcc/rtlanal.c:3301
0xd2de10 copyprop_hardreg_forward_1
        /home/alecop01/toolchain/src/gcc/gcc/regcprop.c:789
0xd2eb9a cprop_hardreg_bb
        /home/alecop01/toolchain/src/gcc/gcc/regcprop.c:1302
0xd2ee2a execute
        /home/alecop01/toolchain/src/gcc/gcc/regcprop.c:1367
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2021-04-22 17:11 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08 13:08 [Bug rtl-optimization/98601] New: aarch64: ICE in rtx_addr_can_trap_p_1, at rtlanal.c:467 acoplan at gcc dot gnu.org
2021-03-31 10:30 ` [Bug rtl-optimization/98601] [8/9/10/11 Regression] " acoplan at gcc dot gnu.org
2021-03-31 11:00 ` acoplan at gcc dot gnu.org
2021-03-31 11:41 ` [Bug target/98601] " rguenth at gcc dot gnu.org
2021-03-31 11:50 ` [Bug rtl-optimization/98601] " rguenth at gcc dot gnu.org
2021-03-31 12:51 ` acoplan at gcc dot gnu.org
2021-04-09  8:05 ` rguenth at gcc dot gnu.org
2021-04-09  9:16 ` jakub at gcc dot gnu.org
2021-04-09  9:28 ` jakub at gcc dot gnu.org
2021-04-10 10:47 ` cvs-commit at gcc dot gnu.org
2021-04-10 10:50 ` [Bug rtl-optimization/98601] [8/9/10 " jakub at gcc dot gnu.org
2021-04-20  9:45 ` cvs-commit at gcc dot gnu.org
2021-04-20  9:52 ` [Bug rtl-optimization/98601] [8/9 " jakub at gcc dot gnu.org
2021-04-20 23:34 ` cvs-commit at gcc dot gnu.org
2021-04-22 16:52 ` cvs-commit at gcc dot gnu.org
2021-04-22 17:11 ` jakub 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).