From 9836a336a4ec6b64c3a237acc94a3d03687cdef1 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Fri, 24 Apr 2015 11:20:14 +0300 Subject: [sys-devel/*gcc] vbox guest adds fixed with patch --- .../files/base-gcc-4.8.4-no_instrument_function.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sys-devel/base-gcc/files/base-gcc-4.8.4-no_instrument_function.patch (limited to 'sys-devel/base-gcc/files/base-gcc-4.8.4-no_instrument_function.patch') diff --git a/sys-devel/base-gcc/files/base-gcc-4.8.4-no_instrument_function.patch b/sys-devel/base-gcc/files/base-gcc-4.8.4-no_instrument_function.patch new file mode 100644 index 00000000..c363b961 --- /dev/null +++ b/sys-devel/base-gcc/files/base-gcc-4.8.4-no_instrument_function.patch @@ -0,0 +1,15 @@ +--- trunk/gcc/c-family/c-common.c 2014/01/02 22:23:26 206289 ++++ trunk/gcc/c-family/c-common.c 2014/01/15 19:37:35 206643 +@@ -7985,12 +7985,6 @@ + "%qE attribute applies only to functions", name); + *no_add_attrs = true; + } +- else if (DECL_INITIAL (decl)) +- { +- error_at (DECL_SOURCE_LOCATION (decl), +- "can%'t set %qE attribute after definition", name); +- *no_add_attrs = true; +- } + else + DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT (decl) = 1; + -- cgit v1.2.3