Re: Ping: question on Multiple level macro expansion

2019-10-02 Thread Joseph Myers
This is not a bug (except in icc, since you said icc accepts the code). gcc-help would have been a better mailing list for this sort of question. -- Joseph S. Myers jos...@codesourcery.com

Ping: question on Multiple level macro expansion

2019-10-02 Thread Qing Zhao
Hi, This is a ping on: https://gcc.gnu.org/ml/gcc-patches/2019-09/msg01628.html Anyway, I filed a gcc bug on this issue: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91973 If you t

question on Multiple level macro expansion

2019-09-27 Thread Qing Zhao
Hi, GCC cannot compile the following small testing case: [qinzhao@localhost]$ cat t1.c extern void boo (void *addr); #define foo(addr) \ boo (addr) #define bar(instr, addr) \ (instr) (addr) void check (void *addr) { bar(foo, addr); } [qinzhao@localhost]$ sh t /home/qinzhao/Install/la