[7u6] Request for approval for CR 7171223 - Building ExtensionSubtables.cpp should use -fno-strict-aliasing

Andrew Hughes ahughes at redhat.com
Mon Jun 11 16:20:50 PDT 2012


Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7171223
Changeset: http://hg.openjdk.java.net/jdk8/2d/jdk/rev/c892ca15ca52
Review thread: http://mail.openjdk.java.net/pipermail/2d-dev/2012-May/002517.html
Reviewers: prr, ohair

Without this, GCC 4.4 and later produce a warning and bad code may be produced
as a result.

It's down to the addition of:

#define READ_LONG(code) (le_uint32)((SWAPW(*(le_uint16*)&code) << 16) + SWAPW(*(((le_uint16*)&code) + 1)))

in:

changeset:   3171:1d4340015b85
user:        srl
date:        Mon Dec 06 16:10:01 2010 -0800
summary:     6886358: layout code update

Ok for backport?
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the jdk7u-dev mailing list