https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64388
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2014-12-30 Ever confirmed|0 |1 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to dave.anglin from comment #1) > On 2014-12-23, at 12:31 PM, hjl.tools at gmail dot com wrote: > > > On Linux/x86-64, r219037 caused > > > > FAIL: gcc.dg/pr44194-1.c scan-rtl-dump dse1 "global deletions = (2|3)" > > FAIL: gcc.dg/pr44194-1.c scan-rtl-dump-not final "insn[: ][^\n]*set > > \\(mem(?![^\n]*scratch)" > > The optimization could easily be restored if there was a procedure or target > hook to provide a way > to determine if a sibcall may read from the frame. On hppa-linux, this > would be true if the sibcall > arguments were all passed in registers. It might be possible to do this by > analyzing the decl. Can you add such a hook? Thanks.