Re: Compiler warnings, overflow

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 31 July 2014 19:00, Ricardo Telichevesky <ricardo@xxxxxxxx> wrote:
> Hi, hope this is the right list.
>
> Here is my code and output, at the bottom of the e-mail. y is "correct", w
> and z obviously have problems - multiplying two 32-bit integers "hoping" the
> result would be correct assigning to 64-bit - I guess it is the same problem
> as double oneThird= 1/3;  the result being zero, and not 0.3333.

I think this is  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42935

But unfortunately, we have too many bugs/enhancements to fix and too
few people to work on them, so I would not expect to get this one
fixed soon.

If you have some free time (or someone with programming skills that
you can convince/pay), I think it should not be very hard to implement
(only time consuming), but the devil is in the details.

Cheers,

Manuel.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux