[Bug tree-optimization/104715] [12 Regression] false dangling pointer with strstr

cvs-commit at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 2 00:06:41 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104715

--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Sebor <msebor@gcc.gnu.org>:

https://gcc.gnu.org/g:b11465f1150a11d6a9b186417c468c8191ae41a1

commit r12-7440-gb11465f1150a11d6a9b186417c468c8191ae41a1
Author: Martin Sebor <msebor@redhat.com>
Date:   Tue Mar 1 16:56:06 2022 -0700

    Add a test for true positives related to PR104715.

    Related to:
    PR tree-optimization/104715 - false dangling pointer with strstr

    gcc/testsuite/ChangeLog:
            PR tree-optimization/104715
            * gcc.dg/Wdangling-pointer-3.c: New test.


More information about the Gcc-bugs mailing list