This is the mail archive of the gcc-bugs@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]

[Bug lto/44904] Maybe bogus Use of type ?struct nsCSSStyleSheet? with two mismatching declarations at field ?mRuleProcessors? warnings in Mozilla


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

Jan Hubicka <hubicka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from Jan Hubicka <hubicka at gcc dot gnu.org> 2011-01-08 20:02:15 UTC ---
Seems gone now.
evans:/abuild/jh/trunk-3/build-inst2/gcc/tc/tc2/:[0]#
/abuild/jh/trunk-install/bin/g++ -O2 -flto -r -nostdlib tc/*.ii
../../../layout/style/nsCSSStyleRule.cpp: In member function
'DOMCSSStyleRuleImpl* DOMCSSDeclarationImpl::DomRule()':
../../../layout/style/nsCSSStyleRule.cpp:1037:53: warning: invalid access to
non-static data member 'DOMCSSStyleRuleImpl::mDOMDeclaration'  of NULL object
[-Winvalid-offsetof]
../../../layout/style/nsCSSStyleRule.cpp:1037:53: warning: (perhaps the
'offsetof' macro was used incorrectly) [-Winvalid-offsetof]
In file included from ../../../layout/style/nsCSSRuleProcessor.h:52:0,
                 from ../../../layout/style/nsCSSStyleSheet.cpp:48:
../../../layout/style/nsCSSRules.h: In member function 'nsCSSFontFaceRule*
nsCSSFontFaceStyleDecl::ContainingRule()':
../../../layout/style/nsCSSRules.h:292:77: warning: invalid access to
non-static data member 'nsCSSFontFaceRule::mDecl'  of NULL object
[-Winvalid-offsetof]
../../../layout/style/nsCSSRules.h:292:77: warning: (perhaps the 'offsetof'
macro was used incorrectly) [-Winvalid-offsetof]
../../../layout/style/nsCSSRules.h: In member function 'const
nsCSSFontFaceRule* nsCSSFontFaceStyleDecl::ContainingRule() const':
../../../layout/style/nsCSSRules.h:299:83: warning: invalid access to
non-static data member 'nsCSSFontFaceRule::mDecl'  of NULL object
[-Winvalid-offsetof]
../../../layout/style/nsCSSRules.h:299:83: warning: (perhaps the 'offsetof'
macro was used incorrectly) [-Winvalid-offsetof]


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