public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440
@ 2020-05-16 14:01 john.donners at atos dot net
  2020-05-18  5:47 ` [Bug libgomp/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537 marxin at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: john.donners at atos dot net @ 2020-05-16 14:01 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 95163
           Summary: internal compiler error: in
                    gimplify_adjust_omp_clauses, at gimplify.c:10440
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
          Assignee: unassigned at gcc dot gnu.org
          Reporter: john.donners at atos dot net
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

Created attachment 48548
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48548&action=edit
ICE with combined map-to and firstprivate

Hi,

gfortran (release 10.1.0 and commit f5b461d4) crashes with an internal compiler
error when compiling the attached program:

$ gfortran -Wall -Wextra -fopenmp bug_mapto_firstprivate.f90 
bug_mapto_firstprivate.f90:34:0:

   34 | !$omp    firstprivate(rsss)
      | 
internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440
0xbab84d gimplify_adjust_omp_clauses
        ../../gcc/gcc/gimplify.c:10438
0xbcef50 gimplify_omp_workshare
        ../../gcc/gcc/gimplify.c:12810
0xbada45 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gcc/gimplify.c:14116
0xbb2836 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gcc/gimplify.c:6802
0xbae38b gimplify_statement_list
        ../../gcc/gcc/gimplify.c:1856
0xbae38b gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gcc/gimplify.c:14031
0xbb2836 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gcc/gimplify.c:6802
0xbb3b8d gimplify_bind_expr
        ../../gcc/gcc/gimplify.c:1411
0xbaf323 gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
        ../../gcc/gcc/gimplify.c:13788
0xbb2836 gimplify_stmt(tree_node**, gimple**)
        ../../gcc/gcc/gimplify.c:6802
0xbb4b13 gimplify_body(tree_node*, bool)
        ../../gcc/gcc/gimplify.c:14836
0xbb5187 gimplify_function_tree(tree_node*)
        ../../gcc/gcc/gimplify.c:14990
0x9d900f cgraph_node::analyze()
        ../../gcc/gcc/cgraphunit.c:671
0x9dc713 analyze_functions
        ../../gcc/gcc/cgraphunit.c:1231
0x9dd4d2 symbol_table::finalize_compilation_unit()
        ../../gcc/gcc/cgraphunit.c:2975
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.

$ gfortran -v
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/software/compilers/gcc-offload/f5b461d4/gnu-9.2.0/libexec/gcc/x86_64-pc-linux-gnu/11.0.0/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:x86_64-intelmicemul-linux-gnu
Target: x86_64-pc-linux-gnu
Configured with: ../gcc/configure
--with-gmp=/software/compilers/gcc/gcc-9.2.0-full+isl+binutils
--with-mpfr=/software/compilers/gcc/gcc-9.2.0-full+isl+binutils
--with-mpc=/software/compilers/gcc/gcc-9.2.0-full+isl+binutils
--with-isl=/software/compilers/gcc/gcc-9.2.0-full+isl+binutils
--enable-offload-targets=nvptx-none,x86_64-intelmicemul-linux-gnu
--with-cuda-driver-include=/usr/local/cuda-10.2/include
--with-cuda-driver-lib=/usr/local/cuda-10.2/lib64 --disable-bootstrap
--disable-multilib --enable-languages=c,c++,fortran,lto
--prefix=/software/compilers/gcc-offload/f5b461d4/gnu-9.2.0
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 11.0.0 20200516 (experimental) (GCC) 


Cheers,
John

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

end of thread, other threads:[~2023-07-07 10:37 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 14:01 [Bug libgomp/95163] New: internal compiler error: in gimplify_adjust_omp_clauses, at gimplify.c:10440 john.donners at atos dot net
2020-05-18  5:47 ` [Bug libgomp/95163] [8/9/10/11 Regression] ICE in gimplify_adjust_omp_clauses, at gimplify.c:10440 since r7-4447-gb4c3a85be9658537 marxin at gcc dot gnu.org
2020-05-18  5:58 ` rguenth at gcc dot gnu.org
2020-05-25 11:59 ` [Bug middle-end/95163] " jakub at gcc dot gnu.org
2020-05-25 12:15 ` john.donners at atos dot net
2020-05-25 12:25 ` [Bug fortran/95163] " jakub at gcc dot gnu.org
2020-05-25 13:06 ` burnus at gcc dot gnu.org
2021-01-14  8:49 ` rguenth at gcc dot gnu.org
2021-01-14  8:49 ` rguenth at gcc dot gnu.org
2021-05-14  9:53 ` [Bug fortran/95163] [9/10/11/12 " jakub at gcc dot gnu.org
2021-06-01  8:17 ` rguenth at gcc dot gnu.org
2022-05-27  9:42 ` [Bug fortran/95163] [10/11/12/13 " rguenth at gcc dot gnu.org
2022-06-28 10:40 ` jakub at gcc dot gnu.org
2023-07-07 10:37 ` [Bug fortran/95163] [11/12/13/14 " rguenth 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).