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: [3.4 only] PR c/22589: ICE on casting to long long


On Wed, Jul 27, 2005 at 09:12:25PM +0100, Richard Sandiford wrote:
> > The test will fail on 64-bit architectures with:
> > warning: cast from pointer to integer of different size
> > IMHO either use dg-options "-w", or
> > /* { dg-require-effective-target ilp32 } */
> > or cast to long instead of int.
> 
> Thanks for catching that.  I prefer "-w", since this is a test
> for an ICE.  Is the patch OK with that change?

Or you can just move the test to gcc.c-torture/compile/ where the -w
is on by default.

	Jakub


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