re PR debug/79289 (DWARF info for typeof of C function with no args and no prototype...
authorIan Lance Taylor <iant@google.com>
Mon, 30 Jan 2017 22:26:26 +0000 (22:26 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 30 Jan 2017 22:26:26 +0000 (22:26 +0000)
commit1fec56cf14675d1fcd5281c3e8bdfa0350894259
tree0c263980402b4759a96b8e99ceddf1c98f4833a5
parent25a5787d468c5622471aa0a8b371d989db7ff790
re PR debug/79289 (DWARF info for typeof of C function with no args and no prototype is empty pointer)

PR debug/79289
* dwarf2out.c (gen_type_die_with_usage): When picking a variant
for FUNCTION_TYPE/METHOD_TYPE, use the first matching one.

From-SVN: r245039
gcc/ChangeLog
gcc/dwarf2out.c