This is the mail archive of the mailing list for the GCC 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: internal compiler error: in fold_convert, at fold-const.c:2036

On Tue, Dec 12, 2006 at 09:37:49AM +0100, Paul Richard Thomas wrote:
> Steve,
> This was just posted to the list - I cannot reply directly because I
> cannot locate the smtp client for the local, open ISP.
> I synchronised trans-types(get_derived_type) in 4.1 to that of 4.2 and
> 4.3 on Sunday, precisely to get rid of such problems.  Apparently that
> was an error.
> If you are in a position to, could you reverse the change, please?  I
> cannot investigate it and still less can I reverse the change.

I've removed Paul Thomas' backport (listed below) from the 4.1 branch
due to a regression reported here:

The removal was accomplished by

svn merge -r 119694:119693
svn revert gcc/testsuite/ChangeLog
svn revert gcc/fortran/ChangeLog  
< Bootstrap and regression tested on x86_64-*-freebsd. >
svn commit .

r119694 | pault | 2006-12-09 09:47:45 -0800 (Sat, 09 Dec 2006) | 55 lines

2006-12-09  Paul Thomas  <>

        Backports from trunk

        PR fortran/29821
        * resolve.c (resolve_operator): Only return result of
        gfc_simplify_expr if expression is constant.

        PR fortran/29912
        * trans-expr.c (gfc_trans_arrayfunc_assign): Return NULL if the
        lhs and rhs character lengths are not constant and equal for
        character array valued functions.

        PR fortran/29916
        * resolve.c (resolve_symbol): Allow host-associated variables
        in the specification expression of an array-valued function.
        * expr.c (check_restricted): Accept host-associated dummy
        array indices.
        PR fortran/30003
        * trans-array.c (gfc_trans_create_temp_array): Set the section
        ends to zero.
        (gfc_conv_section_startstride): Declare an expression for end,
        set it from a the array reference and evaluate it for the info
        structure. Zero the ends in the ss structure and set end, used
        in the bounds check, from the info structure.
        trans.h: Add and end array to the gfc_ss_info structure.

        PR fortran/29820
        * trans-array.c (gfc_get_derived_type): Once done, spread the
        backend_decl to all identical derived types in all sibling

2006-12-09  Paul Thomas  <>

        PR fortran/29821
        * gfortran.dg/parameter_array_section_1.f90: New test.

        PR fortran/29912
        * gfortran.dg/char_result_12.f90: New test.

        PR fortran/29916
        * gfortran.dg/host_dummy_index_1.f90: Added additional test.

        PR fortran/30003
        * gfortran.dg/allocatable_function_1.f90: Increase the number
        of expected calls of free to 10; the lhs section reference is
        now evaluated so there is another call to bar.  Change the
        comment appropriately.
        * gfortran.dg/array_section_1.f90: New test.

        PR fortran/29820
        * gfortran.dg/used_types_13.f90: New test.


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