https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88372
Martin Sebor changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88372
Martin Sebor changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88372
--- Comment #5 from Martin Sebor ---
Author: msebor
Date: Fri Dec 14 22:45:55 2018
New Revision: 267158
URL: https://gcc.gnu.org/viewcvs?rev=267158&root=gcc&view=rev
Log:
PR tree-optimization/88372 - alloc_size attribute is ignored on function
p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88372
Martin Sebor changed:
What|Removed |Added
Keywords||patch
--- Comment #4 from Martin Sebor -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88372
Martin Sebor changed:
What|Removed |Added
Status|NEW |ASSIGNED
Assignee|unassigned at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88372
--- Comment #2 from Richard Biener ---
+ /* If there is no function, look at the type of the called
+expression in case it's been declared attribute alloc_size. */
+ callee = gimple_call_fn (call);
+ if (callee && TREE_COD
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88372
Martin Sebor changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|