[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2012-03-04 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36841

Mikael Morin  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
Version|4.3.1   |4.7.0
 Resolution||DUPLICATE

--- Comment #10 from Mikael Morin  2012-03-04 
19:13:53 UTC ---
(In reply to comment #7)
> (In reply to comment #4)
> > (see pr43829)
> > 
> 
> I think it is a duplicate of (or close to) pr43829. 
> Marked as depending on it so that I don't forget it. 

This is fixed for the 4.7.0 version.
Closing.

*** This bug has been marked as a duplicate of bug 43829 ***


[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-13 Thread mikael at gcc dot gnu dot org


--- Comment #9 from mikael at gcc dot gnu dot org  2010-09-13 21:35 ---
(In reply to comment #8)
> So, are you goint to take care of this?
> 

Sure.


-- 

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-07-23 09:40:10 |2010-09-13 21:35:52
   date||


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



[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-13 Thread jakub at gcc dot gnu dot org


--- Comment #8 from jakub at gcc dot gnu dot org  2010-09-13 18:50 ---
So, are you goint to take care of this?


-- 


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



[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-13 Thread mikael at gcc dot gnu dot org


--- Comment #7 from mikael at gcc dot gnu dot org  2010-09-13 17:14 ---
(In reply to comment #4)
> (see pr43829)
> 

I think it is a duplicate of (or close to) pr43829. 
Marked as depending on it so that I don't forget it. 


-- 

mikael at gcc dot gnu dot org changed:

   What|Removed |Added

  BugsThisDependsOn||43829


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



[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-13 Thread jakub at gcc dot gnu dot org


--- Comment #6 from jakub at gcc dot gnu dot org  2010-09-13 10:18 ---
I believe just gfc_conv_intrinsic_arith needs to be adjusted so that it also
handles se->ss case, at least for optimize && !optimize_size.  Currently it
just handles the case where those intrinsics return a scalar.


-- 


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



[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-12 Thread steven at gcc dot gnu dot org


--- Comment #5 from steven at gcc dot gnu dot org  2010-09-12 21:24 ---
OK, I thought you meant that this would be something for a separate Fortran
front end optimization pass.  Expanding SUM differently is a job for the FE,
yes.


-- 


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



[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-12 Thread dominiq at lps dot ens dot fr


--- Comment #4 from dominiq at lps dot ens dot fr  2010-09-12 19:56 ---
> This is not a job for the FE.

How could the middle-end do the job if __gfortran_sum_r8 is not
inlined/scalarized (see pr43829)?


-- 


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



[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-12 Thread steven at gcc dot gnu dot org


--- Comment #3 from steven at gcc dot gnu dot org  2010-09-12 17:14 ---
This is not a job for the FE.


-- 


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



[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2010-09-12 Thread jvdelisle at gcc dot gnu dot org


--- Comment #2 from jvdelisle at gcc dot gnu dot org  2010-09-12 16:14 
---
Is this something for the FE to do?


-- 


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



[Bug fortran/36841] Eliminate gfortran_sum_r8 call for calculation involving multidimensional array multiplication followed by a sum along first dimension

2008-07-23 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2008-07-23 09:40 ---
Confirmed.  The middle-end array work will address this in a generic way.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-07-23 09:40:10
   date||


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