]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/convert.h
Update copyright years.
[thirdparty/gcc.git] / gcc / convert.h
index 2d9df016d9448803f52915af82250c9038bfa92c..297b43ea189c104a0198fb08bd6610bb1828d1b9 100644 (file)
@@ -1,5 +1,5 @@
-/* Definition of functions in convert.c.
-   Copyright (C) 1993-2014 Free Software Foundation, Inc.
+/* Definition of functions in convert.cc.
+   Copyright (C) 1993-2024 Free Software Foundation, Inc.
 
 This file is part of GCC.
 
@@ -21,10 +21,25 @@ along with GCC; see the file COPYING3.  If not see
 #define GCC_CONVERT_H
 
 extern tree convert_to_integer (tree, tree);
+extern tree convert_to_integer_maybe_fold (tree, tree, bool);
 extern tree convert_to_pointer (tree, tree);
+extern tree convert_to_pointer_maybe_fold (tree, tree, bool);
 extern tree convert_to_real (tree, tree);
+extern tree convert_to_real_maybe_fold (tree, tree, bool);
 extern tree convert_to_fixed (tree, tree);
 extern tree convert_to_complex (tree, tree);
+extern tree convert_to_complex_maybe_fold (tree, tree, bool);
 extern tree convert_to_vector (tree, tree);
 
+extern inline tree convert_to_integer_nofold (tree t, tree x)
+{ return convert_to_integer_maybe_fold (t, x, false); }
+extern inline tree convert_to_pointer_nofold (tree t, tree x)
+{ return convert_to_pointer_maybe_fold (t, x, false); }
+extern inline tree convert_to_real_nofold (tree t, tree x)
+{ return convert_to_real_maybe_fold (t, x, false); }
+extern inline tree convert_to_complex_nofold (tree t, tree x)
+{ return convert_to_complex_maybe_fold (t, x, false); }
+
+extern tree preserve_any_location_wrapper (tree result, tree orig_expr);
+
 #endif /* GCC_CONVERT_H */