https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86459
--- Comment #3 from Mark Wielaard <mark at gcc dot gnu.org> --- Author: mark Date: Tue Jul 10 22:44:30 2018 New Revision: 262545 URL: https://gcc.gnu.org/viewcvs?rev=262545&root=gcc&view=rev Log: PR debug/86459 - Fix -gsplit-dwarf -g3 gcc_assert There was a typo in the output_macinfo_op gcc_assert. The function is called dwarf_FORM, not dwarf_form. Add the provided testcase from the bug to test -gsplit-dwarf -g3. gcc/ChangeLog: PR debug/86459 * dwarf2out.c (output_macinfo_op): Fix dwarf_FORM typo in gcc_assert. gcc/testsuite/ChangeLog: PR debug/86459 * gcc.dg/pr86459.c: New test. Added: trunk/gcc/testsuite/gcc.dg/pr86459.c Modified: trunk/gcc/ChangeLog trunk/gcc/dwarf2out.c trunk/gcc/testsuite/ChangeLog