]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR debug/86459 - Fix -gsplit-dwarf -g3 gcc_assert
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Jul 2018 22:44:30 +0000 (22:44 +0000)
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Jul 2018 22:44:30 +0000 (22:44 +0000)
commit9cf1002f70cdaa33f3722cd0c83d90518ce42c61
treee77d84581ed63306b3897b59a463f902ed619a34
parent49aafb80031b01d707e84c2253d1c183cce51366
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262545 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr86459.c [new file with mode: 0644]