[Bug fortran/78297] ICE in finish_equivalences, at fortran/trans-common.c:1246

2016-11-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78297

kargl at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |5.5

--- Comment #6 from kargl at gcc dot gnu.org ---
Fixed on 5-branch, 6-branch, and trunk.

[Bug fortran/78297] ICE in finish_equivalences, at fortran/trans-common.c:1246

2016-11-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78297

--- Comment #5 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Wed Nov 23 22:48:54 2016
New Revision: 242811

URL: https://gcc.gnu.org/viewcvs?rev=242811&root=gcc&view=rev
Log:
2016-11-23  Steven G. Kargl  

PR fortran/78297
* trans-common.c (finish_equivalences): Do not dereference a NULL
pointer.

2016-11-23  Steven G. Kargl  

PR fortran/78297
* gfortran.dg/pr78297.f90: New test.

Added:
branches/gcc-5-branch/gcc/testsuite/gfortran.dg/pr78297.f90
Modified:
branches/gcc-5-branch/gcc/fortran/ChangeLog
branches/gcc-5-branch/gcc/fortran/trans-common.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog

[Bug fortran/78297] ICE in finish_equivalences, at fortran/trans-common.c:1246

2016-11-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78297

--- Comment #4 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Wed Nov 23 22:16:53 2016
New Revision: 242806

URL: https://gcc.gnu.org/viewcvs?rev=242806&root=gcc&view=rev
Log:
2016-11-23  Steven G. Kargl  

PR fortran/78297
* trans-common.c (finish_equivalences): Do not dereference a NULL
pointer.

2016-11-23  Steven G. Kargl  

PR fortran/78297
* gfortran.dg/pr78297.f90: New test.

Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/pr78297.f90
Modified:
branches/gcc-6-branch/gcc/fortran/ChangeLog
branches/gcc-6-branch/gcc/fortran/trans-common.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog

[Bug fortran/78297] ICE in finish_equivalences, at fortran/trans-common.c:1246

2016-11-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78297

--- Comment #3 from kargl at gcc dot gnu.org ---
Author: kargl
Date: Wed Nov 23 21:44:05 2016
New Revision: 242802

URL: https://gcc.gnu.org/viewcvs?rev=242802&root=gcc&view=rev
Log:
2016-11-23  Steven G. Kargl  

PR fortran/78297
* trans-common.c (finish_equivalences): Do not dereference a NULL
pointer.

2016-11-23  Steven G. Kargl  

PR fortran/78297
* gfortran.dg/pr78297.f90: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/pr78297.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-common.c
trunk/gcc/testsuite/ChangeLog

[Bug fortran/78297] ICE in finish_equivalences, at fortran/trans-common.c:1246

2016-11-10 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78297

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-11-10
 Ever confirmed|0   |1

--- Comment #2 from Dominique d'Humieres  ---
Confirmed from 4.8 up to trunk (7.0).

[Bug fortran/78297] ICE in finish_equivalences, at fortran/trans-common.c:1246

2016-11-10 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78297

--- Comment #1 from Gerhard Steinmetz  
---

Compiles with both items in common block.


$ cat z2.f90
module m
   real :: a(2), b(2)
   real :: c(2), d(2)
   equivalence (a, b)
   equivalence (c, d)
   common /xcom/ a, c
end
block data
   use m
end block data