diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b6f1990beb88c35602b0c5128b86b4aa91134c36..2f45b924f6cb5e688ad5732b2ff596e9780234d4 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2012-09-16  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+	* gfortran.dg/bind_c_array_params_2.f90: Adjust scan-assembler-times
+	"myBindC" for hppa*-*-hpux*.
+
 2012-09-16  Mikael Morin  <mikael@gcc.gnu.org>
 
 	* gfortran.dg/namelist_75.f90: New test.
diff --git a/gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90 b/gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90
index 04a70066c1039a4fef9d27be7b02c7baaf70d0b1..9018766c0c020e8f81780ea9458de94dbc1f0911 100644
--- a/gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90
+++ b/gcc/testsuite/gfortran.dg/bind_c_array_params_2.f90
@@ -15,6 +15,7 @@ integer :: aa(4,4)
 call test(aa)
 end
 
-! { dg-final { scan-assembler-times "myBindC" 1 } }
+! { dg-final { scan-assembler-times "myBindC" 1 { target { ! { hppa*-*-hpux* } } } } }
+! { dg-final { scan-assembler-times "myBindC,%r2" 1 { target { hppa*-*-hpux* } } } }
 ! { dg-final { scan-tree-dump-times "test \\\(&parm\\." 1 "original" } }
 ! { dg-final { cleanup-tree-dump "original" } }