[patch, fortran] PR32382 missed optimization in internal read - updated

Steven Bosscher stevenb.gcc@gmail.com
Sat Feb 13 21:20:00 GMT 2010


On Sat, Feb 13, 2010 at 9:38 PM, Jerry DeLisle <jvdelisle@verizon.net> wrote:

>        PR fortran/32382
>        * trans-stmt.h: Update function prototype for gfc_trans_code and
>        gfc_trans_do, adding condition tree argument.

How about just adding a new function gfc_trans_code_with_cond as a
wrapper around gfc_trans_code? That way, you don't have to update
gfc_trans_cond everywhere.

And you should add a comment before the function that explains the
function interface (i.e. what does cond mean?).

Ciao!
Steven



More information about the Gcc-patches mailing list