re PR gcov-profile/52150 (junk at end of line in Firefox PGO build)
authorJakub Jelinek <jakub@redhat.com>
Wed, 8 Feb 2012 13:27:31 +0000 (14:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 8 Feb 2012 13:27:31 +0000 (14:27 +0100)
commit9e66e106ab1018782aba2630f01a059cb3c839d1
tree555df8dabc4c9d0caf61c53fd5283f58d15974f5
parentbd73623c908777daae42b70ee841e9c84fa7b9b4
re PR gcov-profile/52150 (junk at end of line in Firefox PGO build)

PR gcov-profile/52150
* coverage.c: Include target.h.
(build_var): Call targetm.strip_name_encoding on the assembler name.
Change one _ into . or $ if the target allows it.
* Makefile.in (coverage.o): Depend on $(TARGET_H).

* gcc.dg/tree-prof/pr52150.c: New test.

From-SVN: r184006
gcc/ChangeLog
gcc/Makefile.in
gcc/coverage.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/pr52150.c [new file with mode: 0644]