[Bug sanitizer/82869] c_associated does not always give false for null pointers
jb at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Nov 7 10:10:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82869
Janne Blomqvist <jb at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |jb at gcc dot gnu.org
--- Comment #5 from Janne Blomqvist <jb at gcc dot gnu.org> ---
(In reply to Martin Liška from comment #4)
> Confirmed, I see Fortran discrepancy since r243830:
>
> $ gfortran pr82869-2.f90 -O0 && ./a.out
> (Expect F F) F F
> $ gfortran pr82869-2.f90 -O2 && ./a.out
> (Expect F F) T T
>
> Comparison of sanitized and not sanitized tree dump looks the same (modulo
> memory checks).
Hmm. Actually, I have prepared a patch to fix some other minor fallout due to
r243830, I'll have to check whether it fixes this issue as well. Assigning to
myself.
More information about the Gcc-bugs
mailing list