tree: Hide wi::from_mpz from GENERATOR_FILE

Similar to r0-85707-g34917a102a4e0c for PR35051, the uses
of mpz_t should be guarded with "#ifndef GENERATOR_FILE".
This patch is to fix it and avoid some possible build
errors.

gcc/ChangeLog:

	* tree.h (wi::from_mpz): Hide from GENERATOR_FILE.
This commit is contained in:
Kewen Lin 2023-07-12 21:22:26 -05:00
parent 7f0700a689
commit a7f6e6c483

View file

@ -6467,7 +6467,9 @@ namespace wi
wide_int min_value (const_tree);
wide_int max_value (const_tree);
#ifndef GENERATOR_FILE
wide_int from_mpz (const_tree, mpz_t, bool);
#endif
}
template <typename T>