This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 64 bit assignment trouble on a 32 bit platform
- From: Rask Ingemann Lambertsen <rask at sygehus dot dk>
- To: kum <a dot kumaresh at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 29 Oct 2007 11:01:09 +0100
- Subject: Re: 64 bit assignment trouble on a 32 bit platform
- References: <302c6e640710290235n554ba784l8a063214f22cf336@mail.gmail.com>
On Mon, Oct 29, 2007 at 03:05:32PM +0530, kum wrote:
>
> Is it necessary to type-cast both a32 and b32 to make above statements
> to work as expected? Without casting, I find that addition works while
> the multiplication does not. Is there a compiler option to make this
> work without casting? I am using gcc 4.1.1 on an xscale platform.
This is the wrong mailing list for such a question, please ask on
gcc-help@. Also please tell us what "work as expected" means. Otherwise, we
can't really answer your question.
--
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year