[Bug fortran/82814] ICE from submodule character function

2018-02-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|NEW |WAITING
  Known to work||8.0

--- Comment #5 from Dominique d'Humieres  ---
Any plan to back port the fix or should this PR be closed?

[Bug fortran/82814] ICE from submodule character function

2017-11-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2017-11-03
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres  ---
Also confirmed on trunk (8.0). Compiling the code with an instrumented compiler
gives

../../work/gcc/tree.h:3201:28: runtime error: member access within null pointer
of type 'union tree_node'

[Bug fortran/82814] ICE from submodule character function

2017-11-15 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814

Paul Thomas  changed:

   What|Removed |Added

 CC||pault at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |pault at gcc dot gnu.org

--- Comment #2 from Paul Thomas  ---
I'll take it.

Paul

[Bug fortran/82814] ICE from submodule character function

2017-11-17 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814

--- Comment #3 from Paul Thomas  ---
Created attachment 42638
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42638&action=edit
Fix for the bug

This fixes the bug. However, I will wait until PR78990 is out of the way before
submitting

Cheers

Paul

[Bug fortran/82814] ICE from submodule character function

2017-11-23 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814

--- Comment #4 from Paul Thomas  ---
Author: pault
Date: Thu Nov 23 09:52:04 2017
New Revision: 255094

URL: https://gcc.gnu.org/viewcvs?rev=255094&root=gcc&view=rev
Log:
2017-11-23  Paul Thomas  

PR fortran/82814
* trans-types.c (gfc_sym_type): If a character function result
is missing the charlen backend_decl, use the one from the name-
space procedure symbol, if present.

2017-11-23  Paul Thomas  

PR fortran/82814
* gfortran.dg/submodule_31.f08: New test.


Added:
trunk/gcc/testsuite/gfortran.dg/submodule_31.f08
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-types.c
trunk/gcc/testsuite/ChangeLog

[Bug fortran/82814] ICE from submodule character function

2018-05-17 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814

--- Comment #6 from Paul Thomas  ---
Author: pault
Date: Thu May 17 15:17:43 2018
New Revision: 260324

URL: https://gcc.gnu.org/viewcvs?rev=260324&root=gcc&view=rev
Log:
2017-05-17  Paul Thomas  

PR fortran/82814
* gfortran.dg/submodule_31.f08: New test.


Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/submodule_31.f08
Modified:
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug fortran/82814] ICE from submodule character function

2018-05-17 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814

--- Comment #7 from Paul Thomas  ---
Author: pault
Date: Thu May 17 15:31:42 2018
New Revision: 260325

URL: https://gcc.gnu.org/viewcvs?rev=260325&root=gcc&view=rev
Log:
2017-05-17  Paul Thomas  

PR fortran/82814
* gfortran.dg/submodule_31.f08: New test.


Added:
branches/gcc-6-branch/gcc/testsuite/gfortran.dg/submodule_31.f08
Modified:
branches/gcc-6-branch/gcc/testsuite/ChangeLog

[Bug fortran/82814] ICE from submodule character function

2018-05-17 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814

Paul Thomas  changed:

   What|Removed |Added

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

--- Comment #8 from Paul Thomas  ---
The PR was already fixed on 6- and 7-branches in the course of fixing another
bug. All that was needed was the testcase.

Thanks for the report.

Paul