RFA: implement C11 _Generic
Tom Tromey
tromey@redhat.com
Fri Jul 27 21:32:00 GMT 2012
>>>>> "Joseph" == Joseph S Myers <joseph@codesourcery.com> writes:
Joseph> Could you explain the choices you have made for the issues
Joseph> raised on comp.std.c last month (regarding the handling of
Joseph> qualifiers on controlling expressions) and the rationale for
Joseph> those choices (and make sure there are appropriate testcases)?
I found this:
https://groups.google.com/forum/?fromgroups#!topic/comp.std.c/InNlRotSWTc
I wasn't really aware of 6.3.2.1, but after reading it and re-reading
6.5.1.1, I think I agree with his "model 0" interpretation: no promotion
or conversion.
I don't have a standards-based reason for this, though; just my belief
that _Generic was omitted from 6.3.2.1 by mistake.
That's an amateur opinion though. I think it would be better for you to
say what you think.
I thought I was implementing "model 0", but the test program he posts
shows differently.
I'm happy to try to fix that up, but I'd like your guidance as to the
proper direction.
Tom
More information about the Gcc-patches
mailing list