On 02/01/2016 03:05 PM, Uros Bizjak wrote:
Hello!

This test case fails for targets, where dwarf-4 is unsupported (e.g.
CentOS 5.11) with

/usr/bin/ld: Dwarf Error: found dwarf version '4', this reader only
handles version 2 information.

We can use -gdwarf-2 here, and still get correct linker error message
on Cent OS 5.11 and Fedora 23.

2016-02-01  Uros Bizjak  <ubiz...@gmail.com>

     * g++.dg/other/anon5.C (dg-opetions): Use -gdwarf-2 instead of -g.
OK.
jeff

Reply via email to