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 PR40787, reject assignment from void function result


On Sat, 18 Jul 2009, Richard Guenther wrote:

> This fixes PR40787 by rejecting the code from the gimplifier.  I
> don't know if a C frontend solution would be easier/better
> (maybe mark the implicit declarations result as used?).
> 
> Thus, Joseph - do you think that rejecting this during gimplification
> is ok?

Yes, I think that's 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]