]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/frv/frv.c
Use checking forms of DECL_FUNCTION_CODE (PR 91421)
[thirdparty/gcc.git] / gcc / config / frv / frv.c
index f0c9351f0835f8bfd6a81c3fb57685f993ae2412..f8a3a0753196ca324f48d138a1427b2fcb5fdd02 100644 (file)
@@ -9113,7 +9113,7 @@ frv_expand_builtin (tree exp,
                     int ignore ATTRIBUTE_UNUSED)
 {
   tree fndecl = TREE_OPERAND (CALL_EXPR_FN (exp), 0);
-  unsigned fcode = (unsigned)DECL_FUNCTION_CODE (fndecl);
+  unsigned fcode = DECL_MD_FUNCTION_CODE (fndecl);
   unsigned i;
   struct builtin_description *d;