Commit 1aeb1f6f by Jim Wilson Committed by Jim Wilson

Fix undefined reference to constructor with -O3 -fprofile-arcs.

	* profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.

From-SVN: r15127
parent 770a0113
Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
* profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
* sparc/sparc.md: Add ultrasparc scheduling support.
......
......@@ -1610,7 +1610,7 @@ output_func_start_profiler ()
fndecl = build_decl (FUNCTION_DECL, fnname,
build_function_type (void_type_node, NULL_TREE));
DECL_EXTERNAL (fndecl) = 1;
DECL_EXTERNAL (fndecl) = 0;
TREE_PUBLIC (fndecl) = 1;
DECL_ASSEMBLER_NAME (fndecl) = fnname;
DECL_RESULT (fndecl) = build_decl (RESULT_DECL, NULL_TREE, void_type_node);
......
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