public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/44894]  New: bogus warning: Use of type ‘struct nsNodeInfoManager’ with two mismatching declarations at field ‘mDocument’ [enabled by default]
@ 2010-07-09 18:31 hubicka at gcc dot gnu dot org
  2010-07-09 18:35 ` [Bug lto/44894] " hubicka at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2010-07-09 18:31 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4907 bytes --]

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-07-10 12:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-09 18:31 [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
2010-07-09 18:35 ` [Bug lto/44894] " hubicka at gcc dot gnu dot org
2010-07-10 10:08 ` rguenth at gcc dot gnu dot org
2010-07-10 10:40 ` rguenth at gcc dot gnu dot org
2010-07-10 11:01 ` rguenth at gcc dot gnu dot org
2010-07-10 11:21 ` rguenth at gcc dot gnu dot org
2010-07-10 12:10 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).