[Bug fortran/58002] [IR tracking] Pointer function results in non pointer context: Shall use a temporary

2021-12-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58002 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > Ifort also produces: > > 420 420 I should say using -stand f03 and -stand f95.

[Bug fortran/58002] [IR tracking] Pointer function results in non pointer context: Shall use a temporary

2021-12-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58002 --- Comment #2 from Andrew Pinski --- Ifort also produces: 420 420

[Bug fortran/58002] [IR tracking] Pointer function results in non pointer context: Shall use a temporary

2015-10-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58002 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/58002] [IR tracking] Pointer function results in non pointer context: Shall use a temporary

2015-10-13 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58002 --- Comment #1 from Dominique d'Humieres --- The test Module m200c2 Integer,Target :: x = 42 Contains Function fx() Integer,Pointer :: fx fx => x End Function End Module Program q1 Use m200c2 C