[Bug fortran/92587] [9/10/11 Regression] Compiler is unable to generate finalization wrapper

2021-01-06 Thread liakhdi at ornl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587

--- Comment #17 from DIL  ---
Thanks for fixing this!

[Bug fortran/92587] [9/10/11 Regression] Compiler is unable to generate finalization wrapper

2021-01-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587

Tobias Burnus  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||burnus at gcc dot gnu.org
 Resolution|--- |FIXED

--- Comment #16 from Tobias Burnus  ---
FIXED for (upcoming) GCC 11 and on the GCC 9 + 10 branches.

Thanks for the report – and sorry for the long delay.

[Bug fortran/92587] [9/10/11 Regression] Compiler is unable to generate finalization wrapper

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587

--- Comment #15 from CVS Commits  ---
The releases/gcc-9 branch has been updated by Tobias Burnus
:

https://gcc.gnu.org/g:b7be64f9079dee9f326c791bcec1897047ae0de5

commit r9-9150-gb7be64f9079dee9f326c791bcec1897047ae0de5
Author: Tobias Burnus 
Date:   Thu Dec 17 10:39:09 2020 +0100

Fortran: Delay vtab generation until after parsing [PR92587]

gcc/fortran/ChangeLog:

PR fortran/92587
* match.c (gfc_match_assignment): Move gfc_find_vtab call from here
...
* resolve.c (gfc_resolve_code): ... to here.

gcc/testsuite/ChangeLog:

PR fortran/92587
* gfortran.dg/finalize_37.f90: New test.

(cherry picked from commit ba9fa684053917a07bfa8f4742da0e196e72b9a2)

[Bug fortran/92587] [9/10/11 Regression] Compiler is unable to generate finalization wrapper

2021-01-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587

--- Comment #14 from CVS Commits  ---
The releases/gcc-10 branch has been updated by Tobias Burnus
:

https://gcc.gnu.org/g:6f3f06e431c181d3e51d31f49a2bf0be2944ae93

commit r10-9199-g6f3f06e431c181d3e51d31f49a2bf0be2944ae93
Author: Tobias Burnus 
Date:   Thu Dec 17 10:39:09 2020 +0100

Fortran: Delay vtab generation until after parsing [PR92587]

gcc/fortran/ChangeLog:

PR fortran/92587
* match.c (gfc_match_assignment): Move gfc_find_vtab call from here
...
* resolve.c (gfc_resolve_code): ... to here.

gcc/testsuite/ChangeLog:

PR fortran/92587
* gfortran.dg/finalize_37.f90: New test.

(cherry picked from commit ba9fa684053917a07bfa8f4742da0e196e72b9a2)

[Bug fortran/92587] [9/10/11 Regression] Compiler is unable to generate finalization wrapper

2020-12-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92587

--- Comment #13 from CVS Commits  ---
The master branch has been updated by Tobias Burnus :

https://gcc.gnu.org/g:ba9fa684053917a07bfa8f4742da0e196e72b9a2

commit r11-6194-gba9fa684053917a07bfa8f4742da0e196e72b9a2
Author: Tobias Burnus 
Date:   Thu Dec 17 10:39:09 2020 +0100

Fortran: Delay vtab generation until after parsing [PR92587]

gcc/fortran/ChangeLog:

PR fortran/92587
* match.c (gfc_match_assignment): Move gfc_find_vtab call from here
...
* resolve.c (gfc_resolve_code): ... to here.

gcc/testsuite/ChangeLog:

PR fortran/92587
* gfortran.dg/finalize_37.f90: New test.