This is the mail archive of the gcc@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: RTEMS FORTRAN Pattern Failures


Joel Sherrill <joel.sherrill@oarcorp.com> writes:

> On 1/12/2015 10:30 AM, Andreas Schwab wrote:
>> Joel Sherrill <joel.sherrill@oarcorp.com> writes:
>>
>>> FAIL: gfortran.dg/g77/f77-edit-x-out.f  -Os  output pattern test, is 1 2  3
>>> 1 2  3
>>>
>>> , should match ^1 2  3(
>>> |
>>> |)1 2  3(
>>> |
>>> |)$
>> Where is the \r gone?  The pattern has (\n|\r\n|\r).
> I am not exactly sure what you mean but when I run the test

There is a \r missing inside the paren subexpressions of the pattern as
written in the log file, so that it can no longer match \r\n from the
output.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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