[Bug fortran/90344] [7 Regression] small code that compiles and runs in 7.3.0 but not 7.4.1

2019-05-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90344

Thomas Koenig  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #4 from Thomas Koenig  ---
Beats me how this became a regression, but at least it is
fixed now.

Thanks for the bug report!

[Bug fortran/90344] [7 Regression] small code that compiles and runs in 7.3.0 but not 7.4.1

2019-05-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90344

--- Comment #3 from Thomas Koenig  ---
Author: tkoenig
Date: Sun May  5 14:01:51 2019
New Revision: 270883

URL: https://gcc.gnu.org/viewcvs?rev=270883=gcc=rev
Log:
2019-05-05  Thomas Koenig  

PR fortran/90344
* frontend-passes.c (create_var): Bring into sync with gcc 8.

2019-05-05  Thomas Koenig 

PR fortran/90344
* gfortran.dg/pr90344.f90: New test


Added:
branches/gcc-7-branch/gcc/testsuite/gfortran.dg/pr90344.f90
Modified:
branches/gcc-7-branch/gcc/fortran/ChangeLog
branches/gcc-7-branch/gcc/fortran/frontend-passes.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog

[Bug fortran/90344] [7 Regression] small code that compiles and runs in 7.3.0 but not 7.4.1

2019-05-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90344

--- Comment #2 from Thomas Koenig  ---
Author: tkoenig
Date: Sun May  5 13:53:24 2019
New Revision: 270882

URL: https://gcc.gnu.org/viewcvs?rev=270882=gcc=rev
Log:
2019-05-05  Thomas Koenig 

PR fortran/90344
* gfortran.dg/pr90344.f90: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/pr90344.f90
Modified:
trunk/gcc/testsuite/ChangeLog

[Bug fortran/90344] [7 Regression] small code that compiles and runs in 7.3.0 but not 7.4.1

2019-05-05 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90344

Thomas Koenig  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |tkoenig at gcc dot 
gnu.org

[Bug fortran/90344] [7 Regression] small code that compiles and runs in 7.3.0 but not 7.4.1

2019-05-05 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90344

Dominique d'Humieres  changed:

   What|Removed |Added

   Priority|P3  |P4
 Status|UNCONFIRMED |NEW
  Known to work||10.0, 7.3.0, 8.3.0, 9.1.0
   Keywords||ice-on-valid-code
   Last reconfirmed||2019-05-05
 CC||tkoenig at gcc dot gnu.org
 Ever confirmed|0   |1
Summary|small code that compiles|[7 Regression] small code
   |and runs in 7.3.0 but not   |that compiles and runs in
   |7.4.1   |7.3.0 but not 7.4.1
  Known to fail||7.4.0

--- Comment #1 from Dominique d'Humieres  ---
Confirmed on 7.4. I did not find any other failing revision.

Workaround: use -fno-frontend-optimize.