* profile.c (profile_info): Define it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53400
138bc75d-0d04-0410-961f-
82ee72b054a4
+2002-05-12 Richard Henderson <rth@redhat.com>
+
+ * profile.h (profile_info): Add missing extern to declaration.
+ * profile.c (profile_info): Define it.
+
2002-05-11 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa/pa32-regs.h (HARD_REGNO_MODE_OK): Revise sets of general registers
: ((bb) == EXIT_BLOCK_PTR \
? n_basic_blocks + 1 : (bb)->index + 1))
+/* Instantiate the profile info structure. */
+
+struct profile_info profile_info;
+
/* Name and file pointer of the output file for the basic block graph. */
static FILE *bbg_file;
#ifndef GCC_PROFILE_H
#define GCC_PROFILE_H
-struct
+struct profile_info
{
/* Used by final, for allocating the proper amount of storage for the
instrumented arc execution counts. */
function. */
int count_profiles_merged;
- } profile_info;
+ };
+
+extern struct profile_info profile_info;
#endif