This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: internal compiler error: in fold_convert, at fold-const.c:2036
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Paul Richard Thomas <paul dot richard dot thomas at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Wed, 13 Dec 2006 14:49:07 -0800
- Subject: Re: internal compiler error: in fold_convert, at fold-const.c:2036
- References: <339c37f20612120037x306f4738i8e16d9d37716c382@mail.gmail.com>
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:
http://gcc.gnu.org/ml/fortran/2006-12/msg00192.html
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 <pault@gcc.gnu.org>
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
namespaces.
2006-12-09 Paul Thomas <pault@gcc.gnu.org>
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.
--
Steve