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: [committed] fix PR testsuite/29007, gcc.dg/long-long-cst1.c fails


On Sun, Sep 10, 2006 at 04:13:18PM -0700, Andrew Pinski wrote:
> There are two problems with this testcase, one is that we don't return 0
> on success so the test would fail on some targets.  Two is that for
> 64bit targets this testcase would fail because we would warn about
> casting from a pointer type to an integer type that are different sizes.
> 
> Committed after a test that the testcase now passes.

The same testcase has been committed to gcc-4_1-branch as well, do you plan
to commit the fix there too?
Thanks.

> 2006-09-10  Andrew Pinski  <pinskia@physics.uc.edu>
> 
>         * gcc.dg/long-long-cst1.c (t): Add cast to
>         __SIZE_TYPE__ before casting to int.
>         (main): Return 0 on success.

	Jakub


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