This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] i386/cygwin.h I386_PE_STRIP_ENCODING
- From: DJ Delorie <dj at redhat dot com>
- To: danny_r_smith_2001 at yahoo dot co dot nz
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 14 Dec 2001 15:37:14 -0500
- Subject: Re: [patch] i386/cygwin.h I386_PE_STRIP_ENCODING
- References: <20011214203240.69316.qmail@web14509.mail.yahoo.com>
> + ((SYM_NAME) + ((SYM_NAME)[0] == '@' ? 3 : 0) \
> + + ((SYM_NAME)[0] == '*' ? 1 : 0) \
> + + ((SYM_NAME)[3] == '*' ? 1 : 0)
Maybe I'm being anal, but shouldn't that last check be
((SYM_NAME)[0] == '@' && (SYM_NAME)[3] == '*') ?