Re: [PATCH] report message for operator %a on unaddressible operand

2024-05-14 Thread Jiufu Guo
Hi, Sorry for missing word "V2". According to previous comments, this version updates: 1. using different 'tests' for the invalid case, and put the msg to a better and safer possition. 2. refine the words of the message. 3. updates the test case a little for comments. BR, Jeff(Jiufu) Guo Jiufu G

[PATCH] report message for operator %a on unaddressible operand

2024-05-14 Thread Jiufu Guo
Hi, For PR96866, when printing asm code for modifier "%a", an addressable operand is required. While the constraint "X" allow any kind of operand even which is hard to get the address directly. e.g. extern symbol whose address is in TOC. An error message would be reported to indicate the invalid