[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

Martin Liška  changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2016-07-08
 CC||marxin at gcc dot gnu.org
   Target Milestone|--- |5.5
Summary|Internal compiler error |[5/6/7 Regression] Internal
   |with NULL() reference in|compiler error with NULL()
   |structure constructor   |reference in structure
   ||constructor
 Ever confirmed|0   |1

--- Comment #1 from Martin Liška  ---
Confirmed, it's a regression since GCC 5.

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org,
   ||vehre at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek  ---
Started with r219801.

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P4

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-14 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

vehre at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |WAITING
   Assignee|unassigned at gcc dot gnu.org  |vehre at gcc dot gnu.org

--- Comment #3 from vehre at gcc dot gnu.org ---
Patch available at

https://gcc.gnu.org/ml/fortran/2016-07/msg00065.html

Waiting for review.

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-15 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

--- Comment #4 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Fri Jul 15 09:28:47 2016
New Revision: 238368

URL: https://gcc.gnu.org/viewcvs?rev=238368&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2016-07-15  Andre Vehreschild  

PR fortran/71807
* trans-expr.c (gfc_trans_subcomponent_assign): Special casing
when allocatable component is set to null() in initializer.

gcc/testsuite/ChangeLog:

2016-07-15  Andre Vehreschild  

PR fortran/71807
* gfortran.dg/null_9.f90: New test.



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

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-15 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

--- Comment #5 from vehre at gcc dot gnu.org ---
Waiting one week for regression reports before applying to gcc-*-branches.

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-22 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

--- Comment #6 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Fri Jul 22 15:14:53 2016
New Revision: 238649

URL: https://gcc.gnu.org/viewcvs?rev=238649&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2016-07-22  Andre Vehreschild  

Backported from trunk:
PR fortran/71807
* trans-expr.c (gfc_trans_subcomponent_assign): Special casing
when allocatable component is set to null() in initializer.

gcc/testsuite/ChangeLog:

2016-07-22  Andre Vehreschild  

Backported from trunk:
PR fortran/71807
* gfortran.dg/null_9.f90: New test.



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

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-22 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

--- Comment #7 from vehre at gcc dot gnu.org ---
Author: vehre
Date: Fri Jul 22 15:21:10 2016
New Revision: 238650

URL: https://gcc.gnu.org/viewcvs?rev=238650&root=gcc&view=rev
Log:
gcc/fortran/ChangeLog:

2016-07-22  Andre Vehreschild  

Backported from trunk:
PR fortran/71807
* trans-expr.c (gfc_trans_subcomponent_assign): Special casing
when allocatable component is set to null() in initializer.

gcc/testsuite/ChangeLog:

2016-07-22  Andre Vehreschild  

Backported from trunk:
PR fortran/71807
* gfortran.dg/null_9.f90: New test.



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

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-07-22 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

--- Comment #8 from vehre at gcc dot gnu.org ---
Waiting one week for regressions before closing.

[Bug fortran/71807] [5/6/7 Regression] Internal compiler error with NULL() reference in structure constructor

2016-08-04 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71807

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #9 from Dominique d'Humieres  ---
> Waiting one week for regressions before closing.

So closing.