Red Hat Bugzilla – Bug 72233
gcc's -a option doesn't work
Last modified: 2007-04-18 12:45:47 EDT
Description of Problem:
The -a option, documentated in the man page and in other places, isn't
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. touch a.c
2. gcc -g -pg -a -c a.c
a.o containing basic block profiling information.
cc1: unrecognized option `-a'
-a was removed on purpose.
2002-08-14 Nathan Sidwell <firstname.lastname@example.org>
* doc/invoke.texi (-a): Remove documentation.
(-fprofile-arcs): Remove reference to -a, -ax options.
* doc/gcov.texi (Gcov Data Files): Data might be merged.
for the next gcc build, so that you no longer find it in documentation...
It's also mentioned in the gprof info page.
Should be fixed in gcc-3.2-2 and later.