This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Susprising behavior of gcc on x86 (-m32)


Dear all,

I am trying to track down the following OpenJPEG regression on x86
(amd64 is fine):

https://github.com/uclouvain/openjpeg/issues/571

In summary, if I compile OpenJPEG (git/master) using gcc (all gcc
versions in debian: 4.8, 4.9 and 5.2 are affected) and try to compress
a specific input file the generated J2K file is invalid. The bug is
somewhat problematic within OpenJPEG because it make lossless
compression: lossy !

I have not been able to reproduce this behavior using clang 3.5 (again
debian/sid chroot 32bits), and I am not able to reproduce this
behavior from an amd64 debian sid chroot.

What is even more surprising is that I can no longer reproduce the
behavior using `valgrind` from my 32bits chroot.

I understand that my bug description is relatively small, but I am
eager to report a more specific gcc issue. If anyone could help me
narrow down this issue, I'd appreciate your comments.

Please note that that I disabled any kind of optimizations by using
(explicitly!) -O0.

Thanks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]