On 6/12/23 07:36, Wang, Yanzhang via Gcc-patches wrote:
I think we default to -Wno-psabi to avoid triggering diagnostics in the common case where we aren't concerned about such issues. So not a surprise that we'll need to work a bit harder to get it added when we do want to check for psabi issues.I found that add the -Wno-psabi to CFLAGS will be overrode by dg-options. It seems we can only add this option to the third arg of dg-runtest. Attach the dg-runtest comments,
jeff