This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RTEMS FORTRAN Pattern Failures
- From: Andreas Schwab <schwab at suse dot de>
- To: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>, Tobias Burnus <burnus at net-b dot de>
- Date: Mon, 12 Jan 2015 19:39:13 +0100
- Subject: Re: RTEMS FORTRAN Pattern Failures
- Authentication-results: sourceware.org; auth=none
- References: <54B3F33D dot 7030207 at oarcorp dot com> <mvmy4p855dh dot fsf at hawking dot suse dot de> <54B3FAD5 dot 3080709 at oarcorp dot com>
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."