This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] gcov endianness
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 09 Jul 2003 15:59:00 +0100
- Subject: Re: [PATCH] gcov endianness
- Organization: Codesourcery LLC
- References: <3F0C06CF.1000901@codesourcery.com>
Nathan Sidwell wrote:
Hi,
This patch removes a bunch of endianness conversions from the gcov
machinery.
I forgot these bits.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery LLC
The voices in my head said this was stupid too
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk
2003-07-09 Nathan Sidwell <nathan@codesourcery.com>
* g++.dg/bprob/bprob.exp (prof_ext): Update.
* g77.dg/bprob/bprob.exp (prof_ext): Update.
* gcc.misc-tests/bprob.exp (prof_ext): Update.
* gcc.misc-tests/gcov.exp: Update
* g++.dg/gcov/gcov.exp: Update
* lib/gcov.exp: Update.
Index: g++.dg/bprob/bprob.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/bprob/bprob.exp,v
retrieving revision 1.3
diff -c -3 -p -r1.3 bprob.exp
*** g++.dg/bprob/bprob.exp 21 Oct 2002 20:20:58 -0000 1.3
--- g++.dg/bprob/bprob.exp 9 Jul 2003 14:43:15 -0000
*************** if { [istarget mmix-*-*]
*** 28,34 ****
set tool g++
set profile_option -fprofile-arcs
set feedback_option -fbranch-probabilities
! set prof_ext da
if $tracelevel then {
strace $tracelevel
--- 28,34 ----
set tool g++
set profile_option -fprofile-arcs
set feedback_option -fbranch-probabilities
! set prof_ext gcda
if $tracelevel then {
strace $tracelevel
Index: g++.dg/gcov/gcov.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g++.dg/gcov/gcov.exp,v
retrieving revision 1.1
diff -c -3 -p -r1.1 gcov.exp
*** g++.dg/gcov/gcov.exp 29 Mar 2002 21:55:38 -0000 1.1
--- g++.dg/gcov/gcov.exp 9 Jul 2003 14:43:15 -0000
*************** if { ![is_remote host] && [string match
*** 32,39 ****
# Initialize harness.
dg-init
! # Delete old .da files.
! set files [glob -nocomplain gcov-*.da];
if { $files != "" } {
eval "remote_file build delete $files";
}
--- 32,39 ----
# Initialize harness.
dg-init
! # Delete old .gcda files.
! set files [glob -nocomplain gcov-*.gcda];
if { $files != "" } {
eval "remote_file build delete $files";
}
Index: g77.dg/bprob/bprob.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/g77.dg/bprob/bprob.exp,v
retrieving revision 1.3
diff -c -3 -p -r1.3 bprob.exp
*** g77.dg/bprob/bprob.exp 21 Oct 2002 20:20:59 -0000 1.3
--- g77.dg/bprob/bprob.exp 9 Jul 2003 14:43:26 -0000
*************** if { [istarget mmix-*-*]
*** 28,34 ****
set tool g77
set profile_option -fprofile-arcs
set feedback_option -fbranch-probabilities
! set prof_ext da
set perf_ext tim
# Override the list defined in profopt.exp.
--- 28,34 ----
set tool g77
set profile_option -fprofile-arcs
set feedback_option -fbranch-probabilities
! set prof_ext gcda
set perf_ext tim
# Override the list defined in profopt.exp.
Index: gcc.misc-tests/bprob.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.misc-tests/bprob.exp,v
retrieving revision 1.4
diff -c -3 -p -r1.4 bprob.exp
*** gcc.misc-tests/bprob.exp 11 Mar 2003 12:32:26 -0000 1.4
--- gcc.misc-tests/bprob.exp 9 Jul 2003 14:43:36 -0000
*************** if { [istarget mmix-*-*]
*** 29,35 ****
set tool gcc
set profile_option -fprofile-arcs
set feedback_option -fbranch-probabilities
! set prof_ext da
set perf_ext tim
# Override the list defined in profopt.exp.
--- 29,35 ----
set tool gcc
set profile_option -fprofile-arcs
set feedback_option -fbranch-probabilities
! set prof_ext gcda
set perf_ext tim
# Override the list defined in profopt.exp.
Index: gcc.misc-tests/gcov.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.misc-tests/gcov.exp,v
retrieving revision 1.7
diff -c -3 -p -r1.7 gcov.exp
*** gcc.misc-tests/gcov.exp 11 Sep 2001 16:43:53 -0000 1.7
--- gcc.misc-tests/gcov.exp 9 Jul 2003 14:43:36 -0000
*************** if { ![is_remote host] && [string match
*** 32,39 ****
# Initialize harness.
dg-init
! # Delete old .da files.
! set files [glob -nocomplain gcov-*.da];
if { $files != "" } {
eval "remote_file build delete $files";
}
--- 32,39 ----
# Initialize harness.
dg-init
! # Delete old .gcda files.
! set files [glob -nocomplain gcov-*.gcda];
if { $files != "" } {
eval "remote_file build delete $files";
}
Index: lib/gcov.exp
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/lib/gcov.exp,v
retrieving revision 1.4
diff -c -3 -p -r1.4 gcov.exp
*** lib/gcov.exp 31 Mar 2003 15:18:24 -0000 1.4
--- lib/gcov.exp 9 Jul 2003 14:43:37 -0000
*************** global GCOV
*** 27,33 ****
proc clean-gcov { testcase } {
set basename [file tail $testcase]
set base [file rootname $basename]
! remote_file host delete $base.bb $base.bbg $base.da $basename.gcov
}
#
--- 27,33 ----
proc clean-gcov { testcase } {
set basename [file tail $testcase]
set base [file rootname $basename]
! remote_file host delete $base.gcno $base.gcda $basename.gcov
}
#