This is the mail archive of the gcc-patches@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]

Re: [patch, fortran] Fix PR 54033, problems with -I, with test cases


On Tue, Jul 31, 2012 at 3:47 PM, Tobias Burnus <burnus@net-b.de> 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önig  <tkoenig@gcc.gnu.org>
>>
>>         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  <tkoenig@gcc.gnu.org>
>>
>>         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.
>>
>>
>


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