[Bug c/83989] [8 Regression] -Wrestrict false positive with malloc-style functions
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 25 13:20:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83989
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 43239
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43239&action=edit
gcc8-pr83989.patch
The assumption that if 2 different SSA_NAMEs have the same SSA_NAME_VAR they
must have the same value is completely wrong. Didn't see any testsuite
regressions with this change on any of the tests added or modified in the
-Wrestrict commits, but so far have not tested it further than that.
More information about the Gcc-bugs
mailing list