Hi FX,
Am 11.01.22 um 23:04 schrieb FX via Fortran:
Hi Harald,
I think this patch breaks the testsuite
On what platform? It regtested fine on x86_64-pc-linux-gnu
I looked at gcc-testresults and find e.g.
https://gcc.gnu.org/pipermail/gcc-testresults/2022-January/747938.html
https://gcc.gnu.org/pipermail/gcc-testresults/2022-January/747935.html
which is x86 (64 and 32 bit) by H.J.; plus some more.
Maybe H.J. can explain what is different from your platform?
since the directive
! { dg-additional-sources signaling_1_c.c }
should rather read
! { dg-additional-sources "signaling_1_c.c" }
I find plenty of evidence saying it’s allowed (just quoting a few, but there
are a lot):
./gfortran.dg/PR94331.f90:! { dg-additional-sources PR94331.c }
./gfortran.dg/global_vars_c_init.f90:! { dg-additional-sources
global_vars_c_init_driver.c }
./gfortran.dg/c_char_tests.f03:! { dg-additional-sources c_char_driver.c }
FX
Harald