[Bug lto/44894] New: bogus warning: Use of type Âstruct nsNodeInfoManager with two mismatching declarations at field ÂmDocument [enabled by default]
hubicka at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jul 9 18:31:00 GMT 2010
jh@evans:/abuild/jh/mozilla-central/build9/content/base/src>
/abuild/jh/trunk-install/bin/g++ -flto -r -nostdlib tc/*.ii
In file included from ../../../../content/base/src/nsContentUtils.cpp:45:0:
../../../dist/include/jscntxt.h: In function ÂJSContext*
js_ContextFromLinkField(JSCList*)Â:
../../../dist/include/jscntxt.h:2704:75: warning: invalid access to non-static
data member ÂJSContext::link of NULL object [-Winvalid-offsetof]
../../../dist/include/jscntxt.h:2704:75: warning: (perhaps the Âoffsetof macro
was used incorrectly) [-Winvalid-offsetof]
In file included from ../../../dist/include/nsCSSRuleProcessor.h:52:0,
from ../../../../content/base/src/nsGenericElement.cpp:139:
../../../../content/base/src/../../../layout/style/nsCSSRules.h: In member
function ÂnsCSSFontFaceRule* nsCSSFontFaceStyleDecl::ContainingRule()Â:
../../../../content/base/src/../../../layout/style/nsCSSRules.h:292:77:
warning: invalid access to non-static data member ÂnsCSSFontFaceRule::mDeclÂ
of NULL object [-
Winvalid-offsetof]
../../../../content/base/src/../../../layout/style/nsCSSRules.h:292:77:
warning: (perhaps the Âoffsetof macro was used incorrectly)
[-Winvalid-offsetof]
../../../../content/base/src/../../../layout/style/nsCSSRules.h: In member
function Âconst nsCSSFontFaceRule* nsCSSFontFaceStyleDecl::ContainingRule()
constÂ:
../../../../content/base/src/../../../layout/style/nsCSSRules.h:299:83:
warning: invalid access to non-static data member ÂnsCSSFontFaceRule::mDeclÂ
of NULL object [-
Winvalid-offsetof]
../../../../content/base/src/../../../layout/style/nsCSSRules.h:299:83:
warning: (perhaps the Âoffsetof macro was used incorrectly)
[-Winvalid-offsetof]
In member function ÂUnlinkÂ:
../../../../content/base/src/nsGenericElement.cpp:5581:1: warning: Use of type
Âstruct nsNodeInfoManager with two mismatching declarations at field
ÂmDocument [enabl
ed by default]
../../../dist/include/nsNodeInfoManager.h:71:232: note: original type declared
here
../../../dist/include/nsNodeInfoManager.h:157:16: note: field in mismatching
type declared here
In member function ÂSetAttrAndNotifyÂ:
../../../../content/base/src/nsGenericElement.cpp:5581:1: warning: Use of type
Âstruct nsNodeInfoManager with two mismatching declarations at field
ÂmDocument [enabl
ed by default]
../../../dist/include/nsNodeInfoManager.h:71:232: note: original type declared
here
../../../dist/include/nsNodeInfoManager.h:157:16: note: field in mismatching
type declared here
../../../../content/base/src/nsGenericElement.cpp:5581:1: warning: Use of type
Âstruct nsNodeInfoManager with two mismatching declarations at field
ÂmDocument [enabl
ed by default]
../../../dist/include/nsNodeInfoManager.h:71:232: note: original type declared
here
../../../dist/include/nsNodeInfoManager.h:157:16: note: field in mismatching
type declared here
../../../../content/base/src/nsGenericElement.cpp:5581:1: warning: Use of type
Âstruct nsNodeInfoManager with two mismatching declarations at field
ÂmDocument [enabl
ed by default]
../../../dist/include/nsNodeInfoManager.h:71:232: note: original type declared
here
../../../dist/include/nsNodeInfoManager.h:157:16: note: field in mismatching
type declared here
../../../../content/base/src/nsGenericElement.cpp:5581:1: warning: Use of type
Âstruct nsNodeInfoManager with two mismatching declarations at field
ÂmDocument [enabl
ed by default]
../../../dist/include/nsNodeInfoManager.h:71:232: note: original type declared
here
../../../dist/include/nsNodeInfoManager.h:157:16: note: field in mismatching
type declared here
../../../../content/base/src/nsGenericElement.cpp:5581:1: warning: Use of type
Âstruct nsNodeInfoManager with two mismatching declarations at field
ÂmDocument [enabl
ed by default]
../../../dist/include/nsNodeInfoManager.h:71:232: note: original type declared
here
../../../dist/include/nsNodeInfoManager.h:157:16: note: field in mismatching
type declared here
../../../../content/base/src/nsGenericElement.cpp:5581:1: warning: Use of type
Âstruct nsNodeInfoManager with two mismatching declarations at field
ÂmDocument [enabl
ed by default]
../../../dist/include/nsNodeInfoManager.h:71:232: note: original type declared
here
../../../dist/include/nsNodeInfoManager.h:157:16: note: field in mismatching
type declared here
In member function ÂUnsetAttrÂ:
....
--
Summary: bogus warning: Use of type Âstruct nsNodeInfoManagerÂ
with two mismatching declarations at field ÂmDocumentÂ
[enabled by default]
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hubicka at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44894
More information about the Gcc-bugs
mailing list