This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Go patch committed: avoid allocation of varargs parameter with optimize-allocs


This patch by Chris Manghane fixes a bug in the escape analysis pass
of the Go frontend.  The slice created to hold the values passed to a
varargs parameter would always escape.  This also fixes a bug in which
a stack-allocated varargs parameter was incorrectly initialized in
some cases.  Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu.
Committed to mainline.

Ian

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]