This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, trivial] Remove `inline' from definition of set_immediate_dominator
- From: Dmitry Gorbachev <d dot g dot gorbachev at gmail dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 15 Nov 2009 03:21:52 +0300
- Subject: [PATCH, trivial] Remove `inline' from definition of set_immediate_dominator
This patch is to fix build with --enable-build-with-cxx configure
option. Please commit it if ok.
2009-11-15 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
* dominance.c (set_immediate_dominator): Don't mark as inline.
--- gcc/dominance.c
+++ gcc/dominance.c
@@ -711,7 +711,7 @@
/* Set the immediate dominator of the block possibly removing
existing edge. NULL can be used to remove any edge. */
-inline void
+void
set_immediate_dominator (enum cdi_direction dir, basic_block bb,
basic_block dominated_by)
{