public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/95323] New: ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247
@ 2020-05-25 19:46 dcb314 at hotmail dot com
2020-05-25 20:38 ` [Bug fortran/95323] " anlauf at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2020-05-25 19:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95323
Bug ID: 95323
Summary: ice in compute_live_loop_exits, at
tree-ssa-loop-manip.c:247
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
Created attachment 48598
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48598&action=edit
fortran source code
For the attached Fortran code, recent gfortran trunk does this:
$ gfortran -O2 -w -c local.f
during GIMPLE pass: lim
local.f:1:0:
1 | SUBROUTINE LOCAL(C,MDIM,NOCC,EIG)
|
internal compiler error: in compute_live_loop_exits, at
tree-ssa-loop-manip.c:247
0xef51a9 compute_live_loop_exits(bitmap_head*, bitmap_head*, bitmap_head**,
basic_block_def*)
../../trunk.git/gcc/tree-ssa-loop-manip.c:247
0xef51a9 add_exit_phis_var(tree_node*, bitmap_head*, bitmap_head**)
../../trunk.git/gcc/tree-ssa-loop-manip.c:334
0xef51a9 add_exit_phis(bitmap_head*, bitmap_head**, bitmap_head**)
../../trunk.git/gcc/tree-ssa-loop-manip.c:356
0xef51a9 rewrite_into_loop_closed_ssa_1(bitmap_head*, unsigned int, int, loop*)
../../trunk.git/gcc/tree-ssa-loop-manip.c:678
The bug first seems to occur sometime between 20200521 and 20200522
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/95323] ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247
2020-05-25 19:46 [Bug fortran/95323] New: ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247 dcb314 at hotmail dot com
@ 2020-05-25 20:38 ` anlauf at gcc dot gnu.org
2020-05-25 20:43 ` dcb314 at hotmail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-05-25 20:38 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95323
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2020-05-25
Status|UNCONFIRMED |WAITING
--- Comment #1 from anlauf at gcc dot gnu.org ---
local.f90:3: Error: Can't open included file 'SIZES'
Please include everything needed to reproduce.
Are you sure this is a fortran bug, rather than tree-optimization?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/95323] ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247
2020-05-25 19:46 [Bug fortran/95323] New: ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247 dcb314 at hotmail dot com
2020-05-25 20:38 ` [Bug fortran/95323] " anlauf at gcc dot gnu.org
@ 2020-05-25 20:43 ` dcb314 at hotmail dot com
2020-05-25 20:46 ` dcb314 at hotmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2020-05-25 20:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95323
--- Comment #2 from David Binderman <dcb314 at hotmail dot com> ---
Created attachment 48599
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48599&action=edit
Fortran header file
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/95323] ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247
2020-05-25 19:46 [Bug fortran/95323] New: ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247 dcb314 at hotmail dot com
2020-05-25 20:38 ` [Bug fortran/95323] " anlauf at gcc dot gnu.org
2020-05-25 20:43 ` dcb314 at hotmail dot com
@ 2020-05-25 20:46 ` dcb314 at hotmail dot com
2020-05-25 21:28 ` [Bug tree-optimization/95323] " anlauf at gcc dot gnu.org
2020-05-26 7:16 ` marxin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2020-05-25 20:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95323
--- Comment #3 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to anlauf from comment #1)
> local.f90:3: Error: Can't open included file 'SIZES'
>
> Please include everything needed to reproduce.
Done.
> Are you sure this is a fortran bug, rather than tree-optimization?
Not using -O2 makes the code compile, so something in the optimiser
is going wrong, triggered by Fortran source code.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/95323] ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247
2020-05-25 19:46 [Bug fortran/95323] New: ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247 dcb314 at hotmail dot com
` (2 preceding siblings ...)
2020-05-25 20:46 ` dcb314 at hotmail dot com
@ 2020-05-25 21:28 ` anlauf at gcc dot gnu.org
2020-05-26 7:16 ` marxin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: anlauf at gcc dot gnu.org @ 2020-05-25 21:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95323
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |anlauf at gcc dot gnu.org
Component|fortran |tree-optimization
Status|WAITING |NEW
--- Comment #4 from anlauf at gcc dot gnu.org ---
(In reply to David Binderman from comment #3)
> (In reply to anlauf from comment #1)
> > local.f90:3: Error: Can't open included file 'SIZES'
> >
> > Please include everything needed to reproduce.
>
> Done.
>
> > Are you sure this is a fortran bug, rather than tree-optimization?
>
> Not using -O2 makes the code compile, so something in the optimiser
> is going wrong, triggered by Fortran source code.
OK, using -O0, -Og, or -Os makes the code compile, -O1, -O2 or higher ICEs.
This looks fishy.
I'd prefer someone with better middle-end knowledge to look at it.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/95323] ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247
2020-05-25 19:46 [Bug fortran/95323] New: ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247 dcb314 at hotmail dot com
` (3 preceding siblings ...)
2020-05-25 21:28 ` [Bug tree-optimization/95323] " anlauf at gcc dot gnu.org
@ 2020-05-26 7:16 ` marxin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2020-05-26 7:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95323
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |marxin at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed on master with r11-609-g4acca1c0635dfa43.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-05-26 7:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25 19:46 [Bug fortran/95323] New: ice in compute_live_loop_exits, at tree-ssa-loop-manip.c:247 dcb314 at hotmail dot com
2020-05-25 20:38 ` [Bug fortran/95323] " anlauf at gcc dot gnu.org
2020-05-25 20:43 ` dcb314 at hotmail dot com
2020-05-25 20:46 ` dcb314 at hotmail dot com
2020-05-25 21:28 ` [Bug tree-optimization/95323] " anlauf at gcc dot gnu.org
2020-05-26 7:16 ` marxin 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).