[Bug fortran/43829] Scalarization of reductions

dominiq at lps dot ens dot fr gcc-bugzilla@gcc.gnu.org
Sun Jun 27 19:20:00 GMT 2010



------- Comment #21 from dominiq at lps dot ens dot fr  2010-06-27 19:20 -------
With the patch in comment #19, the test suite pass with -m32 and -m64, but for
gfortran.dg/transpose_2.f90 which needs an adjustment of the dg-error.

AFAICT the SUM of the different tests are scalarized (it would be interesting
to have some timings before and after the patch for 465.tonto).

The ICEs for the tests in pr44660 are now replaced with errors:

Error: Unexpected EQUIVALENCE statement at (1)

(although I am puzzled by the following error for the second test:


pr44660_1.f90:2.21:

         IF(DBUG.AND.NX.GT.0) THEN
                     1
Error: Operands of logical operator '.and.' at (1) are REAL(4)/LOGICAL(4)

where NX is an INTEGER(4) rather than a LOGICAL(4)).

The test in pr39304 ICE with

pr39304.f90: In function 'sum_k1a':
pr39304.f90:2626:0: internal compiler error: in conv_intrinsic_arith, at
fortran/trans-intrinsic.c:1875

instead of

pr39304.f90: In function 'sd_matrix_one':
pr39304.f90:440:0: internal compiler error: Segmentation fault

I see several ICEs:

f951: internal compiler error: in match_procedure_in_type, at
fortran/decl.c:7809

in the tests from pr41951, pr43199, and pr43896. Note that the later compiled
with trunk does not link with:

Undefined symbols:
  "_vtab$t_rotation_matrix.2314", referenced from:
      ___m_vector_MOD_rotation_matrix_times_vector in cc80aib8.o
...

and pr41951.f90 ICE with

f951: internal compiler error: in gfc_match_varspec, at fortran/primary.c:1821

I am probably missing other differences, but this represents most of them.


-- 


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



More information about the Gcc-bugs mailing list