[Bug target/102347] "fatal error: target specific builtin not available" with MMA and LTO

linkw at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 15 08:13:15 GMT 2021


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

Kewen Lin <linkw at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #18 from Kewen Lin <linkw at gcc dot gnu.org> ---
Fixed on trunk and backported to all active release branches.

Note that gcc-9 has some difference from the original commit on trunk since it
doesn't support power10 and its rs6000_builtin_decl isn't factored out either.
So I cooked one different test case which doesn't require power10 but still has
the same test coverage. As testing, the case works on ppc64le Power9 and ppc64
Power8 (BE), which can expose the original problem and pass with the fix now.
The patch against gcc-9 was also bootstrapped and regress-tested on ppc64le
Power9.


More information about the Gcc-bugs mailing list