Re: Warning: Immediates 21 and 32 will give undefined behavior.
On Fri, Jul 31, 2009 at 2:18 PM, John David
Anglin<dave@hiauly1.hia.nrc.ca> wrote:
> On Fri, 31 Jul 2009, Carlos O'Donell wrote:
>
>> On Fri, Jul 31, 2009 at 10:26 AM, Frans Pop<elendil@planet.nl> wrote:
>> > During compilations using gcc-4.3 of the upstream 2.6.31-rc4 kernel, I
>> > twice noticed the warning below. As the compilation was done with '-j4',
>> > I'm not sure what code causes it. I'm also not sure if the example below
>> > is the same as the first time I saw it.
>> >
>> > Is this something to worry about, or to ignore?
>> >
>> > The kernel config was 64-bits SMP.
>
> The problem is believed to be fixed in the GCC trunk, 4.3 and 4.4
> branches. It is not fixed in any released version of GCC. Helge
> reported this a couple of weeks ago.
>
> GCC loads various constants with depwi and depdi. The deposit length
> was wrong.
If I understand correctly, are you saying that debian's gcc is at
fault, and that the bug was never in a released version of gcc?
Cheers,
Carlos.
Reply to: