1 Sep 09:36
Re: [Patch, Fortran] PR fortran/37193: USE m, ONLY: i, j => i
Tobias Burnus <burnus <at> net-b.de>
2008-09-01 07:36:44 GMT
2008-09-01 07:36:44 GMT
Daniel Kraft wrote: > Paul Richard Thomas wrote: >> Your patch looks OK Ditto from my side. >> Why does the bit of code in module.c(load_needed).... >> mio_symbol (sym); >> sym->attr.use_assoc = 1; >> if (only_flag) >> sym->attr.use_only = 1; >> if (p->u.rsym.renamed) >> sym->attr.use_rename = 1; >> >> return 1; >> >> not do the job? Is it needed now, with your patch? > If you want I can replace the second initialization (the one in your > snippet) by an assertion and see if the test-suite still passes and if > it does leave the assertion there. I think one should do this: For the trunk, such a patch is OK. For 4.3 I would wait a week or so and add then only the new line without replacing the old lines with the assert. Tobias
Trunk has been
patched for a good while with no problems.
Thanks
Paul
On Mon, Sep 1, 2008 at 8:19 PM, Daniel Kraft <d <at> domob.eu> wrote:
> Tobias Burnus wrote:
>>
>> Daniel Kraft wrote:
>>>
>>> Committed as revision 139866 to trunk. If you want me to fix this on
>>> 4.3, too, you'll have to tell me if there's something I should know for
>>> doing so :) I think I'll have to check-out /branches/gcc-4_3-branch and do
>>> the fix there, too, right? Anything special I should consider?
>>
>> Nothing special, except that one should run "make check-gfortran" there as
>> well. Some people write in the patch's changelog "Backport from mainline:"
>> and then the date line from the mainline check in, but this is not needed
>> (cf. "ChangeLog"s there). And usually we (= gfortraners) wait a week or so
>> before checking into a branch to see whether a regression on the trunk
>> occur. I think your patch is simple enough that one could do without the
>> waiting, but you may prefer to wait still a few days.
>
> Thanks Tobias! I already did a check-gfortran without regressions. I'll
> wait two days or so and check in after that; I'll post here for the check in
RSS Feed