public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "schwab at suse dot de" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/32277] indir-call-prof fails on ia64-linux-gnu Date: Wed, 08 Oct 2008 23:01:00 -0000 [thread overview] Message-ID: <20081008225956.14338.qmail@sourceware.org> (raw) In-Reply-To: <bug-32277-682@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from schwab at suse dot de 2008-10-08 22:59 ------- This patch works for me: Index: libgcov.c =================================================================== --- libgcov.c (revision 140731) +++ libgcov.c (working copy) @@ -777,7 +777,11 @@ void __gcov_indirect_call_profiler (gcov_type* counter, gcov_type value, void* cur_func, void* callee_func) { +#ifdef __ia64__ + if (callee_func && *(void **) cur_func == *(void **) callee_func) +#else if (cur_func == callee_func) +#endif __gcov_one_value_profiler_body (counter, value); } #endif -- schwab at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |schwab at suse dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32277
next prev parent reply other threads:[~2008-10-08 23:01 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-06-10 16:51 [Bug target/32277] New: [4.3 Regression] g++ failures hjl at lucon dot org 2007-06-19 21:12 ` [Bug target/32277] indir-call-prof fails on ia64-linux-gnu sje at cup dot hp dot com 2008-10-08 23:01 ` schwab at suse dot de [this message] 2008-10-29 19:46 ` sje at gcc dot gnu dot org 2008-10-29 19:49 ` sje at cup dot hp dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20081008225956.14338.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).