https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122206

--- Comment #3 from Gavin Salam <gavin.salam at physics dot ox.ac.uk> ---
The github link had the line (which depends on filenames)

gfortran -c run_example.f90 && c++ -std=c++17 -c example-stub-cpp.cpp &&
gfortran run_example.o example-stub-cpp.o -o reproduce -lc++ && ./reproduce

Re workarounds, there are multiple options in this small example. Another one
seems to be to move the text_example_interface code into the main program. I
haven't managed to diagnose the exact trigger.

Reply via email to