This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/1824: gcc accepts computed goto's + -fprofile-arcs, gcov barfs
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/1824: gcc accepts computed goto's + -fprofile-arcs, gcov barfs
- From: lucier at math dot purdue dot edu
- Date: 31 Jan 2001 22:00:17 -0000
- Reply-To: lucier at math dot purdue dot edu
>Number: 1824
>Category: c
>Synopsis: gcc accepts computed goto's + -fprofile-arcs, gcov barfs
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 31 14:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: B. Lucier
>Release: 2.97 20010126
>Organization:
>Environment:
alphaev6-unknown-linux-gnu
>Description:
With this command line:
gcc -W -Wall -Wno-unused -O0 -mieee -fno-math-errno -D___SINGLE_HOST -fprofile-arcs -ftest-coverage -o reverse reverse.c reverse_.c -lgambc -lm -ldl
older versions of gcc would give the error:
reverse.c: In function `___H__20_reverse':
reverse.c:7785: -fprofile-arcs does not support computed gotos
gcc 2.97 does not issue this error, but then gcov barfs
on the output:
gcov reverse.c
Abort
So what gives? Has this error been removed by mistake?
Does gcov now support computed gotos, and is this a bug?
Brad Lucier
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: