[Bug fortran/21918] Warnings about unused variables should point to the declaration

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Sep 18 06:25:00 GMT 2006



------- Comment #5 from pault at gcc dot gnu dot org  2006-09-18 06:25 -------
Subject: Bug 21918

Author: pault
Date: Mon Sep 18 06:24:54 2006
New Revision: 117014

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117014
Log:
2006-09-18  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29060
        * iresolve.c (resolve_spread): Build shape for result if the
        source shape is available and dim and ncopies are constants.

        PR fortran/28817
        PR fortran/21918
        * trans-decl.c (generate_local_decl): Change from 'warning' to
        'gfc_warning' to have line numbers correctly reported.

2006-09-18  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/29060
        * gfortran.dg/spread_shape_1.f90: New test.

Added:
    trunk/gcc/testsuite/gfortran.dg/spread_shape_1.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/iresolve.c
    trunk/gcc/fortran/trans-decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21918



More information about the Gcc-bugs mailing list