Skip local error_mark_node decls
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 20 Oct 2015 15:20:29 +0000 (15:20 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 20 Oct 2015 15:20:29 +0000 (08:20 -0700)
commitfabb2a3def3f31878a3820e21d0630452c0d2f5b
treedcff7f238c747523953cdf61691ca4d7ab2279b1
parentc207fd995845c854ed16e61a17c1c0a6d27a068a
Skip local error_mark_node decls

There is no need to finalize local error_mark_node decls.

gcc/

PR target/66810
* cgraphbuild.c (pass_build_cgraph_edges::execute): Skip local
error_mark_node decls.

gcc/testsuite/

PR target/66810
* gcc.target/i386/pr66810.c: New test.

From-SVN: r229083
gcc/ChangeLog
gcc/cgraphbuild.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr66810.c [new file with mode: 0644]