public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/63153] New: pointers are not nullified with -finit-local-zero
@ 2014-09-03 7:06 Joost.VandeVondele at mat dot ethz.ch
2014-09-04 10:57 ` [Bug fortran/63153] " dominiq at lps dot ens.fr
0 siblings, 1 reply; 2+ messages in thread
From: Joost.VandeVondele at mat dot ethz.ch @ 2014-09-03 7:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63153
Bug ID: 63153
Summary: pointers are not nullified with -finit-local-zero
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: Joost.VandeVondele at mat dot ethz.ch
scalar pointers are not nullified with -finit-local-zero . After the fix for
PR63152, also arrays with the pointer attribute might need this.
> cat bug.f90
SUBROUTINE S1()
INTEGER, POINTER :: w
IF (ASSOCIATED(w)) CALL ABORT()
END SUBROUTINE S1
> gfortran -fdump-tree-original -finit-local-zero -g -c bug.f90
> cat bug.f90.003t.original
s1 ()
{
integer(kind=4) * w;
if (w != 0B)
{
_gfortran_abort ();
}
L.1:;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug fortran/63153] pointers are not nullified with -finit-local-zero
2014-09-03 7:06 [Bug fortran/63153] New: pointers are not nullified with -finit-local-zero Joost.VandeVondele at mat dot ethz.ch
@ 2014-09-04 10:57 ` dominiq at lps dot ens.fr
0 siblings, 0 replies; 2+ messages in thread
From: dominiq at lps dot ens.fr @ 2014-09-04 10:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63153
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-09-04
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Confirmed from 4.3.1 up to trunk (5.0).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-04 10:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-03 7:06 [Bug fortran/63153] New: pointers are not nullified with -finit-local-zero Joost.VandeVondele at mat dot ethz.ch
2014-09-04 10:57 ` [Bug fortran/63153] " dominiq at lps dot ens.fr
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).