This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR61406 - [4.9/4.10 Regression] ICE on ASSOCIATE construct to literal array expression


Dear Paul,

> This was a slip up on my part.  The fix is obvious - OK for trunk and 4.9?

The patch fixes the ICE. Any progress about the double temporary?

[Book15] f90/bug% gfc pr61406.f90 -Warray-temporaries
pr61406.f90:6.18:

  associate (n => [cos(theta), sin(theta)])
                  1
Warning: Creating array temporary at (1)
pr61406.f90:6.18:

  associate (n => [cos(theta), sin(theta)])
                  1
Warning: Creating array temporary at (1)

Thanks for the patch.

Dominique


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]