This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/81251] check of logical pointers
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 29 Jun 2017 14:24:01 +0000
- Subject: [Bug fortran/81251] check of logical pointers
- Auto-submitted: auto-generated
- References: <bug-81251-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81251
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-06-29
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
If you compile the test with -Wall you get
if(l) then
Warning: 'l' is used uninitialized in this function [-Wuninitialized]
On darwin the executable crashes with
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
IMO this PR should be closed as INVALID.