This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/80142] [7 Regression] Warning: No location in expression ... with -O / -ffrontend-optimize


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80142

--- Comment #3 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Author: tkoenig
Date: Wed Mar 22 15:20:17 2017
New Revision: 246388

URL: https://gcc.gnu.org/viewcvs?rev=246388&root=gcc&view=rev
Log:
2017-03-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/80142
        * frontend-passes.c (combine_array_constructor): Take
        location of new expression from constructor expression instead
        of constructor.

2017-03-22  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/80142
        * gfortran.dg/any_loc.f90: New test case.


Added:
    trunk/gcc/testsuite/gfortran.dg/any_loc.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/frontend-passes.c
    trunk/gcc/testsuite/ChangeLog

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]