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] |
This just tweaks the error message to use an expression (%qE) instead of a declaration (%qD) when we complain about an indirect call being unsafe. The output isn't very pretty, but it does seem to do the job. Also, if it is a direct call, it should hopefully always be some kind of expression. All the other uses of %qD I saw in trans-mem.c seemed to indeed be for full declarations AFAICT, so I left them as-is. OK for trunk?
Attachment:
patch4
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |