diff options
author | Teresa Johnson <tejohnson@google.com> | 2015-12-09 14:47:39 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2015-12-09 14:47:39 +0000 |
commit | 6740f8fb743efb1f838dc31ae7205a0c81060ef7 (patch) | |
tree | d61a3cf9c9bcc1fe093e3ef572ebbdd322cf5d63 | |
parent | 45417aff14234b59f450ec0285cffb1b1fc2e4e2 (diff) |
2015-12-02 Teresa Johnson <tejohnson@google.com>
Google ref b/25925223.
* l-ipo.c (cgraph_lipo_get_resolved_node_1): Remove overly-strict
assert.
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/google/gcc-4_9@231456 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/l-ipo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/l-ipo.c b/gcc/l-ipo.c index 1a3e84bb348..8d523b9f379 100644 --- a/gcc/l-ipo.c +++ b/gcc/l-ipo.c @@ -1457,9 +1457,6 @@ cgraph_lipo_get_resolved_node_1 (tree decl, bool do_assert) gcc_assert (DECL_EXTERNAL (decl) || cgraph_is_aux_decl_external (n) || DECL_VIRTUAL_P (decl)); - gcc_assert (/* This is the case for explicit extern instantiation, - when cgraph node is not created before link. */ - DECL_EXTERNAL (decl)); cgraph_link_node (n); return n; } |