This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RTEMS FORTRAN Pattern Failures
- From: Joel Sherrill <joel dot sherrill at oarcorp dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>, Tobias Burnus <burnus at net-b dot de>
- Date: Mon, 12 Jan 2015 10:48:21 -0600
- 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>
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
by itself from the command and redirect the output to a file,
this is what the output looks like:
0000000 2031 2032 3320 0a0d 2031 2032 3320 0a0d
0000000 1 2 3 \r \n 1 2 3 \r \n
0000010 0a0d 2a2a 202a 5845 5449 6320 646f 2065
0000010 \r \n * * * E X I T c o d e
0000020 0d30 000a
0000020 0 \r \n
0000023
It looks like we have \r\n at the end of each line.
Is it possible it is not CR/LF but the EXIT code message confusing the
pattern?
> Andreas.
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985