--- Comment #29 from paul dot richard dot thomas at cea dot fr 2006-09-04
10:31 ---
Created an attachment (id=12183)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12183action=view)
Fix for HJ's problems
HJ,
Could you try this one, please? I am pretty certain it will do the job.
--- Comment #30 from hjl at lucon dot org 2006-09-04 17:39 ---
Gcc 4.2.0 revision 116560 plus the patch in comment #29 fixes this regression
and passes SPEC CPU 2006. Thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28908
--- Comment #31 from paulthomas2 at wanadoo dot fr 2006-09-04 17:48 ---
Subject: Re: [4.1/4.2 Regression]: fold_convert fails
for Fortran operator
hjl at lucon dot org wrote:
--- Comment #30 from hjl at lucon dot org 2006-09-04 17:39 ---
Gcc 4.2.0 revision 116560 plus the
--- Comment #32 from howarth at nitro dot med dot uc dot edu 2006-09-04
18:58 ---
Paul,
FYI, between the changes in the proposed patch here and others in gcc trunk
to gfortran.h, resolve.c and trans-types.c, the proposed patch for PR 20541
needs to be readjusted again.
--- Comment #33 from paulthomas2 at wanadoo dot fr 2006-09-04 20:33 ---
Subject: Re: [4.1/4.2 Regression]: fold_convert fails
for Fortran operator
Jack,
I know *sigh* First I have to fix that which was working that I
broke. Then I will fix that which was neither broken nor
--- Comment #34 from pault at gcc dot gnu dot org 2006-09-05 04:26 ---
Subject: Bug 28908
Author: pault
Date: Tue Sep 5 04:26:10 2006
New Revision: 116690
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116690
Log:
2006-09-05 Paul Thomas [EMAIL PROTECTED]
PR
--- Comment #35 from pault at gcc dot gnu dot org 2006-09-05 04:30 ---
Subject: Bug 28908
Author: pault
Date: Tue Sep 5 04:29:56 2006
New Revision: 116691
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=116691
Log:
2006-09-05 Paul Thomas [EMAIL PROTECTED]
PR
--- Comment #36 from pault at gcc dot gnu dot org 2006-09-05 04:32 ---
Closed, at last!
Thanks everybody.
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #22 from paul dot richard dot thomas at cea dot fr 2006-09-01
08:11 ---
Created an attachment (id=12166)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12166action=view)
A partial reversion to the previous method of type association.
This regests OK on trunk and fixes
--- Comment #23 from patchapp at dberlin dot org 2006-09-01 09:10 ---
Subject: Bug number PR28908
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-09/msg8.html
--
--- Comment #24 from pault at gcc dot gnu dot org 2006-09-01 15:32 ---
Fix posted - I await your goahead, HJ.
Paul
--
pault at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #25 from hjl at lucon dot org 2006-09-01 15:47 ---
I am not sure if the patch is correct. I got
[EMAIL PROTECTED] build_base_o2.]$ /usr/gcc-4.2/bin/gfortran -c -o
module_integrate.fppized.o -I. -I./netcdf/include -O2 -ffast-math
-DSPEC_CPU_LINUX
--- Comment #26 from hjl at lucon dot org 2006-09-01 16:10 ---
Here is a testcase:
[EMAIL PROTECTED] wrf-1]$ cat bad.f90
module bar
implicit none
public
type domain_ptr
type(domain), POINTER :: ptr
end type domain_ptr
type domain
TYPE(domain_ptr) , DIMENSION( : ) ,
--- Comment #27 from paulthomas2 at wanadoo dot fr 2006-09-01 17:24 ---
Subject: Re: [4.1/4.2 Regression]: fold_convert fails
for Fortran operator
HJ,
I might be slow but I get there... what has been plaguing me all week is
doing the development under Cygwin. I just realised that
--- Comment #28 from hjl at lucon dot org 2006-09-01 17:34 ---
If you are using Intel Centrino notebook, there is an open source driver for
wireless from Intel.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28908
--- Comment #12 from hjl at lucon dot org 2006-08-31 16:57 ---
It also fails with gcc 4.1 revision 116602.
--
hjl at lucon dot org changed:
What|Removed |Added
--- Comment #13 from paulthomas2 at wanadoo dot fr 2006-08-31 17:41 ---
Subject: Re: [4.1/4.2 Regression]: fold_convert fails
for Fortran operator
hjl at lucon dot org wrote:
--- Comment #12 from hjl at lucon dot org 2006-08-31 16:57 ---
It also fails with gcc 4.1 revision
--- Comment #14 from hjl at lucon dot org 2006-08-31 18:08 ---
I don't think it is specific to operator. I got the same failure with function:
[EMAIL PROTECTED] wrf-1]$ cat yyy.f90
! { dg-do compile }
! Tests the fix for a further regression caused by the
! fix for PR28788 and posted as
--- Comment #15 from hjl at lucon dot org 2006-08-31 18:11 ---
I think the issue may be that gfc_get_derived_type creates a new TREE_TYPE for
the same type when there is an existing one. type1 == type2 no longer
works when type1 and type2 have different memory locations even if they are
--- Comment #16 from paulthomas2 at wanadoo dot fr 2006-08-31 18:20 ---
Subject: Re: [4.1/4.2 Regression]: fold_convert fails
for Fortran operator
HJ
Yes, I think that function interfaces in general are of the same
horrible kind.
Thanks
Paul
--
--- Comment #17 from hjl at lucon dot org 2006-08-31 18:28 ---
The previous gfc_get_derived_type tries to reuse the same TREE_TYPE:
/* In a module, if an equal derived type is already available in the
specification block, use its backend declaration and those of its
--- Comment #18 from paulthomas2 at wanadoo dot fr 2006-08-31 18:41 ---
Subject: Re: [4.1/4.2 Regression]: fold_convert fails
for Fortran operator
hjl,
--- Comment #17 from hjl at lucon dot org 2006-08-31 18:28 ---
The previous gfc_get_derived_type tries to reuse the same
--- Comment #19 from hjl at lucon dot org 2006-08-31 21:00 ---
The new patch works for the testcase. But wrf still fails:
[EMAIL PROTECTED] build_base_o2.]$ /usr/gcc-4.2/bin/gfortran -c -o
ESMF_Clock.fppized.o -I. -I./netcdf/include -O2 -ffast-math
-DSPEC_CPU_LINUX
--- Comment #20 from hjl at lucon dot org 2006-08-31 22:24 ---
Here it is:
[EMAIL PROTECTED] wrf-1]$ cat zzz.f90
module bar
implicit none
public
type ESMF_Time
sequence
integer :: MM
end type
public operator (+)
private add
interface operator (+)
module procedure
--- Comment #21 from paulthomas2 at wanadoo dot fr 2006-09-01 04:58 ---
Subject: Re: [4.1/4.2 Regression]: fold_convert fails
for Fortran operator
hjl at lucon dot org wrote:
Thanks HJ. It seems that I am going to have to revert this one; I have
spent way too much time on it and
25 matches
Mail list logo