public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110537] New: ICE for OpenMP loop with SVE (aarch64) intrinsics
@ 2023-07-04  6:13 pgodbole at nvidia dot com
  2023-07-04  6:32 ` [Bug target/110537] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: pgodbole at nvidia dot com @ 2023-07-04  6:13 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110537
           Summary: ICE for OpenMP loop with SVE (aarch64) intrinsics
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pgodbole at nvidia dot com
  Target Milestone: ---

Created attachment 55465
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55465&action=edit
OpenMP code with SVE intrinsics

We are observing a crash with GCC 14 when compiling an OpenMP loop that uses
SVE intrinsics (see attached source code).

Command:
gcc -mcpu=neoverse-v2 -fopenmp crash_sve_bug.c -w

Results in:

crash_sve_bug.c: In function _HPL_dlaswp06T_:
crash_sve_bug.c:82:33: internal compiler error: Segmentation fault
   82 |          svfloat64_t __a0_sve = svld1_f64(pg, a0 +   0 * LDA);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0xef64df crash_signal
        /home/latest_trunk/git/gcc/gcc/toplev.cc:314
0xb7570c omp_add_variable
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:7411
0xb7570c omp_add_variable
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:7352
0xb765db omp_notice_variable
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:8026
0xb761ff omp_notice_variable
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:8095
0xb7a577 gimplify_var_or_parm_decl
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:3063
0xb826eb gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:16902
0xb89fbb gimplify_expr
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:17505
0xb89fbb gimplify_arg(tree_node**, gimple**, unsigned int, bool)
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:3523
0xb8f4e7 gimplify_call_expr
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:3808
0xb82c57 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:16413
0xb93333 gimplify_modify_expr
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:6173
0xb82983 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:16441
0xb86c4b gimplify_stmt(tree_node**, gimple**)
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:7246
0xb8b3e3 gimplify_and_add(tree_node*, gimple**)
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:492
0xb8b3e3 gimplify_decl_expr
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:1936
0xb82fc3 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:16638
0xb86c4b gimplify_stmt(tree_node**, gimple**)
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:7246
0xb83a3f gimplify_statement_list
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:2019
0xb83a3f gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        /home/latest_trunk/git/gcc/gcc/gimplify.cc:16886
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.

The same ICE is observed on GCC 12.3 and 13.1. It compiles successfully without
-fopenmp

Thanks,
Prachi

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

* [Bug target/110537] ICE for OpenMP loop with SVE (aarch64) intrinsics
  2023-07-04  6:13 [Bug target/110537] New: ICE for OpenMP loop with SVE (aarch64) intrinsics pgodbole at nvidia dot com
@ 2023-07-04  6:32 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-04  6:32 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup.

*** This bug has been marked as a duplicate of bug 101018 ***

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

end of thread, other threads:[~2023-07-04  6:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-04  6:13 [Bug target/110537] New: ICE for OpenMP loop with SVE (aarch64) intrinsics pgodbole at nvidia dot com
2023-07-04  6:32 ` [Bug target/110537] " pinskia 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).