From: NightStrike <nightstrike@gmail.com>
To: Kai Tietz <ktietz70@googlemail.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [patch middle-end]: Fix pointer cast warning for LLP64 in emit-rtl.c
Date: Sun, 16 Jan 2011 18:10:00 -0000 [thread overview]
Message-ID: <AANLkTik=wjUDBZ94niV1MHz3FV=6ZnuOj5C-yGh57ej9@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikNbSSDSrUsWqGsFVDOkK9G=FJs2sL5p93L5LqZ@mail.gmail.com>
Ping
On Tue, Jan 4, 2011 at 7:31 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
> Hello,
>
> ChangeLog gcc/
>
> 2011-01-04 Kai Tietz
>
> * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
>
> Tested for i686-pc-cygwin and x86_64-w64-mingw32. Ok for apply?
>
> Regards,
> Kai
>
> Index: emit-rtl.c
> ===================================================================
> --- emit-rtl.c (revision 168457)
> +++ emit-rtl.c (working copy)
> @@ -325,7 +325,7 @@
> {
> const reg_attrs *const p = (const reg_attrs *) x;
>
> - return ((p->offset * 1000) ^ (long) p->decl);
> + return (hashval_t) ((p->offset * 1000) ^ (intptr_t) p->decl);
> }
>
> /* Returns nonzero if the value represented by X (which is really a
>
next prev parent reply other threads:[~2011-01-16 14:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-04 12:45 Kai Tietz
2011-01-16 18:10 ` NightStrike [this message]
2011-01-24 17:26 ` Richard Henderson
2011-01-24 20:23 ` Kai Tietz
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='AANLkTik=wjUDBZ94niV1MHz3FV=6ZnuOj5C-yGh57ej9@mail.gmail.com' \
--to=nightstrike@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=ktietz70@googlemail.com \
/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: link
Be 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).