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] i386/cygwin.h I386_PE_STRIP_ENCODING



> +  ((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] == '*') ?


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