This is the mail archive of the gcc@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]

Re: [RFC] PR61300 K&R incoming args


On Thu, Jun 05, 2014 at 01:19:19PM -0600, Jeff Law wrote:
> And so the problem you're trying to solve is that when compiling the
> callee.  You incorrectly assumed that if there was not a prototype
> for the callee's definition that the caller had set up the save area
> and that you could flush arguments to it.  That's not true in the
> case where the caller had a prototype for the callee in-scope (and
> the callee was not a varargs function).
> 
> Right?  Just want to make sure I understand the problem.

Exactly correct.

-- 
Alan Modra
Australia Development Lab, IBM


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