https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80257
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-03-30
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
If you compile the test with -fcheck=pointer, you should see at run time
something such as
Hello World
Hello World
At line 53 of file
/opt/gcc/_clean/gcc/testsuite/gfortran.dg/pointer_check_1.f90
Fortran runtime error: Allocatable actual argument 'alloc2' is not allocated
Error termination. Backtrace:
#0 0x10b369bbc
#1 0x10b36a8c5
#2 0x10b36ac6a
#3 0x10b362494
#4 0x10b362666
Am I understanding correctly comment 0 that you don't see the "Hello World"?
Did you test pointer_check_2.f90 and pointer_check_3.f90? They should behave as
pointer_check_1.f90.