--- Comment #35 from abnikant dot singh at atmel dot com 2010-09-14 07:13
---
In the head c-common.c is placed in gcc/c-family/c-common.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18065
--- Comment #34 from abnikant dot singh at atmel dot com 2010-09-14 07:06
---
Yeah, this is happening because of the type promotion in gcc/c-common.c in the
function c_promoting_integer_type_p. See this:
/* Nonzero if the type T promotes to int. This is (nearly) the
integral promot
--- Additional Comments From schlie at comcast dot net 2005-01-16 17:39
---
Subject: Re: usual arithmetic conversion not
applying correctly
> From: schlie at comcast dot net <[EMAIL PROTECTED]>
> --- Additional Comments From schlie at comcast dot net 2005-01-16 07:16
> Subject
-1. */
> From: pinskia at gcc dot gnu dot org <[EMAIL PROTECTED]>
> Subject: [Bug tree-optimization/18065] usual arithmetic conversion not
> applying correctly
>
> --
>What|Removed |Added
> ---
--
What|Removed |Added
Severity|normal |enhancement
Priority|P1 |P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18
--- Additional Comments From schlie at comcast dot net 2004-12-21 20:50
---
(although not the most elegant fix)
This fixes the rest of the problem, as there's no reaon to default promote
smaller than int sized
integers to int, they will end up being promoted if required by the back-end
--- Additional Comments From bangerth at dealii dot org 2004-10-21 12:47 ---
> And for what little it may be worth, for good or bad, the factual reality
> is that there are 100's of times more small processors programmed and
> deployed in products than there are 32+ bit processors, ther
--- Additional Comments From schlie at comcast dot net 2004-10-21 01:28 ---
Subject: Re: usual arithmetic conversion not applying
correctly
Andrew,
So regardless of the all other things, it seems minimally clear that
the promotion code as it stands now should allow the required result
> From: jsm at polyomino dot org dot uk <[EMAIL PROTECTED]>
> Reply-To: <[EMAIL PROTECTED]>
> Date: 20 Oct 2004 23:03:15 -
> To: <[EMAIL PROTECTED]>
> Subject: [Bug tree-optimization/18065] usual arithmetic conversion not
> applying correctly
>
>
er type.
> From: jsm at polyomino dot org dot uk <[EMAIL PROTECTED]>
> Reply-To: <[EMAIL PROTECTED]>
> Date: 20 Oct 2004 22:41:59 -
> To: <[EMAIL PROTECTED]>
> Subject: [Bug tree-optimization/18065] usual arithmetic conversion not
> applying correctly
--- Additional Comments From jsm at polyomino dot org dot uk 2004-10-20 23:03
---
Subject: Re: C integer promotion semantics /
front end problems.
I presume you sent your message directly to me by mistake, so am sending
the reply back to the bug database so it can benefit more than o
--- Additional Comments From jsm at polyomino dot org dot uk 2004-10-20 22:41
---
Subject: Re: usual arithmetic conversion not applying correctly
On Wed, 20 Oct 2004, schlie at comcast dot net wrote:
> It's a pretty major screw-up to presume
> all target machines are large, and then
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-20 22:31
---
That was not me writting that but a C front-end person so why did you write Andrew?
--
What|Removed |Added
---
13 matches
Mail list logo