public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Daniel Carrera <dcarrera@gmail.com>
To: Tobias Burnus <burnus@net-b.de>
Cc: gfortran <fortran@gcc.gnu.org>, gcc-patches@gcc.gnu.org
Subject: Re: [PATCH, Fortran] (Coarray) Change declaration of CAF sync functions.
Date: Fri, 10 Jun 2011 11:41:00 -0000	[thread overview]
Message-ID: <4DF1FFE3.7070400@gmail.com> (raw)
In-Reply-To: <4DF1F0A0.6020804@net-b.de>

On 06/10/2011 12:23 PM, Tobias Burnus wrote:
>> + /* SYNC ALL => stat == null_pointer_node
>> + SYNC ALL(stat=s) => stat has an integer type
>> +
>> + If "stat" has the wrong integer type, use a temp variable of
>> + the right type and later cast the result back into "stat". */
>
> Intending: The last two lines were space instead of tab-space indented.
> Additionally, I think you editor automatically indents lines, which
> causes tailing whitespace in (otherwise) empty lines. I remove those
> (trans-expr.c, mpi.c).


It's partly the editor and partly me. I like empty lines to have the 
same indentation as the code and it didn't occur to me that other people 
might not like it.

I'll try to be mindful to not have trailing whitespace in empty lines.


>> sync_1.f90:
>>
>> ! { dg-do run }
>> ! { dg-shouldfail "error stop" }
>
> As the ERROR STOP has been removed, the test no longer fails. Hence,
> also the "dg-shouldfail" has to be removed.

Ooops.



> It is a frequent problem that one forgets to run the new test cases
> through the testing system, leading to such failures. Or if one did, one
> forgets to do it again after some "trivial" test-case change. ;-)

I thought that I *couldn't* run this test through the test system 
because mpi.c is not currently compiled. I thought the only way to run 
the test for now was to do it manually like I did this week.

Well, now I know. Thanks.


> With those changes, the patch is OK. I have now committed the patch as
> Rev. 174896.
>
> Congratulation to your first GCC patch!

WHOO HOO!!!  \o/

-- 
I'm not overweight, I'm undertall.

      reply	other threads:[~2011-06-10 11:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10  9:58 Daniel Carrera
2011-06-10 11:04 ` Tobias Burnus
2011-06-10 11:41   ` Daniel Carrera [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF1FFE3.7070400@gmail.com \
    --to=dcarrera@gmail.com \
    --cc=burnus@net-b.de \
    --cc=fortran@gcc.gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).