This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: fold BIT_AND_EXPR's with ADDR_EXPR operands


On Mon, Sep 17, 2007 at 11:53:43PM -0700, Ollie Wild wrote:
> 2007-09-07  Ollie Wild  <aaw@google.com>
> 
>       gcc.dg/fold-bitand-1.c: New test.
>       gcc.dg/fold-bitand-2.c: New test.
>       gcc.dg/fold-bitand-3.c: New test.
>       gcc.dg/fold-bitand-4.c: New test.

The tests shouldn't cast pointers to (unsigned), but to uintptr_t
or at least size_t, otherwise it is -Wpointer-to-int-cast material
on LP64 architectures.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]