https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83027
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|wrong-code | Status|WAITING |NEW Summary|An innocent do-nothing |program hangs when |program hangs if linked |Ada.Text_IO is with'ed both |using shared library |in executable and shared | |library --- Comment #18 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Created attachment 42666 [details] > Minimal example reprising the bug > > I've created the minimal example reprising the bug. > > The bug is actually awful: Just four innocent (doing nothing) source files > cause the program to hang infinitely despite it was asked to do none. > > Note that the bug is triggered only for dynamic libraries. Thanks for the small reproducer. This has apparently never worked correctly...