re PR gcov-profile/55650 (Firefox profiledbuild: libxul.so: cannot map zero-fill...
authorJakub Jelinek <jakub@redhat.com>
Thu, 13 Dec 2012 10:11:39 +0000 (11:11 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 13 Dec 2012 10:11:39 +0000 (11:11 +0100)
commit0f9fb22fd5e6e0611b7fb969aafe388aec70f4b2
tree792cd3bc067f7c473764f2d4245c86593b6a2885
parent3c53f55a97cc10a3cc4e4dabe9e90f98537baf33
re PR gcov-profile/55650 (Firefox profiledbuild:  libxul.so: cannot map zero-fill pages: Cannot allocate memory)

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.

From-SVN: r194470
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]