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

--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 40524
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40524&action=edit
gcc7-pr78835.patch

Untested patch that fixes the ICE on this testcase by marking directly called
functions as needed.  Will see what will it do with the size of the debug info.
Of course, it is not sufficient, with -fdebug-types-section we can still ICE
unless the earlier patch is also applied 9or some more sophisticated one to
construct skeleton DIEs if type inside of type unit is detected).

Reply via email to