Re: [Patch fortran] PR32957 - C/Fortran interoperability and -fdefault-integer-8

2018-02-26 Thread Dominique d'Humières
Thanks for the quick review, committed as r257985. I have spotted a few similar issues in my recent testing and I have problem with gfortran.dg/bind_c_usage_10.f03 when using -fdefault-integer-8: /opt/gcc/_clean/gcc/testsuite/gfortran.dg/bind_c_usage_10.f03:66:31: integer(c_int) function fun

Re: [Patch fortran] PR32957 - C/Fortran interoperability and -fdefault-integer-8

2018-02-25 Thread Thomas Koenig
Hi Dominique, OK for trunk? back port? OK for trunk. The tests were non-conforming before, so this is also a step in making our testsuite better. For gcc-7, I'm not sure I would bother, but OK if you want to do it. Regards Thomas

[Patch fortran] PR32957 - C/Fortran interoperability and -fdefault-integer-8

2018-02-25 Thread Dominique d'Humières
Hi all, I have noticed a recent interest to fix problems with -fdefault-integer-8. Please don’t forget to mark new PRs as blocking pr32770. I have also posted new results for the test suite. I think it is a good time to submit the updated attached patch fixing some C/Fortran interoperability i