https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89282

--- Comment #3 from federico <perini at wisc dot edu> ---
Thanks Dominique.
- Output from gcc 5.3.0 has the same issue: 

type(t) object <r1>, size=5
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 4.25474E+15
type(t) object <r1>, size=6
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 2.00000E+00
  x(6) = 2.00000E+00

- Output from gcc 7.4.0 doesn't have this issue anymore:

type(t) object <r1>, size=5
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 2.00000E+00
type(t) object <r1>, size=6
  x(1) = 2.00000E+00
  x(2) = 2.00000E+00
  x(3) = 2.00000E+00
  x(4) = 2.00000E+00
  x(5) = 2.00000E+00
  x(6) = 2.00000E+00

Maybe it's been solved as part of other bugs I couldn't find by searching?

Federico

Reply via email to