PR middle-end/87574
commit6b413ca5992492736177b30ff10c1a3230fb34e2
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Oct 2018 22:54:04 +0000 (10 22:54 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Oct 2018 22:54:04 +0000 (10 22:54 +0000)
tree43750fb46850413cd9c01b9ce3f9623a2d05531f
parent10811950a6320d27cdaaa3eb108cf7bbef64fb45
PR middle-end/87574
* cgraphunit.c (cgraph_node::expand_thunk): Force DECL_IGNORED_P on
the thunk when expanding to GIMPLE.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265028 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cgraphunit.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr87574.C [new file with mode: 0644]