diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e7b65524817..7bc32c5f5f0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Aug 2 01:27:24 1999 Dan Nicolaescu + + * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0. + Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com) * cse.c (cse_insn): Fix loop which deletes insns after a jump diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 78a198ba98c..e3cebf31cf4 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -7770,7 +7770,7 @@ sparc_block_profiler(file, blockno) assemble_name (file, LPBX); fputs ("),%g2\n", file); - fputs ("\tor\t%o0,%lo(", file); + fputs ("\tor\t%o2,%lo(", file); assemble_name (file, LPBX); fputs ("),%g2\n", file);