https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80933
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80933
--- Comment #6 from Martin Sebor ---
Author: msebor
Date: Fri Jun 16 20:52:03 2017
New Revision: 249278
URL: https://gcc.gnu.org/viewcvs?rev=249278=gcc=rev
Log:
PR tree-optimization/80934 - bzero should be assumed not to escape pointer
argument
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80933
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #5 from Martin Sebor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80933
--- Comment #4 from Martin Sebor ---
There is so much special handling of all these built-ins in so many places that
makes keeping them all in sync with one another tricky business. I think it
would help if more of the salient properties of the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80933
--- Comment #3 from Richard Biener ---
No we don't - we expand it as it were memset. But yes, we should canonicalize
it so as well (the call to bzero is shorter with -Os, but I guess that doesn't
really matter).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80933
--- Comment #2 from Marc Glisse ---
I am surprised, I thought we used to canonicalize bzero to memcpy...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80933
Martin Sebor changed:
What|Removed |Added
Keywords||missed-optimization