summaryrefslogtreecommitdiff
path: root/lang/gcc48/patches/patch-gcc_lto_lto.c
blob: c0532730c4f42cf221f9a3fa78bf7ae11dab8155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-gcc_lto_lto.c,v 1.1 2014/05/31 13:06:25 ryoon Exp $

--- gcc/lto/lto.c.orig	2013-02-07 18:01:40.000000000 +0000
+++ gcc/lto/lto.c
@@ -3102,6 +3102,12 @@ read_cgraph_and_symbols (unsigned nfiles
   all_file_decl_data = NULL;
 }
 
+const char *
+fname_as_string(int pretty_p __attribute__((__unused__)))
+{
+	return NULL;
+}
+
 
 /* Materialize all the bodies for all the nodes in the callgraph.  */