[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug tree-optimization/104715] [12 Regression] false dangling pointer with strstr
From: "jakub at gcc dot gnu.org via Gcc-bugs" <gcc-bugs () gcc ! gnu ! org>
Date: 2022-02-28 16:28:41
Message-ID: bug-104715-4-BUz7QNr3Ly () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104715
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
Status|NEW |ASSIGNED
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 52526
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52526&action=edit
gcc12-pr104715.patch
Untested fix.
Note, I think pass_waccess::gimple_call_return_arg should also handle
BUILT_IN_STRPBRK, but that is probably GCC 13 material.=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic