[Bug middle-end/323] optimized code gives strange floating point results

2013-04-26 Thread jasonwucj at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 Chung-Ju Wu changed: What|Removed |Added CC||jasonwucj at gmail dot com -- Configure bug

Bug#706224: cannot find crtbegin.o: No such file or directory

2013-04-26 Thread Mathieu Malaterre
Package: gcc-multilib Version: 4:4.7.2-1 Severity: important For some reason I can no longuer use my 32bits schroot system to compile it fails with: $ echo "int main(){}" > t.c $ gcc -v t.c Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.7/lto-wrapper Targ

Bug#706222: gcc-multilib: Canot install gcc-multilib

2013-04-26 Thread sr
Package: gcc-multilib Severity: normal -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.8-8.towo-siduction-amd64 (SMP w/8 CPU cores; PREEMPT) Locale: LANG=en_US.utf8, LC_CTYPE

[Bug middle-end/323] optimized code gives strange floating point results

2013-04-26 Thread ondrej at sury dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=323 Ondřej Surý changed: What|Removed |Added CC||ondrej at sury dot org --- Comment #190 from

Bug#706207: gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?))

2013-04-26 Thread Ondřej Surý
JFTR I have already fixed the code upstream. Feel free to close this bug or better mark it upstream+wontfix, so others not so versed in upstream bugzilla can find it. Ondřej Surý On 26. 4. 2013, at 16:27, Matthias Klose wrote: > Am 26.04.2013 14:37, schrieb Ondřej Surý: >> I am lowering the s

Bug#706207: gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?))

2013-04-26 Thread Matthias Klose
Am 26.04.2013 14:37, schrieb Ondřej Surý: > I am lowering the severity and moving the discussion to gcc bugzilla, ok? no. this will be resolved upstream as a dup for PR323. please fix your code. -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Tro

Re: gnat-4.8_4.8.0-1~exp1_amd64.changes is NEW

2013-04-26 Thread Matthias Klose
Am 25.04.2013 23:17, schrieb Ludovic Brenta: >> Ludovic, seen that the gnat-4.7 and gnat-4.8 uploads did wait in NEW >> for the last three months, please could you make these available on >> people.debian.org too? > > Done, at last. Sorry for the delay. This build (4.8.0-1~exp2) includes > your

Processed: Re: Bug#706207: gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?))

2013-04-26 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org: > forwarded 706207 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57080 Bug #706207 [gcc-4.6,gcc-4.7] gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?)) Set Bug forwarded-to-address to 'http:/

Bug#706207: gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?))

2013-04-26 Thread Ondřej Surý
forwarded 706207 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57080 severity 706207 minor thank you On Fri, Apr 26, 2013 at 2:09 PM, Bastian Blank wrote: > On Fri, Apr 26, 2013 at 01:04:30PM +0200, Ondřej Surý wrote: >> I don't object to this, but somehow I fail to grasp the idea that the >> resul

Bug#706207: gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?))

2013-04-26 Thread Bastian Blank
On Fri, Apr 26, 2013 at 01:04:30PM +0200, Ondřej Surý wrote: > I don't object to this, but somehow I fail to grasp the idea that the > result depends on architecture and optimization level. There are negative number involved. The result is somewhere within 5.0+-$epsilon depending on order of calcu

Bug#706207: gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?))

2013-04-26 Thread Ondřej Surý
On Fri, Apr 26, 2013 at 12:43 PM, Bastian Blank wrote: > On Fri, Apr 26, 2013 at 12:27:53PM +0200, Ondřej Surý wrote: >> This code from libgd2:src/gd.c:clip_1d: >> *y1 -= m * (*x1 - mindim); >> where >> m = (double) -0.05 >> *x1 = -200 >> mindim = 0 >> *y1 = 15 >> results in *y1 = 4,

Bug#706207: gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?))

2013-04-26 Thread Bastian Blank
On Fri, Apr 26, 2013 at 12:27:53PM +0200, Ondřej Surý wrote: > This code from libgd2:src/gd.c:clip_1d: > *y1 -= m * (*x1 - mindim); > where > m = (double) -0.05 > *x1 = -200 > mindim = 0 > *y1 = 15 > results in *y1 = 4, which is incorrect value, since it should be 5. Nope. The result

Bug#706207: gcc-4.6, gcc-4.7: invalid optimization when doing double -> int math and conversion (on big endian archs(?))

2013-04-26 Thread Ondřej Surý
Package: gcc-4.6,gcc-4.7 Version: 4.6.3-15 Severity: normal Dear Maintainer, this bug manifest itself on ia64, powerpc and s390x where gcc-4.6 is used and the optmized code (-O2) fails to produce correct math results. This code from libgd2:src/gd.c:clip_1d: *y1 -= m * (*x1 - mindim); where