https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111366

            Bug ID: 111366
           Summary: error: inlining failed in call to 'always_inline'
                    'hwy::PreventElision<int&>(int&)void': target specific
                    option mismatch
           Product: gcc
           Version: 13.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: malat at debian dot org
  Target Milestone: ---

I cannot compile highway on ppc64el (ubuntu setup). It fails with:

In file included from /<<PKGBUILDDIR>>/hwy/examples/skeleton.h:24,
                 from /<<PKGBUILDDIR>>/hwy/examples/skeleton_test.cc:18:
/<<PKGBUILDDIR>>/hwy/base.h: In member function
‘skeleton::N_PPC10::TestFloorLog2::operator()<float, hwy::N_PPC10::Simd<float,
4ul, 0> >(float, hwy::N_PPC10::Simd<float, 4ul, 0>)void’:
/<<PKGBUILDDIR>>/hwy/base.h:1511:14: error: inlining failed in call to
‘always_inline’ ‘hwy::PreventElision<int&>(int&)void’: target specific option
mismatch
 1511 | HWY_API void PreventElision(T&& output) {
      |              ^~~~~~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/hwy/foreach_target.h:266,
                 from /<<PKGBUILDDIR>>/hwy/examples/skeleton_test.cc:24:
/<<PKGBUILDDIR>>/hwy/examples/skeleton_test.cc:73:24: note: called from here
   73 |     hwy::PreventElision(sum);
      |     ~~~~~~~~~~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/hwy/base.h:1511:14: error: inlining failed in call to
‘always_inline’ ‘hwy::PreventElision<int&>(int&)void’: target specific option
mismatch
 1511 | HWY_API void PreventElision(T&& output) {
      |              ^~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/hwy/examples/skeleton_test.cc:73:24: note: called from here
   73 |     hwy::PreventElision(sum);
      |     ~~~~~~~~~~~~~~~~~~~^~~~~

Reply via email to