public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/51682] New: Coarray ICEs when compiling with -fdefault-integer-8
@ 2011-12-27 11:14 dominiq at lps dot ens.fr
2012-01-02 9:55 ` [Bug fortran/51682] " burnus at gcc dot gnu.org
2012-01-02 9:58 ` burnus at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-12-27 11:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51682
Bug #: 51682
Summary: Coarray ICEs when compiling with -fdefault-integer-8
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: burnus@net-b.de
The following coarray tests give an ICE when compiled with -fdefault-integer-8:
FAIL: gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=lib -O2 -lcaf_single
(internal compiler error)
FAIL: gfortran.dg/coarray/image_index_1.f90 -fcoarray=lib -O2 -lcaf_single
(internal compiler error)
FAIL: gfortran.dg/coarray/image_index_2.f90 -fcoarray=lib -O2 -lcaf_single
(internal compiler error)
FAIL: gfortran.dg/coarray/lock_1.f90 -fcoarray=lib -O2 -lcaf_single (internal
compiler error)
FAIL: gfortran.dg/coarray/poly_run_1.f90 -fcoarray=lib -O2 -lcaf_single
(internal compiler error)
FAIL: gfortran.dg/coarray/poly_run_2.f90 -fcoarray=lib -O2 -lcaf_single
(internal compiler error)
FAIL: gfortran.dg/coarray/poly_run_3.f90 -fcoarray=lib -O2 -lcaf_single
(internal compiler error)
FAIL: gfortran.dg/coarray/scalar_alloc_1.f90 -fcoarray=lib -O2 -lcaf_single
(internal compiler error)
FAIL: gfortran.dg/coarray/this_image_2.f90 -fcoarray=lib -O2 -lcaf_single
(internal compiler error)
The ICEs are of the kind
[macbook] f90/bug% gfc
/opt/gcc/work/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90 -fcoarray=lib
-O2 -lcaf_single -fdefault-integer-8
/opt/gcc/work/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90: In function
'MAIN__':
/opt/gcc/work/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90:5:0: error:
type mismatch in binary expression
integer(kind=8)
integer(kind=4)
integer(kind=8)
D.1923 = _gfortran_caf_this_image.7 + 2;
/opt/gcc/work/gcc/testsuite/gfortran.dg/coarray/alloc_comp_1.f90:5:0: internal
compiler error: verify_gimple failed
Note that I am not surprised by the failure, but if the error is expected,
gfortran should not emit an ICE.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/51682] Coarray ICEs when compiling with -fdefault-integer-8
2011-12-27 11:14 [Bug fortran/51682] New: Coarray ICEs when compiling with -fdefault-integer-8 dominiq at lps dot ens.fr
@ 2012-01-02 9:55 ` burnus at gcc dot gnu.org
2012-01-02 9:58 ` burnus at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-01-02 9:55 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51682
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-02 09:54:44 UTC ---
Author: burnus
Date: Mon Jan 2 09:54:37 2012
New Revision: 182781
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182781
Log:
2012-01-02 Tobias Burnus <burnus@net-b.de>
PR fortran/51682
* trans-intrinsic.c (trans_this_image, trans_image_index,
trans_num_images, conv_intrinsic_cobound): Fold_convert the
caf_num_images/caf_this_images variables to the correct int kind.
2012-01-02 Tobias Burnus <burnus@net-b.de>
PR fortran/51682
* gfortran.dg/coarray/image_index_3.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/coarray/image_index_3.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-intrinsic.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug fortran/51682] Coarray ICEs when compiling with -fdefault-integer-8
2011-12-27 11:14 [Bug fortran/51682] New: Coarray ICEs when compiling with -fdefault-integer-8 dominiq at lps dot ens.fr
2012-01-02 9:55 ` [Bug fortran/51682] " burnus at gcc dot gnu.org
@ 2012-01-02 9:58 ` burnus at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-01-02 9:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51682
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |burnus at gcc dot gnu.org
Resolution| |FIXED
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-02 09:57:45 UTC ---
FIXED on the 4.7 trunk.
Thanks for the report Dominique!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-02 9:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-27 11:14 [Bug fortran/51682] New: Coarray ICEs when compiling with -fdefault-integer-8 dominiq at lps dot ens.fr
2012-01-02 9:55 ` [Bug fortran/51682] " burnus at gcc dot gnu.org
2012-01-02 9:58 ` burnus 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).