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: RFA: implement C11 _Generic


On Tue, Jul 23, 2013 at 01:55:19AM +0000, Joseph S. Myers wrote:
> I have now revised this patch from a year ago in line with my
> understanding of how _Generic ought to handle the various special
> cases (selector undergoes lvalue-to-rvalue conversion, and decay of
> functions and arrays to pointers, because nothing says it doesn't -
> "The controlling expression of a generic selection was very carefully
> not added to the list of contexts in which lvalue conversion is not
> done and type qualification is discarded", the minutes say - and no
> rvalues can have qualified type), which seems to accord with the
> committee discussion in the Delft minutes, added corresponding
> testcases, and committed this patch.  Bootstrapped with no regressions
> on x86_64-unknown-linux-gnu.

Thanks for doing this.  I see that http://gcc.gnu.org/wiki/C11Status
isn't updated wrt _Generic, shall I do that?

	Marek


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