------- Comment #8 from pluto at agmk dot net  2006-09-20 20:44 -------
(In reply to comment #7)
> and one more misscompiled program -> gzip-1.3.5.
> this time 4.1.2 with -O2 -fwrapv produces wrong code.
> 
> $ dd if=/dev/zero of=foo count=10
> $ gzip foo
> $ gzip -d foo.gz
> $ gzip: foo.gz: invalid compressed data--format violated

further investigation shows that only `-O1 -ftree-vrp -fwrapv'
miscompiles the gzip/inflate.o.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28230

Reply via email to