Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian GCC (http://www.linux-archive.org/debian-gcc/)
-   -   Bug#651595: gcc-4.6: miscompiles p11-kit 0.9 testsuite on i386 (http://www.linux-archive.org/debian-gcc/608709-bug-651595-gcc-4-6-miscompiles-p11-kit-0-9-testsuite-i386.html)

Andreas Metzler 12-10-2011 09:47 AM

Bug#651595: gcc-4.6: miscompiles p11-kit 0.9 testsuite on i386
 
Package: gcc-4.6
Version: 4.6.2-6
Severity: normal

Hello,

on all i386 archs (linux, kfreebsd and GNU/hurd) p11-kit 0.9 showed a
testsuite error:

| 1) test__p11_hash_set_get_clear: hash-test.c:183: should be null

All other archs are fine. git bisect found this
http://cgit.freedesktop.org/p11-glue/p11-kit/commit/?id=969bcab592878322e410f4342a61fccc06b9addd
as triggering change. - The change only removes some unused code.

Rebuilding tests/hash-test.o with -O0 fixes the issue. The minimal
change is to set __attribute__((optimize("O0"))) on
CuFailInternal().

Both gcc-4.5 and gcc-snapshot 20111203-1 show the same behavior.

cu andreas



--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20111210104738.GA7393@downhill.g.la">http://lists.debian.org/20111210104738.GA7393@downhill.g.la


All times are GMT. The time now is 07:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.