[Bug fortran/37469] invalid GMP usage on gfortran.dg/parameter_array_init_3.f90

2009-01-01 Thread danglin at gcc dot gnu dot org


--- Comment #11 from danglin at gcc dot gnu dot org  2009-01-01 17:43 
---
Subject: Bug 37469

Author: danglin
Date: Thu Jan  1 17:42:00 2009
New Revision: 142995

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142995
Log:
PR fortran/38675
Backport from mainline:
2008-12-09  Mikael Morin  mikael.mo...@tele2.fr

PR fortran/37469
* expr.c (find_array_element): Simplify array bounds.
Assert that both bounds are constant expressions.

2008-10-31  Mikael Morin  mikael.mo...@tele2.fr

* expr.c (gfc_reduce_init_expr): New function, containing checking code
from gfc_match_init_expr, so that checking can be deferred. 
(gfc_match_init_expr): Use gfc_reduce_init_expr.
* match.h (gfc_reduce_init_expr): Prototype added. 


Modified:
branches/gcc-4_3-branch/gcc/fortran/ChangeLog
branches/gcc-4_3-branch/gcc/fortran/expr.c
branches/gcc-4_3-branch/gcc/fortran/match.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37469



[Bug fortran/37469] invalid GMP usage on gfortran.dg/parameter_array_init_3.f90

2008-12-21 Thread mikael at gcc dot gnu dot org


--- Comment #10 from mikael at gcc dot gnu dot org  2008-12-21 15:35 ---
(In reply to comment #9)
 (In reply to comment #7)
  Fixed as of revision 142610.
 Wait a bit before closing, I plan to backport to 4.3.
... And of course I forgot. :-S
There is no gfc_reduce_init_expr function in 4.3, so the patch won't work there
as is. 
As 4.4 is going to be released soon, I don't think backporting is worth the
bother. 
I'm closing without backporting.
Sorry for the noise.


-- 

mikael at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37469



[Bug fortran/37469] invalid GMP usage on gfortran.dg/parameter_array_init_3.f90

2008-12-10 Thread jvdelisle at gcc dot gnu dot org


--- Comment #8 from jvdelisle at gcc dot gnu dot org  2008-12-10 13:45 
---
Confirmed fix on ppc64-linux


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37469



[Bug fortran/37469] invalid GMP usage on gfortran.dg/parameter_array_init_3.f90

2008-12-10 Thread mikael at gcc dot gnu dot org


--- Comment #9 from mikael at gcc dot gnu dot org  2008-12-10 14:02 ---
(In reply to comment #7)
 Fixed as of revision 142610.
Wait a bit before closing, I plan to backport to 4.3.


-- 

mikael at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37469



[Bug fortran/37469] invalid GMP usage on gfortran.dg/parameter_array_init_3.f90

2008-12-09 Thread mikael at gcc dot gnu dot org


--- Comment #6 from mikael at gcc dot gnu dot org  2008-12-09 19:22 ---
Subject: Bug 37469

Author: mikael
Date: Tue Dec  9 19:20:18 2008
New Revision: 142606

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=142606
Log:
2008-12-09  Mikael Morin  [EMAIL PROTECTED]

PR fortran/37469
* expr.c (find_array_element): Simplify array bounds.
Assert that both bounds are constant expressions.


Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/expr.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37469



[Bug fortran/37469] invalid GMP usage on gfortran.dg/parameter_array_init_3.f90

2008-12-09 Thread mikael at gcc dot gnu dot org


-- 

mikael at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |mikael at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2008-11-30 09:04:20 |2008-12-09 19:31:30
   date||
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37469



[Bug fortran/37469] invalid GMP usage on gfortran.dg/parameter_array_init_3.f90

2008-12-09 Thread hjl dot tools at gmail dot com


--- Comment #7 from hjl dot tools at gmail dot com  2008-12-10 00:13 ---
Fixed as of revision 142610.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37469



[Bug fortran/37469] Invalid GMP usage on gfortran.dg/parameter_array_init_3.f90

2008-11-30 Thread ebotcazou at gcc dot gnu dot org


--- Comment #4 from ebotcazou at gcc dot gnu dot org  2008-11-30 09:04 
---
Visible on SPARC 64-bit.  IMHO this is serious and should be fixed for 4.4.0.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu dot
   ||org
   Severity|normal  |major
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-11-30 09:04:20
   date||
Summary|Invalid GMP usage   |Invalid GMP usage on
   ||gfortran.dg/parameter_array_
   ||init_3.f90


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37469



[Bug fortran/37469] invalid GMP usage on gfortran.dg/parameter_array_init_3.f90

2008-11-30 Thread ebotcazou at gcc dot gnu dot org


--- Comment #5 from ebotcazou at gcc dot gnu dot org  2008-11-30 09:37 
---
 Visible on SPARC 64-bit.

And IA-64, s390x, x86_64-darwin, etc.  So almost all 64-bit platforms.


-- 

ebotcazou at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|Invalid GMP usage on|invalid GMP usage on
   |gfortran.dg/parameter_array_|gfortran.dg/parameter_array_
   |init_3.f90  |init_3.f90


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37469