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

Bug#452108: gcc-4.2: Incorrect results with abs()



tags 452108 + patch
clone 452108 -1 -2 -3
reassign -1 gcc-4.1 4.1.2-17
reassign -2 gcc-3.3 1:3.3.6-15
reassign -3 gcc-3.4 3.4.6-6
thanks

On Tuesday 20 November 2007, Frans Pop wrote:
> The following test program will result in "OMG,-10==10 in linux!" when
> compiled with both gcc-4.1 and gcc-4.2.

Just tested that gcc-3.3 and gcc-3.4 are also affected.

Note that this issue is in theory pretty serious as in principle _any_ 
binary package in the archive could be affected.

A patch is available at:
http://www.nabble.com/-PATCH--Fix-PR34130,-extract_muldiv-broken-t4826688.html




Reply to: