public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/54350] New: [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586
@ 2012-08-22 16:25 dominiq at lps dot ens.fr
2012-08-22 20:00 ` [Bug fortran/54350] " hp at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens.fr @ 2012-08-22 16:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54350
Bug #: 54350
Summary: [4.8 Regression] FAIL:
gfortran.dg/realloc_on_assign_*.f90 -O (internal
compiler error) at r190586
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: dominiq@lps.ens.fr
CC: burnus@net-b.de, hjl.tools@gmail.com
Revision 190586 caused several failures in the gfortran test suite:
FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O0 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O0 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O1 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O1 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O1 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O1 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O2 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O2 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O2 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O2 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer (internal
compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer (internal
compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer (test for
excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer (test for
excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer
-funroll-loops (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer
-funroll-loops (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -g (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -g (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -g (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -O3 -g (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -Os (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -Os (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -Os (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_15.f90 -Os (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O1 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O1 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O1 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O1 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O2 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O2 (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O2 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O2 (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer (internal
compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer (internal
compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer (test for
excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer (test for
excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer
-funroll-loops (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer
-funroll-loops (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -g (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -g (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -g (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -O3 -g (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -Os (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -Os (internal compiler error)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -Os (test for excess errors)
FAIL: gfortran.dg/realloc_on_assign_2.f03 -Os (test for excess errors)
The ICEs I have looked at are of the kind
/opt/gcc/work/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90: In function
'MAIN__':
/opt/gcc/work/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:31:0: internal
compiler error: in gfc_conv_procedure_call, at fortran/trans-expr.c:3721
a = nar2() ! { dg-warning "Code for reallocating the allocatable array" }
^
r190585 is OK.
Note that the polyhedron test rnflow.f90 also does not compile.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/54350] [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586
2012-08-22 16:25 [Bug fortran/54350] New: [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586 dominiq at lps dot ens.fr
@ 2012-08-22 20:00 ` hp at gcc dot gnu.org
2012-08-22 20:50 ` burnus at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: hp at gcc dot gnu.org @ 2012-08-22 20:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54350
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2012-08-22
CC| |burnus at gcc dot gnu.org,
| |hp at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-08-22 19:59:16 UTC ---
Seeing something like this for cris-elf too, specifically a regression for
gfortran.sum gfortran.dg/realloc_on_assign_14.f90
gfortran.sum gfortran.dg/realloc_on_assign_15.f90
gfortran.sum gfortran.dg/realloc_on_assign_2.f03
for exactly r190586 except in my case (cross from x86_64-linux to cris-elf) the
ICE message is the less specific:
/tmp/hpautotest-gcc0/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90: In
function 'MAIN__':
/tmp/hpautotest-gcc0/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:31:0:
internal compiler error: Segmentation fault
Adding committers' @gcc.gnu.org address to CC.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/54350] [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586
2012-08-22 16:25 [Bug fortran/54350] New: [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586 dominiq at lps dot ens.fr
2012-08-22 20:00 ` [Bug fortran/54350] " hp at gcc dot gnu.org
@ 2012-08-22 20:50 ` burnus at gcc dot gnu.org
2012-08-24 7:44 ` burnus at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-08-22 20:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54350
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |burnus at gcc dot gnu.org
|gnu.org |
--- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-22 20:49:08 UTC ---
Yes, that's a side-effect of my recent patch - sorry. I know about the issue
since this morning, but I didn't manage to fix it as quickly as I had hoped
for. Debugging memory leaks and understanding the scalarizer took longer than
anticipated.
The simplest is to revert
http://gcc.gnu.org/ml/fortran/2012-08/msg00120.html
Some issues and a possible approach to fix them is given in
http://gcc.gnu.org/ml/fortran/2012-08/msg00131.html
and the reply
http://gcc.gnu.org/ml/fortran/2012-08/msg00133.html
I have a patch which is currently building, but with build fixes, other
changes, and regtesting it will probably take a while until it is ready.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/54350] [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586
2012-08-22 16:25 [Bug fortran/54350] New: [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586 dominiq at lps dot ens.fr
2012-08-22 20:00 ` [Bug fortran/54350] " hp at gcc dot gnu.org
2012-08-22 20:50 ` burnus at gcc dot gnu.org
@ 2012-08-24 7:44 ` burnus at gcc dot gnu.org
2012-08-24 7:46 ` burnus at gcc dot gnu.org
2012-08-24 7:46 ` burnus at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-08-24 7:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54350
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-24 07:43:31 UTC ---
Author: burnus
Date: Fri Aug 24 07:43:23 2012
New Revision: 190641
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190641
Log:
2012-08-24 Tobias Burnus <burnus@net-b.de>
PR fortran/54350
* trans-array.c (free_ss_info): Free data.array.subscript.
(gfc_free_ss): No longer free data.array.subscript.
(walk_coarray): New function, moved from trans-intrinsic.c
(gfc_conv_expr_descriptor): Walk array descriptor instead
of taking passed "ss".
(get_array_ctor_all_strlen, gfc_add_loop_ss_code,
gfc_conv_array_parameter): Update call and cleanup ss handling.
* trans-array.h (gfc_conv_expr_descriptor,
gfc_conv_array_parameter): Update prototype.
* trans-expr.c (gfc_conv_derived_to_class,
conv_isocbinding_procedure, gfc_conv_procedure_call,
gfc_trans_alloc_subarray_assign, gfc_trans_subcomponent_assign,
gfc_trans_pointer_assignment, gfc_trans_arrayfunc_assign): Update
call to gfc_conv_expr_descriptor and gfc_conv_array_parameter,
and clean up.
* trans-intrinsic.c (walk_coarray): Moved to trans-array.c
(trans_this_image, trans_image_index, gfc_conv_intrinsic_rank
gfc_conv_intrinsic_bound, gfc_conv_intrinsic_cobound,
gfc_conv_intrinsic_len, gfc_conv_intrinsic_size,
gfc_conv_intrinsic_sizeof, gfc_conv_intrinsic_storage_size,
gfc_conv_intrinsic_transfer, gfc_conv_allocated,
gfc_conv_associated, gfc_conv_intrinsic_loc,
conv_intrinsic_move_alloc): Update calls.
* trans-io.c (gfc_convert_array_to_string, set_internal_unit,
gfc_trans_transfer): Ditto.
* trans-stmt.c (gfc_conv_elemental_dependencies,
gfc_trans_sync, trans_associate_var,
gfc_trans_pointer_assign_need_temp): Ditto.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/fortran/trans-array.h
trunk/gcc/fortran/trans-expr.c
trunk/gcc/fortran/trans-intrinsic.c
trunk/gcc/fortran/trans-io.c
trunk/gcc/fortran/trans-stmt.c
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/54350] [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586
2012-08-22 16:25 [Bug fortran/54350] New: [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586 dominiq at lps dot ens.fr
` (3 preceding siblings ...)
2012-08-24 7:46 ` burnus at gcc dot gnu.org
@ 2012-08-24 7:46 ` burnus at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-08-24 7:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54350
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-24 07:43:31 UTC ---
Author: burnus
Date: Fri Aug 24 07:43:23 2012
New Revision: 190641
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190641
Log:
2012-08-24 Tobias Burnus <burnus@net-b.de>
PR fortran/54350
* trans-array.c (free_ss_info): Free data.array.subscript.
(gfc_free_ss): No longer free data.array.subscript.
(walk_coarray): New function, moved from trans-intrinsic.c
(gfc_conv_expr_descriptor): Walk array descriptor instead
of taking passed "ss".
(get_array_ctor_all_strlen, gfc_add_loop_ss_code,
gfc_conv_array_parameter): Update call and cleanup ss handling.
* trans-array.h (gfc_conv_expr_descriptor,
gfc_conv_array_parameter): Update prototype.
* trans-expr.c (gfc_conv_derived_to_class,
conv_isocbinding_procedure, gfc_conv_procedure_call,
gfc_trans_alloc_subarray_assign, gfc_trans_subcomponent_assign,
gfc_trans_pointer_assignment, gfc_trans_arrayfunc_assign): Update
call to gfc_conv_expr_descriptor and gfc_conv_array_parameter,
and clean up.
* trans-intrinsic.c (walk_coarray): Moved to trans-array.c
(trans_this_image, trans_image_index, gfc_conv_intrinsic_rank
gfc_conv_intrinsic_bound, gfc_conv_intrinsic_cobound,
gfc_conv_intrinsic_len, gfc_conv_intrinsic_size,
gfc_conv_intrinsic_sizeof, gfc_conv_intrinsic_storage_size,
gfc_conv_intrinsic_transfer, gfc_conv_allocated,
gfc_conv_associated, gfc_conv_intrinsic_loc,
conv_intrinsic_move_alloc): Update calls.
* trans-io.c (gfc_convert_array_to_string, set_internal_unit,
gfc_trans_transfer): Ditto.
* trans-stmt.c (gfc_conv_elemental_dependencies,
gfc_trans_sync, trans_associate_var,
gfc_trans_pointer_assign_need_temp): Ditto.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-array.c
trunk/gcc/fortran/trans-array.h
trunk/gcc/fortran/trans-expr.c
trunk/gcc/fortran/trans-intrinsic.c
trunk/gcc/fortran/trans-io.c
trunk/gcc/fortran/trans-stmt.c
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-24 07:44:55 UTC ---
FIXED.
Sorry for the breakage, which took a bit longer than expected to fix. At least,
gfortran now leaks much less gfc_ss structs then it did before.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/54350] [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586
2012-08-22 16:25 [Bug fortran/54350] New: [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586 dominiq at lps dot ens.fr
` (2 preceding siblings ...)
2012-08-24 7:44 ` burnus at gcc dot gnu.org
@ 2012-08-24 7:46 ` burnus at gcc dot gnu.org
2012-08-24 7:46 ` burnus at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-08-24 7:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54350
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-24 07:44:55 UTC ---
FIXED.
Sorry for the breakage, which took a bit longer than expected to fix. At least,
gfortran now leaks much less gfc_ss structs then it did before.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-08-24 7:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-22 16:25 [Bug fortran/54350] New: [4.8 Regression] FAIL: gfortran.dg/realloc_on_assign_*.f90 -O (internal compiler error) at r190586 dominiq at lps dot ens.fr
2012-08-22 20:00 ` [Bug fortran/54350] " hp at gcc dot gnu.org
2012-08-22 20:50 ` burnus at gcc dot gnu.org
2012-08-24 7:44 ` burnus at gcc dot gnu.org
2012-08-24 7:46 ` burnus at gcc dot gnu.org
2012-08-24 7:46 ` 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).