These seems to be last kind of warnings I can not debug in Mozilla. Might be
bogus but I don't see how.

Honza

j...@evans:/abuild/jh/mozilla-central/build10/layout/style>
/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]                                
In member function ?__base_ctor ?:                                              
../../../layout/style/nsCSSStyleSheet.cpp:1001:23: warning: Use of type ?struct
nsCSSStyleSheet? with two mismatching declarations at field ?mRuleProcessors?
[enabled by default]                                                            
../../../layout/style/nsCSSStyleSheet.h:128:7: note: original type declared
here                                                                            
../../../layout/style/nsCSSStyleSheet.h:294:41: note: field in mismatching type
declared here                                                                   
In member function ?__base_ctor ?:                                              
../../../layout/style/nsCSSStyleSheet.cpp:981:23: warning: Use of type ?struct
nsCSSStyleSheet? with two mismatching declarations at field ?mRuleProcessors?
[enabled by default]                                                            
../../../layout/style/nsCSSStyleSheet.h:128:7: note: original type declared
here                                                                            
../../../layout/style/nsCSSStyleSheet.h:294:41: note: field in mismatching type
declared here                                                                   
In member function ?__base_dtor ?:                                              
../../../layout/style/nsCSSStyleSheet.cpp:1044:3: warning: Use of type ?struct
nsCSSStyleSheet? with two mismatching declarations at field ?mRuleProcessors?
[enabled by default]                                                            
../../../layout/style/nsCSSStyleSheet.h:128:7: note: original type declared
here                                                                            
../../../layout/style/nsCSSStyleSheet.h:294:41: note: field in mismatching type
declared here                                                                   
../../../layout/style/nsCSSStyleSheet.cpp:1046:27: warning: Use of type ?struct
nsCSSStyleSheet? with two mismatching declarations at field ?mRuleProcessors?
[enabled by default]                                                            
../../../layout/style/nsCSSStyleSheet.h:128:7: note: original type declared
here                                                                            
../../../layout/style/nsCSSStyleSheet.h:294:41: note: field in mismatching type
declared here


-- 
           Summary: Maybe bogus Use of type ?struct nsCSSStyleSheet? with
                    two mismatching declarations at field ?mRuleProcessors?
                    warnings in Mozilla
           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
 GCC build triplet: x86_64-linux
  GCC host triplet: x86_64-linux
GCC target triplet: x86_64-linux


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

Reply via email to