From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31418 invoked by alias); 31 Jul 2012 13:48:03 -0000 Received: (qmail 31383 invoked by uid 22791); 31 Jul 2012 13:48:02 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mx02.qsc.de (HELO mx02.qsc.de) (213.148.130.14) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Jul 2012 13:47:48 +0000 Received: from [192.168.178.22] (port-92-204-86-97.dynamic.qsc.de [92.204.86.97]) by mx02.qsc.de (Postfix) with ESMTP id 462362773D; Tue, 31 Jul 2012 15:47:36 +0200 (CEST) Message-ID: <5017E1F6.3050906@net-b.de> Date: Tue, 31 Jul 2012 13:50:00 -0000 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Thomas Koenig CC: "fortran@gcc.gnu.org" , gcc-patches Subject: Re: [patch, fortran] Fix PR 54033, problems with -I, with test cases References: <50117B5D.8030304@netcologne.de> <50118A67.2040702@mentor.com> <5012F4AF.7050807@netcologne.de> <50130F9B.1010300@mentor.com> <5015015F.6070303@netcologne.de> In-Reply-To: <5015015F.6070303@netcologne.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-07/txt/msg01570.txt.bz2 On 07/29/2012 11:24 AM, Thomas Koenig wrote: > here is an updated patch for PR 54033, this time with test cases. > Thanks to Janis for pointing me in the right direction with these. > Regression-tested. OK for trunk? Ok. Thanks for the patch - and to Janis for the first review. Can you eliminate the extra line before "else if"? Tobias > 2012-07-29 Thomas König > > PR fortran/54033 > * scanner.c (add_path_to_list): Emit warning if an error occurs > for an include path, if it is not present or if it is not a > directory. Do not add the path in these cases. > > 2012-07-29 Thomas König > > PR fortran/54033 > * gfortran.dg/include_6.f90: New test case. > * gfortran.dg/include_7.f90: New test case. > * gfortran.dg/include_3.f90: Add dg-warning for missing > directory. > >