public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110435] New: ICE in in convert_move, at expr.cc:297 on Aarch64 with -Ofast
@ 2023-06-27 11:16 jamborm at gcc dot gnu.org
  2023-06-27 13:09 ` [Bug target/110435] " acoplan at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jamborm at gcc dot gnu.org @ 2023-06-27 11:16 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110435
           Summary: ICE in in convert_move, at expr.cc:297 on Aarch64 with
                    -Ofast
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jamborm at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux
            Target: aarch64-linux

Using a cross compiler (revision r14-2079-g9326a49c9e9d63) configured with

  /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/configure
--enable-languages=c,c++,fortran,rust,m2 --disable-bootstrap
--disable-libsanitizer --disable-multilib --enable-checking=release
--prefix=/home/worker/cross --target=aarch64-linux-gnu
--with-as=/usr/bin/aarch64-suse-linux-as

to compile our own testcase gcc/testsuite/gfortran.dg/pr68251.f90 with -Ofast
results in an ICE:

$ ~/cross/bin/aarch64-linux-gnu-gfortran gcc/testsuite/gfortran.dg/pr68251.f90
-Ofast -o /tmp/aaa.out
during RTL pass: expand
gcc/testsuite/gfortran.dg/pr68251.f90:1043:57:

 1043 |             kbc((mc-1)*15+mb) = kbc((mc-1)*15+mb) - ks_bc
      |                                                         ^
internal compiler error: in convert_move, at expr.cc:297
0x74393a convert_move(rtx_def*, rtx_def*, int)
        /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/expr.cc:297
0xa5ffa5 expand_expr_real_2(separate_ops*, rtx_def*, machine_mode,
expand_modifier)
        /home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/expr.cc:9368
0x961290 expand_gimple_stmt_1
       
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/cfgexpand.cc:3983
0x961290 expand_gimple_stmt
       
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/cfgexpand.cc:4044
0x9661c7 expand_gimple_basic_block
       
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/cfgexpand.cc:6096
0x967e2e execute
       
/home/worker/buildworker/tiber-gcc-trunk-aarch64/build/gcc/cfgexpand.cc:6831
Please submit a full bug report, with preprocessed source (by using
-freport-bug).

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

* [Bug target/110435] ICE in in convert_move, at expr.cc:297 on Aarch64 with -Ofast
  2023-06-27 11:16 [Bug target/110435] New: ICE in in convert_move, at expr.cc:297 on Aarch64 with -Ofast jamborm at gcc dot gnu.org
@ 2023-06-27 13:09 ` acoplan at gcc dot gnu.org
  2023-06-27 16:51 ` jamborm at gcc dot gnu.org
  2023-06-27 16:51 ` jamborm at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: acoplan at gcc dot gnu.org @ 2023-06-27 13:09 UTC (permalink / raw)
  To: gcc-bugs

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

Alex Coplan <acoplan at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |acoplan at gcc dot gnu.org

--- Comment #1 from Alex Coplan <acoplan at gcc dot gnu.org> ---
FWIW I can't seem to reproduce this with
r14-2132-g4a48a38fa99f067b8f3a3d1a5dc7a1e602db351f (tried both cross and native
configurations).

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

* [Bug target/110435] ICE in in convert_move, at expr.cc:297 on Aarch64 with -Ofast
  2023-06-27 11:16 [Bug target/110435] New: ICE in in convert_move, at expr.cc:297 on Aarch64 with -Ofast jamborm at gcc dot gnu.org
  2023-06-27 13:09 ` [Bug target/110435] " acoplan at gcc dot gnu.org
@ 2023-06-27 16:51 ` jamborm at gcc dot gnu.org
  2023-06-27 16:51 ` jamborm at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jamborm at gcc dot gnu.org @ 2023-06-27 16:51 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Martin Jambor <jamborm at gcc dot gnu.org> ---
Indeed, on a newer git checkout, the issue cannot be reproduced any longer. 
But I swear it was there in the morning.  Sorry for the noise.

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

* [Bug target/110435] ICE in in convert_move, at expr.cc:297 on Aarch64 with -Ofast
  2023-06-27 11:16 [Bug target/110435] New: ICE in in convert_move, at expr.cc:297 on Aarch64 with -Ofast jamborm at gcc dot gnu.org
  2023-06-27 13:09 ` [Bug target/110435] " acoplan at gcc dot gnu.org
  2023-06-27 16:51 ` jamborm at gcc dot gnu.org
@ 2023-06-27 16:51 ` jamborm at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jamborm at gcc dot gnu.org @ 2023-06-27 16:51 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Jambor <jamborm at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |FIXED

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

end of thread, other threads:[~2023-06-27 16:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-27 11:16 [Bug target/110435] New: ICE in in convert_move, at expr.cc:297 on Aarch64 with -Ofast jamborm at gcc dot gnu.org
2023-06-27 13:09 ` [Bug target/110435] " acoplan at gcc dot gnu.org
2023-06-27 16:51 ` jamborm at gcc dot gnu.org
2023-06-27 16:51 ` jamborm 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).