public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* ICE for coarray_shared and team
@ 2021-01-20 10:38 dhumieres.dominique
  2021-01-20 11:16 ` Thomas Koenig
  0 siblings, 1 reply; 2+ messages in thread
From: dhumieres.dominique @ 2021-01-20 10:38 UTC (permalink / raw)
  To: koenigni; +Cc: tobias, fortran

Among the errors I see with coarray_shared are

FAIL: gfortran.dg/coarray.sh/team_change_1.f90 -fcoarray=shared  -O2  
-lcaf_shared -latomic (internal compiler error)
FAIL: gfortran.dg/coarray.sh/team_change_1.f90 -fcoarray=shared  -O2  
-lcaf_shared -latomic (test for excess errors)
FAIL: gfortran.dg/coarray.sh/team_end_1.f90 -fcoarray=shared  -O2  
-lcaf_shared -latomic (internal compiler error)
FAIL: gfortran.dg/coarray.sh/team_end_1.f90 -fcoarray=shared  -O2  
-lcaf_shared -latomic (test for excess errors)
FAIL: gfortran.dg/coarray.sh/team_number_1.f90 -fcoarray=shared  -O2  
-lcaf_shared -latomic (internal compiler error)
FAIL: gfortran.dg/coarray.sh/team_number_1.f90 -fcoarray=shared  -O2  
-lcaf_shared -latomic (test for excess errors)

The failures are:

internal compiler error: in conv_intrinsic_team_number, at 
fortran/trans-intrinsic.c:2677

which is

     gcc_unreachable ();

I think there ere missing if blocks for GFC_FCOARRAY_SHARED. For them 
should we use gfor_fndecl_caf_team_number or anything else?

Cheers,

Dominique

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

* Re: ICE for coarray_shared and team
  2021-01-20 10:38 ICE for coarray_shared and team dhumieres.dominique
@ 2021-01-20 11:16 ` Thomas Koenig
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Koenig @ 2021-01-20 11:16 UTC (permalink / raw)
  To: dhumieres.dominique, koenigni; +Cc: tobias, fortran


Hi Dominique,

> Among the errors I see with coarray_shared are
> 
> FAIL: gfortran.dg/coarray.sh/team_change_1.f90 -fcoarray=shared  -O2 
> -lcaf_shared -latomic (internal compiler error)

Teams are not yet implemented, this is known :-) and documented
under libgfortran/caf_shared/README.native_coarrays.

In general, we try to have all test cases known to succeed in
the gfortran.dg/caf-shared directory.

> I think there ere missing if blocks for GFC_FCOARRAY_SHARED. For them 
> should we use gfor_fndecl_caf_team_number or anything else?

I haven't looked at teams too closely yet.  We will need a few decls in
the front end. These should be separate from the caf_ names because
the number and types of arguments might be different, and we don't want
to pick up the wrong ones.  All decls for shared memory coarrays have
cas instead of caf in their names.

Also, teams need to be implemented on the library side as well.

Best regards

	Thomas

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

end of thread, other threads:[~2021-01-20 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20 10:38 ICE for coarray_shared and team dhumieres.dominique
2021-01-20 11:16 ` Thomas Koenig

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).