[committed] Nios2: Add TARGET_CAN_INLINE_P hook
Sandra Loosemore
sandra@codesourcery.com
Wed Nov 10 02:14:11 GMT 2021
I've checked in the attached patch, which fixes 30+ FAILs across the gcc
and g++ testsuites on nios2-elf target. The only target options we have
to worry about in this backend are the nios2 custom instructions, and
the hashing in the default hook function seemed to be confused by all
the extra state being stored in the options structure. I've made it
properly check that the custom instructions enabled in the callee must
be a subset of those in the caller, with the same encoding in both cases.
-Sandra
-------------- next part --------------
A non-text attachment was scrubbed...
Name: can-inline-p.patch
Type: text/x-patch
Size: 7373 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20211109/d2cf9f46/attachment.bin>
More information about the Gcc-patches
mailing list