[Bug debug/78835] [7 regression] ICE with -fdebug-types-section and member function
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 16 18:21:00 GMT 2017
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).
More information about the Gcc-bugs
mailing list