re PR middle-end/87574 (ICE in add_data_member_location_attribute at gcc/gcc/dwarf2ou...
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 10 Oct 2018 22:54:04 +0000 (22:54 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Wed, 10 Oct 2018 22:54:04 +0000 (22:54 +0000)
commita1a0e08d63b3b1d68e2e270f4c62b8d4c4ae2640
tree43750fb46850413cd9c01b9ce3f9623a2d05531f
parent8e9558f029123e00008d3ef464922128d018f0fc
re PR middle-end/87574 (ICE in add_data_member_location_attribute at gcc/gcc/dwarf2out.c:19226 since r264943)

PR middle-end/87574
* cgraphunit.c (cgraph_node::expand_thunk): Force DECL_IGNORED_P on
the thunk when expanding to GIMPLE.

From-SVN: r265028
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr87574.C [new file with mode: 0644]