From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6070 invoked by alias); 2 Aug 2012 08:54:18 -0000 Received: (qmail 6054 invoked by uid 22791); 2 Aug 2012 08:54:18 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f175.google.com (HELO mail-ob0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Aug 2012 08:54:05 +0000 Received: by obcva7 with SMTP id va7so14575737obc.20 for ; Thu, 02 Aug 2012 01:54:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.131.73 with SMTP id ok9mr34697063obb.19.1343897644516; Thu, 02 Aug 2012 01:54:04 -0700 (PDT) Received: by 10.76.90.71 with HTTP; Thu, 2 Aug 2012 01:54:04 -0700 (PDT) In-Reply-To: <5017E1F6.3050906@net-b.de> References: <50117B5D.8030304@netcologne.de> <50118A67.2040702@mentor.com> <5012F4AF.7050807@netcologne.de> <50130F9B.1010300@mentor.com> <5015015F.6070303@netcologne.de> <5017E1F6.3050906@net-b.de> Date: Thu, 02 Aug 2012 08:54:00 -0000 Message-ID: Subject: Re: [patch, fortran] Fix PR 54033, problems with -I, with test cases From: Richard Guenther To: Tobias Burnus Cc: Thomas Koenig , "fortran@gcc.gnu.org" , gcc-patches Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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-08/txt/msg00074.txt.bz2 On Tue, Jul 31, 2012 at 3:47 PM, Tobias Burnus wrote: > 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"? Seems to break testing, all testcases emit Warning: Nonexistent include directory "finclude"^M now and thus all testcases fail like FAIL: gfortran.dg/alloc_comp_basics_1.f90 -O0 (test for excess errors) Richard. > Tobias > > >> 2012-07-29 Thomas K=F6nig >> >> 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=F6nig >> >> 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. >> >> >