[llvm-commits] llvm-gcc: correct parameter attributes for nested functions

Duncan Sands baldrick at free.fr
Sat Jun 9 07:24:45 PDT 2007


When I got rid of the inreg attribute for static chain parameters,
I simply deleted the attribute adding code while I should have pushed
a attribute of "none" - this results in attributes for other parameters
being applied to the wrong parameters (off by one).  Fixed by the attached
patch.

Ciao,

Duncan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chain_attr.diff
Type: text/x-diff
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070609/5d9f571b/attachment.diff>


More information about the llvm-commits mailing list