------- Comment #2 from tkoenig at gcc dot gnu dot org  2008-07-27 19:28 -------
The test case now correctly complains about
an unneeded temporary:

$ gfortran -Warray-temporaries foo.f90
foo.f90:5.8:

  foo = all((/ a, b, c /) /= d)
       1
Warning: Creating array temporary at (1)


-- 

tkoenig at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|unnecessary stores for array|array temporaries for "all
                   |constructor                 |intrinsic" (unnecessary
                   |                            |stores for array
                   |                            |constructor)


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

Reply via email to