This was reported to me by David Chisnall via email - he mentioned -
@encode(BOOL*) - it should return ^c or ^C (depending on whether BOOL is
defined as signed or unsigned), but instead it returns *. This is inconsistent
with clang and with Apple GCC.
I also noticed that we already have a testcase (objc.dg/encode-1.m) but it is
only compiled with the NeXT runtime. We should fix it and enable the test on
the GNU runtime as well. ;-)
Thanks
--
Summary: incorrect @encode(BOOL *)
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: objc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nicola at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45763