]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/gimple-fold.h
re PR lto/59468 (ICE on invalid C++ code with LTO in gimple_get_virt_method_for_binfo...
[thirdparty/gcc.git] / gcc / gimple-fold.h
index 6d8746ccb16963049a4a471ea92a546403380a12..6b430668528554c6e65a1b8a6f84c19363f1c04d 100644 (file)
@@ -36,9 +36,11 @@ extern tree gimple_fold_stmt_to_constant_1 (gimple, tree (*) (tree));
 extern tree gimple_fold_stmt_to_constant (gimple, tree (*) (tree));
 extern tree fold_const_aggregate_ref_1 (tree, tree (*) (tree));
 extern tree fold_const_aggregate_ref (tree);
-extern tree gimple_get_virt_method_for_binfo (HOST_WIDE_INT, tree);
+extern tree gimple_get_virt_method_for_binfo (HOST_WIDE_INT, tree,
+                                             bool *can_refer = NULL);
 extern tree gimple_get_virt_method_for_vtable (HOST_WIDE_INT, tree,
-                                              unsigned HOST_WIDE_INT);
+                                              unsigned HOST_WIDE_INT,
+                                              bool *can_refer = NULL);
 extern bool gimple_val_nonnegative_real_p (tree);
 extern tree gimple_fold_indirect_ref (tree);
 extern bool arith_code_with_undefined_signed_overflow (tree_code);