This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR41167 - ICE with PACK() and string concatenation


Dear Tobias and Dominique,

No - that is not an acceptable side-effect of the fix.  I missed that
it did that.

I'll fix the simplifier.  I have to confess that the source of the
problem took a long time to find.  A better fix should be much
quicker!

Cheers

Paul

On Sat, Jan 23, 2010 at 3:08 PM, Tobias Burnus <burnus@net-b.de> wrote:
> On 23 January 2010 13:12, Paul Richard Thomas wrote:
>> Herewith a fix for one of our 'serious' PRs. ?It's self-explanatory.
>> Bootstrapped and regtested on FC9/x86_64 - OK for trunk?
>>
> The work-around patch is OK; it has the disadvantage of causing the same
> error printed multiple times (as Dominique noted) and it is not a real
> fix, but it fixes the problem. A proper fix of the simplifier would be
> much better, of cause.
>
> Tobias
>
>> 2010-01-23 ?Paul Thomas ?<pault@gcc.gnu.org>
>>
>> ? ? ? PR fortran/41167
>> ? ? ? * resolve.c (resolve_operator): Try simplification on temporary
>> ? ? ? expression and check type before copying.
>>
>> 2010-01-23 ?Paul Thomas ?<pault@gcc.gnu.org>
>>
>> ? ? ? PR fortran/41167
>> ? ? ? * gfortran.dg/char_array_arg_1.f90 : New test.
>> ? ? ? * gfortran.dg/pr25923.f90 : Remove XFAIL.
>>
>



-- 
The knack of flying is learning how to throw yourself at the ground and miss.
       --Hitchhikers Guide to the Galaxy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]