> -----Original Message----- > From: Richard Biener <richard.guent...@gmail.com> > Sent: Tuesday, September 3, 2024 2:40 PM > > On Tue, Sep 3, 2024 at 7:36 AM Jiang, Haochen <haochen.ji...@intel.com> > wrote: > > > > > > > > > From: Hongtao Liu <crazy...@gmail.com> > > > Sent: Tuesday, September 3, 2024 1:47 PM > > > > > > On Tue, Sep 3, 2024 at 9:45 AM Jiang, Haochen via Gcc-regression > > > <gcc-regress...@gcc.gnu.org> wrote: > > > > > > > > As each AVX10.2 testcases previously, this is caused by option > combination > > > warning, > > > > which is expected. > > > > > > > Can we put the warning for mix usage of mavx10 and -mavx512f under - > > > Wpsabi > > > And add -Wno-psabi in addition to -march=cascadelake to avoid the > > > false positive? > > > > We could do that if nobody has objection to that. > > But mixing both doesn't do anything to the ABI so -Wpsabi sounds like the > wrong bucket to me. Instead we have to solve the issue at hand - I would > expect users to run into this warning as well if we do within our testsuite?
If we can bear that "false positive", I suppose it is ok. l will change the -march=cascadelake to the future CPU contains AVX10.2 when it is doable to eliminate them. Thx, Haochen > > Richard. > > > Thx, > > Haochen > > > > > > > > -- > > > BR, > > > Hongtao