https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96387
cents2823 at yahoo dot co.jp changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #2 from cents2823 at yahoo dot co.jp --- I was recompiling all of the gmp-6.2.0 software to use the new struct by configure, make, make check,and make install. I want to calculate π 40 billion digits or more by gmp. The high-speed π parallel calculation program I created requires a large amount of memory and cannot be used on the current PC, but will be calculated on the next new PC. Even on the current PC, I changed the gmp API and was able to calculate route 2 with 77 billion digits. The calculation result was calculated by y-cruncer and collated. Therefore, the changed gmp API can be used. However, it is necessary to partially change the gmp program with another struct (__mpf_struct). So I would like to know why changing gmp struct causes g++ to make an error. Thanking you in advance. Frome:Tsukamoto #1 Sources unrelated to gmp: float y = 0.1; printf("\ny= %5.2f",y); g++ error message: printf float %f become this error mesege but %d etc is OK during GIMPLE pass: printf-return-value test_g++.c: In function ‘int main()’: test_g++.c:4:5: internal compiler error: Segmentation fault 4 | int main(void) { | ^~~~ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-9/README.Bugs> for instructions. If I comment out "printf("\ny= %5.2f",y);", the above g++ error message will disappear.