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]

Re: [PATCH] Fix PR c/35750: ICE with invalid old-style parameter declaration


On Mon, 31 Mar 2008, Volker Reichelt wrote:

> The following patch fixes an ICE with invalid parameters in old-style
> function definitions. If there's already a new-style declaration
> available store_parm_decls_oldstyle iterates over all arguments to
> adjust them to match the new-style prototype.
> However, this crashes if an argument with invalid type is encountered.
> Fixed by skipping these invalid arguments.
> 
> Bootstrapped and regtested on i686-pc-linux-gnu.
> Ok for mainline?

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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