public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "acoplan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/101018] ICE when enabling OpenMP on a simple loop with SVE intrinsics (aarch64)
Date: Thu, 10 Jun 2021 20:05:28 +0000	[thread overview]
Message-ID: <bug-101018-4-OtYqDythve@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-101018-4@http.gcc.gnu.org/bugzilla/>

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Keywords|                            |ice-on-valid-code
          Component|c                           |middle-end
             Target|                            |aarch64
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-06-10
                 CC|                            |acoplan at gcc dot gnu.org,
                   |                            |rsandifo at gcc dot gnu.org
      Known to fail|                            |10.3.0, 11.1.0, 12.0

--- Comment #1 from Alex Coplan <acoplan at gcc dot gnu.org> ---
Confirmed on trunk. ICEs with simply:

$ cat test.c
#include <arm_sve.h>
void f() {
  svfloat64_t x;
#pragma omp parallel
  x;
}
$ aarch64-linux-gnu-gcc -c -march=armv8.2-a+sve -fopenmp test.c
test.c: In function ‘f’:
test.c:5:3: internal compiler error: Segmentation fault
    5 |   x;
      |   ^
0xe089b3 crash_signal
        /home/alecop01/toolchain/src/gcc/gcc/toplev.c:327
0xad6abc omp_add_variable
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:7028
0xad7f55 omp_notice_variable
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:7622
0xad84ee gimplify_var_or_parm_decl
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:2851
0xadd82b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:14540
0xae15aa gimplify_stmt(tree_node**, gimple**)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:6863
0xae1dae gimplify_bind_expr
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:1424
0xadc932 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:14280
0xae15aa gimplify_stmt(tree_node**, gimple**)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:6863
0xae3f6a gimplify_and_add(tree_node*, gimple**)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:492
0xae3f6a gimplify_and_return_first
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:504
0xb08ed9 gimplify_omp_parallel
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:11428
0xadd8c3 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:14568
0xae15aa gimplify_stmt(tree_node**, gimple**)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:6863
0xadd753 gimplify_statement_list
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:1885
0xadd753 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:14524
0xae15aa gimplify_stmt(tree_node**, gimple**)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:6863
0xae1dae gimplify_bind_expr
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:1424
0xadc932 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:14280
0xae15aa gimplify_stmt(tree_node**, gimple**)
        /home/alecop01/toolchain/src/gcc/gcc/gimplify.c:6863
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.

  reply	other threads:[~2021-06-10 20:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-10 15:13 [Bug c/101018] New: " romain.gcc at dolbeau dot name
2021-06-10 20:05 ` acoplan at gcc dot gnu.org [this message]
2021-09-06 10:03 ` [Bug middle-end/101018] " pinskia at gcc dot gnu.org
2022-03-02 16:55 ` rsandifo at gcc dot gnu.org
2022-03-02 16:57 ` rsandifo at gcc dot gnu.org
2023-04-12 12:59 ` xry111 at gcc dot gnu.org
2023-04-12 13:07 ` jakub at gcc dot gnu.org
2023-04-12 18:46 ` pinskia at gcc dot gnu.org
2023-07-04  6:32 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-101018-4-OtYqDythve@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).