Mark Wielaard <m...@klomp.org> 于2024年2月19日周一 06:58写道: > > Hi David, > > On Thu, Jan 04, 2024 at 09:57:09AM -0500, David Malcolm wrote: > > I've pushed the .opt.urls patch kit to gcc trunk [1], so hopefully the > > CI check you wrote can go live now. > > And then I was on vacation myself and forgot. I am sorry. > > So, I did try the regenerate-opt-urls locally, and it did generate the > attached diff. Which seems to show we really need this automated. > > Going over the diff. The -Winfinite-recursion in rust does indeed seem > new. As do the -mapx-inline-asm-use-gpr32 and mevex512 for i386. And > the avr options -mskip-bug, -mflmap and mrodata-in-ram. The change in > common.opt.urls for -Wuse-after-free comes from it being moved from > c++ to the c-family. The changes in mips.opt.urls seem to come from > commit 46df1369 "doc/invoke: Remove duplicate explicit-relocs entry of > MIPS". >
For MIPS, it's due to malformed patches to invoke.text. I will fix them. > The changes in c.opt.urls seem mostly reordering. The sorting makes > more sense after the diff imho. And must have come from commit > 4666cbde5 "Sort warning options in c-family/c.opt". > > Also the documentation for -Warray-parameter was fixed. > > So I think the regenerate-opt-urls check does work as intended. So > lets automate it, because it looks like nobody regenerated the > url.opts after updating the documentation. > > But we should first apply this diff. Could you double check it is > sane/correct? > > Thanks, > > Mark -- YunQiang Su