About implementation of the Negative property of options.

2021-04-28 Thread gengqi-linux via Gcc-patches
I have been fixing a bug. It involved the Negative property of options, and I have some confusion about it. gcc/optc-gen.awk: 383 neg = opt_args("Negative", flags[i]); if (neg != "") idx = indices[neg] else { if (flag_set_p("RejectNegative", flags[i])) idx = -1; else { if (opts[i

回复:About implementation of the Negative property of options.

2021-04-30 Thread gengqi-linux via Gcc-patches
Thanks for your replies. On Thurs, Apr 29, 2021, utc+8 PM Joseph Myers wrote: Could you please explain the bug at the *user-visible* level? That is, the particular options passed to the compiler, how those options behave, and how you think they should behave instead. This is the real bug I met