public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95215] New: internal compiler error: in gimplify_expr, at gimplify.c:14079
@ 2020-05-19 16:39 john.donners at atos dot net
2020-06-09 14:17 ` [Bug fortran/95215] [OMP] " dominiq at lps dot ens.fr
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: john.donners at atos dot net @ 2020-05-19 16:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95215
Bug ID: 95215
Summary: internal compiler error: in gimplify_expr, at
gimplify.c:14079
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: john.donners at atos dot net
Target Milestone: ---
Created attachment 48569
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48569&action=edit
internal compiler error: in gimplify_expr, at gimplify.c:14079
Hello,
I attached another ICE.
Command: gfortran -g -fopenmp -O3 ice_gcc10_g_fopenmp_O3.f90
Output:
during GIMPLE pass: ompdevlow
ice_gcc10_g_fopenmp_O3.f90: In function ‘thermodynamics_._omp_fn.1’:
ice_gcc10_g_fopenmp_O3.f90:42: internal compiler error: in gimplify_expr, at
gimplify.c:14079
42 | call therm_ice
|
0x7727cf gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
../../gcc/gcc/gimplify.c:14079
0x77deab gimple_regimplify_operands(gimple*, gimple_stmt_iterator*)
../../gcc/gcc/gimplify-me.c:247
0x89fb57 execute_omp_device_lower
../../gcc/gcc/omp-offload.c:1975
0x89fb57 execute
../../gcc/gcc/omp-offload.c:2011
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.
mkoffload: fatal error: x86_64-pc-linux-gnu-accel-nvptx-none-gcc returned 1
exit
status
compilation terminated.
lto-wrapper: fatal error:
/software/compilers/gcc-offload/10.1.0/gnu-9.2.0/libexec/gcc/x86_64-pc-linux-nu/10.1.0//accel/nvptx-none/mkoffload
returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Cheers,
John
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/95215] [OMP] internal compiler error: in gimplify_expr, at gimplify.c:14079
2020-05-19 16:39 [Bug fortran/95215] New: internal compiler error: in gimplify_expr, at gimplify.c:14079 john.donners at atos dot net
@ 2020-06-09 14:17 ` dominiq at lps dot ens.fr
2020-06-09 14:29 ` john.donners at atos dot net
2023-09-19 20:24 ` anlauf at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2020-06-09 14:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95215
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2020-06-09
Priority|P3 |P4
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
WORKSFORME since GCC6 up to master.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/95215] [OMP] internal compiler error: in gimplify_expr, at gimplify.c:14079
2020-05-19 16:39 [Bug fortran/95215] New: internal compiler error: in gimplify_expr, at gimplify.c:14079 john.donners at atos dot net
2020-06-09 14:17 ` [Bug fortran/95215] [OMP] " dominiq at lps dot ens.fr
@ 2020-06-09 14:29 ` john.donners at atos dot net
2023-09-19 20:24 ` anlauf at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: john.donners at atos dot net @ 2020-06-09 14:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95215
--- Comment #2 from John Donners <john.donners at atos dot net> ---
thanks for reviewing this. Indeed, the compiler bug does not occur when using
the intelmicemul target:
gfortran -foffload=x86_64-intelmicemul-linux-gnu -g -fopenmp -O3 bla.f90
/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
/tmp/ccfY1ov8.o: In function `therm_ice_':
/home_nfs_robin_ib/bdonnersj/tmp/bla.f90:61: undefined reference to `budget_'
/home_nfs_robin_ib/bdonnersj/tmp/bla.f90:61: undefined reference to `budget_'
collect2: error: ld returned 1 exit status
but it does occur for the nvptx-none target:
$ gfortran -foffload=nvptx-none -g -fopenmp -O3 bla.f90
during GIMPLE pass: ompdevlow
bla.f90: In function ‘thermodynamics_._omp_fn.1’:
bla.f90:45: internal compiler error: in gimplify_expr, at gimplify.c:14079
45 | call therm_ice
|
0x7727cf gimplify_expr(tree_node**, gimple**, gimple**, bool (*)(tree_node*),
int)
../../gcc/gcc/gimplify.c:14079
0x77deab gimple_regimplify_operands(gimple*, gimple_stmt_iterator*)
../../gcc/gcc/gimplify-me.c:247
0x89fb57 execute_omp_device_lower
../../gcc/gcc/omp-offload.c:1975
0x89fb57 execute
../../gcc/gcc/omp-offload.c:2011
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.
mkoffload: fatal error: x86_64-pc-linux-gnu-accel-nvptx-none-gcc returned 1
exit status
compilation terminated.
lto-wrapper: fatal error:
/software/compilers/gcc-offload/10.1.0/gnu-9.2.0/libexec/gcc/x86_64-pc-linux-gnu/10.1.0//accel/nvptx-none/mkoffload
returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
I do not know what happens for the amdgcn-amdhsa target.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug fortran/95215] [OMP] internal compiler error: in gimplify_expr, at gimplify.c:14079
2020-05-19 16:39 [Bug fortran/95215] New: internal compiler error: in gimplify_expr, at gimplify.c:14079 john.donners at atos dot net
2020-06-09 14:17 ` [Bug fortran/95215] [OMP] " dominiq at lps dot ens.fr
2020-06-09 14:29 ` john.donners at atos dot net
@ 2023-09-19 20:24 ` anlauf at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: anlauf at gcc dot gnu.org @ 2023-09-19 20:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95215
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Known to work| |11.4.1, 12.3.1
--- Comment #3 from anlauf at gcc dot gnu.org ---
Works (= compiles) here on OpenSuse 15.4 with gfortran-11 and -12 and with
-g -fopenmp -O3 -foffload=nvptx-none
but cannot link or test further due to unresolved external.
Not entirely sure if the release versions of the distro just hide the problem,
or if your problem is resolved.
Please test one of the newer releases and report back.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-19 20:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 16:39 [Bug fortran/95215] New: internal compiler error: in gimplify_expr, at gimplify.c:14079 john.donners at atos dot net
2020-06-09 14:17 ` [Bug fortran/95215] [OMP] " dominiq at lps dot ens.fr
2020-06-09 14:29 ` john.donners at atos dot net
2023-09-19 20:24 ` anlauf 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).