Commit 5726ad84 by Steven Bosscher

* decl2.c (cp_write_global_declarations): Return after writing a PCH.

From-SVN: r194363
parent 570e71f8
2012-12-10 Steven Bosscher <steven@gcc.gnu.org>
* decl2.c (cp_write_global_declarations): Return after writing a PCH.
2012-12-07 Jason Merrill <jason@redhat.com>
PR c++/55127
......
......@@ -3944,8 +3944,13 @@ cp_write_global_declarations (void)
|| !vec_safe_is_empty (decl_namespace_list))
return;
/* This is the point to write out a PCH if we're doing that.
In that case we do not want to do anything else. */
if (pch_file)
c_common_write_pch ();
{
c_common_write_pch ();
return;
}
cgraph_process_same_body_aliases ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment