From: Denis Zaitsev <zzz@anda.ru>
To: Andrew Pinski <pinskia@physics.uc.edu>
Cc: gcc@gcc.gnu.org, linux-gcc@vger.kernel.org,
gcc-patches@gcc.gnu.org, Zack Weinberg <zack@codesourcery.com>
Subject: Re: [PATCH] GCC 3.4.3: libobjc build failure
Date: Tue, 21 Dec 2004 03:07:55 +0500 [thread overview]
Message-ID: <20041221030755.C8330@natasha.ward.six> (raw)
In-Reply-To: <A336BC32-52D1-11D9-9FB0-000A95D692F4@physics.uc.edu>; from pinskia@physics.uc.edu on Mon, Dec 20, 2004 at 04:53:52PM -0500
On Mon, Dec 20, 2004 at 04:53:52PM -0500, Andrew Pinski wrote:
> The uses of the macros are not needed as shown by a "grep -r ."
>
> Does this patch fix the problem for you?
>
> Thanks,
> Andrew Pinski
>
> Index: gc.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/libobjc/gc.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 gc.c
> --- gc.c 23 May 2003 20:04:58 -0000 1.6
> +++ gc.c 20 Dec 2004 21:51:20 -0000
> @@ -40,18 +40,6 @@ Boston, MA 02111-1307, USA. */
> typedef GC_word word;
> typedef GC_signed_word signed_word;
>
> -#if BITS_PER_WORD == 32
> -# define LOGWL 5
> -# define modWORDSZ(n) ((n) & 0x1f) /* n mod size of word */
> -#endif
> -
> -#if BITS_PER_WORD == 64
> -# define LOGWL 6
> -# define modWORDSZ(n) ((n) & 0x3f) /* n mod size of word */
> -#endif
> -
> -#define divWORDSZ(n) ((n) >> LOGWL) /* divide n by size of word */
> -
> #include <gc_typed.h>
>
> /* The following functions set up in `mask` the corresponding pointers.
The problem is not really here, but there:
line 316 of gc.c:
size = ROUND (bits_no, BITS_PER_WORD) / BITS_PER_WORD;
So... Why doesn't your grep show this?
next prev parent reply other threads:[~2004-12-20 22:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-20 21:35 [PATCH] GCC 3.4.3: libobjc build failure Denis Zaitsev
2004-12-20 21:38 ` Andrew Pinski
2004-12-20 21:48 ` Denis Zaitsev
2004-12-20 21:53 ` Andrew Pinski
2004-12-20 22:03 ` Andrew Pinski
2004-12-20 22:26 ` Denis Zaitsev
2004-12-20 22:32 ` Andrew Pinski
2004-12-20 22:35 ` Andrew Pinski
2004-12-20 22:46 ` Denis Zaitsev
2004-12-20 22:48 ` Andrew Pinski
2004-12-20 23:14 ` Denis Zaitsev
2004-12-20 22:07 ` Denis Zaitsev [this message]
2004-12-20 21:50 ` Zack Weinberg
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=20041221030755.C8330@natasha.ward.six \
--to=zzz@anda.ru \
--cc=gcc-patches@gcc.gnu.org \
--cc=gcc@gcc.gnu.org \
--cc=linux-gcc@vger.kernel.org \
--cc=pinskia@physics.uc.edu \
--cc=zack@codesourcery.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.