OSDN Git Service

2014-01-29 Markus Trippelsdorf <markus@trippelsdorf.de>
authortrippels <trippels@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jan 2014 18:36:42 +0000 (18:36 +0000)
committertrippels <trippels@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Jan 2014 18:36:42 +0000 (18:36 +0000)
commite91c42836305df2238882831f0257641125c0da1
treeb0fb280a060a65f8f902a8f76fa678670a4f157e
parentc007ef0241ac3a310028e6b135f09bc381b5c4e3
2014-01-29  Markus Trippelsdorf  <markus@trippelsdorf.de>

        Backport from mainline
        2012-12-13  Jakub Jelinek  <jakub@redhat.com>

        PR gcov-profile/55650
        * coverage.c (coverage_obj_init): Return false if no functions
        are being emitted.

        * g++.dg/other/pr55650.C: New test.
        * g++.dg/other/pr55650.cc: New file

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@207277 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/coverage.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/pr55650.C [new file with mode: 0644]
gcc/testsuite/g++.dg/other/pr55650.cc [new file with mode: 0644]