> That shouldn't be too difficult. The compiler is already type-checking the parameters of every call within the function. Remembering the highest count won't take much more work, and it's capped at 8 anyway.
Many of the accounts that I've read indicated the largest issue with Itanium was building effective compilers.
I recall learning that the important part of the optimization phase for Itanium was based on runtime performance analysis, not just static optimizations.
That's true, but figuring out the maximum number of arguments passed to another function is trivial; I would think it isn't harder than determining how much space one needs for local variables in an Algol-like language.
That's definitely true, but counting function parameters was only a small part of the difficulty. Weren't most of the problems related to optimization being harder and less effective than predicted?
Many of the accounts that I've read indicated the largest issue with Itanium was building effective compilers.