------- Comment #11 from mikael at gcc dot gnu dot org  2010-05-22 19:36 -------
Created an attachment (id=20726)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20726&action=view)
updated patch

Update on this :
The attached patch seems to work on sum. 
I plan to reorganize some structs, but the behavior will remain the same. 

Regression fixes apart, what's different in this patch, is that the scalarizer
is aware of nested loops (in the previous patch, loops were removed/added at
appropriate places to fit the scalarizer's expectations). 

The patch also handles inlining for transpose because inlining was an easy fix
to a regression there was. 


However, regressions are now on transpose :
 - alloc_comp_transformational_1.f90 : double free on function exit. I will
have to investigate.
 - char_length_8.f90 : reshape doesn't like being passed a transposed array as
target argument because the shape doesn't match then. I will look if i can fix
reshape without recursing into some other regression.
 - transpose_2.f90 : I will have to see if it is a real regression or if only
the error message has changed. 

There is also this strange one.
 - pr43984.f90 : memory allocation error at compile time (???!!)


-- 

mikael at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #20558|0                           |1
        is obsolete|                            |


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

Reply via email to