This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Re: Checking out PR4483 (constant overflow on PPC, problems compiling Linux kernel)
- From: Geert Bosch <bosch at gnat dot com>
- To: Corey Minyard <minyard at acm dot org>
- Cc: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>,gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Nov 2001 12:53:49 -0500
- Subject: Re: [PATCH] Re: Checking out PR4483 (constant overflow on PPC, problems compiling Linux kernel)
On Friday, November 30, 2001, at 11:27 , Corey Minyard wrote:
> In one situation, we have an expression (0x80000000UL - u). "u"
> get substituted with 42
Since "u" was an int in the user's code, I'd think it should still
be an int
and have SI mode, and the plus operation should have been done in
that mode too.
Inlining should never affect the mode that is used for operations.
-Geert