https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
Jakub Jelinek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #17 from Jakub Jelinek ---
Author: jakub
Date: Sat Dec 8 13:37:49 2018
New Revision: 266907
URL: https://gcc.gnu.org/viewcvs?rev=266907=gcc=rev
Log:
PR fortran/88304
* tree-nested.c (convert_local_reference_stmt):
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
Jakub Jelinek changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #15 from Harald Anlauf ---
(In reply to Jakub Jelinek from comment #14)
> Author: jakub
> Date: Thu Dec 6 10:28:31 2018
> New Revision: 266847
>
> URL: https://gcc.gnu.org/viewcvs?rev=266847=gcc=rev
This fixes the original
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #14 from Jakub Jelinek ---
Author: jakub
Date: Thu Dec 6 10:28:31 2018
New Revision: 266847
URL: https://gcc.gnu.org/viewcvs?rev=266847=gcc=rev
Log:
PR fortran/88304
* tree-nested.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #13 from Jakub Jelinek ---
Created attachment 45158
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45158=edit
gcc9-pr88304.patch
Untested fix for the tree-nested.c bug, handles it like we handle it in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #12 from rguenther at suse dot de ---
On Wed, 5 Dec 2018, rguenther at suse dot de wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
>
> --- Comment #11 from rguenther at suse dot de ---
> On Wed, 5 Dec 2018, jakub at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #11 from rguenther at suse dot de ---
On Wed, 5 Dec 2018, jakub at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
>
> --- Comment #10 from Jakub Jelinek ---
> And lastly, what tree-nested.c does in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #10 from Jakub Jelinek ---
And lastly, what tree-nested.c does in cases which don't really fail is pretty
weird:
module pr88304
implicit none
contains
subroutine f1 (x)
integer, intent(out) :: x
x = 5
end subroutine f1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #9 from Jakub Jelinek ---
I'll fix the tree-nested.c issue, but I'm wondering about the clobber. E.g.
for
module pr88304
implicit none
type t
integer :: b = -1
integer :: c = 2
end type t
contains
subroutine f1 (x)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #8 from Jakub Jelinek ---
Reduced testcase:
module pr88304
implicit none
type t
integer :: b = -1
end type t
contains
subroutine f1 (x)
integer (kind = 4), intent(out) :: x
x = 5
end subroutine f1
subroutine
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #7 from Harald Anlauf ---
(In reply to kargl from comment #6)
> (In reply to Harald Anlauf from comment #5)
> >
> > A derived type with component initialization (like t_fileinfo) should
> > implicitly get the SAVE attribute, which
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #6 from kargl at gcc dot gnu.org ---
(In reply to Harald Anlauf from comment #5)
>
> A derived type with component initialization (like t_fileinfo) should
> implicitly get the SAVE attribute, which appears to be lost here.
> Adding
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #5 from Harald Anlauf ---
(In reply to Richard Biener from comment #4)
> Confirmed. We do not expect
>
> CHAIN.10->gattr = {CLOBBER};
>
> I believe the FE inserts these now to better share stack slots:
Thanks for pointing to the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
Richard Biener changed:
What|Removed |Added
Status|WAITING |NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #3 from Harald Anlauf ---
Created attachment 45147
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45147=edit
Minimal netcdf-fortran part for the reproducer
Compile the netcdf.f90 header before the testcase.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
Dominique d'Humieres changed:
What|Removed |Added
Keywords||ice-on-valid-code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
Richard Biener changed:
What|Removed |Added
CC||rguenth at gcc dot gnu.org
Target
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88304
--- Comment #1 from Harald Anlauf ---
No special options used, just:
% gfc-trunk -c -I/opt/gcc/9/pkg/netcdf/include gfcbug152.f90
(where above path hold the gfortran-9 specific netcdf.mod & friends).
19 matches
Mail list logo