[Bug target/88195] misleading error message for unsupported builtin
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 26 13:46:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88195
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 45093
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45093&action=edit
gcc9-pr88195.patch
That is because the recent def_builtin2 change made it diverge from what
def_builtin is doing, in particular if it needs ISA_64BIT, but !TARGET_64BIT,
return NULL immediately rather than trying to register something. Unlike other
ISA options, -m64 vs. -m32 vs. -mx32 can't be changed through target attributes
and so there is no point deferring for later or registering right away.
More information about the Gcc-bugs
mailing list