[Bug fortran/57924] -Werror -Warray-temporaries -Wno-error=array-temporaries fails on array temporary warnings

2017-03-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57924

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Dominique d'Humieres  ---
> I think this PR can be closed as FIXED.

Agreed!

[Bug fortran/57924] -Werror -Warray-temporaries -Wno-error=array-temporaries fails on array temporary warnings

2017-03-23 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57924

--- Comment #6 from Thomas Koenig  ---
(In reply to Dominique d'Humieres from comment #5)
 1
> Warning: Creating array temporary at (1) [-Warray-temporaries]
> 
> Am I correct to understand that it is the expected behavior?

Yes, this is how it should be.

I think this PR can be closed as FIXED.

[Bug fortran/57924] -Werror -Warray-temporaries -Wno-error=array-temporaries fails on array temporary warnings

2017-03-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57924

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|NEW |WAITING

--- Comment #5 from Dominique d'Humieres  ---
AFAICT this seems to be fixed since at least for 5.4.0:

[Book15] f90/bug% gfortran-fsf-5 pr57924.f90 -Warray-temporaries -Werror 
pr57924.f90:12:13:

 CALL foo(q)
 1
Error: Creating array temporary at (1) [-Werror=array-temporaries]
f951: all warnings being treated as errors
[Book15] f90/bug% gfortran-fsf-5 pr57924.f90 -Warray-temporaries -Werror
-Wno-error=array-temporaries
pr57924.f90:12:13:

 CALL foo(q)
 1
Warning: Creating array temporary at (1) [-Warray-temporaries]

Am I correct to understand that it is the expected behavior?

[Bug fortran/57924] -Werror -Warray-temporaries -Wno-error=array-temporaries fails on array temporary warnings

2013-08-18 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57924

Tobias Burnus burnus at gcc dot gnu.org changed:

   What|Removed |Added

 CC||burnus at gcc dot gnu.org

--- Comment #4 from Tobias Burnus burnus at gcc dot gnu.org ---
My impression is that -Werror= is not properly supported by gfortran - only
-Werror by itself. (See also PR44054.)


[Bug fortran/57924] -Werror -Warray-temporaries -Wno-error=array-temporaries fails on array temporary warnings

2013-08-13 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57924

Dominique d'Humieres dominiq at lps dot ens.fr changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-08-13
 Ever confirmed|0   |1

--- Comment #3 from Dominique d'Humieres dominiq at lps dot ens.fr ---
Confirmed.


[Bug fortran/57924] -Werror -Warray-temporaries -Wno-error=array-temporaries fails on array temporary warnings

2013-07-18 Thread jahns at dkrz dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57924

--- Comment #1 from Thomas Jahns jahns at dkrz dot de ---
Created attachment 30522
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30522action=edit
Makefile giving flags

Add Makefile missing from original report.


[Bug fortran/57924] -Werror -Warray-temporaries -Wno-error=array-temporaries fails on array temporary warnings

2013-07-18 Thread jahns at dkrz dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57924

--- Comment #2 from Thomas Jahns jahns at dkrz dot de ---
Just tried with gfortran 4.8.1 (an Ubuntu 13.04 test release). The problem
persists.