[Bug c++/61691] New: [4.10 Regression] invalid use of incomplete type in Firefox
mliska at suse dot cz
gcc-bugzilla@gcc.gnu.org
Thu Jul 3 22:03:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61691
Bug ID: 61691
Summary: [4.10 Regression] invalid use of incomplete type in
Firefox
Product: gcc
Version: 4.10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: mliska at suse dot cz
Created attachment 33065
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33065&action=edit
reduced.ii
Starting from r212174, following error can be encountered in reduced test case
coming from latest Firefox:
g++ -std=gnu++0x -O2 -c /tmp/reduced.ii
/tmp/reduced.ii: In instantiation of ‘nsRefPtr<T>::~nsRefPtr() [with T =
mozilla::dom::AudioNode]’:
/tmp/reduced.ii:38:7: required from here
/tmp/reduced.ii:9:7: error: invalid use of incomplete type ‘class
mozilla::dom::AudioNode’
mRawPtr->Release();
^
/tmp/reduced.ii:25:7: note: forward declaration of ‘class
mozilla::dom::AudioNode’
class AudioNode;
I also attached original preprocessed file from Firefox.
Thanks,
Martin
More information about the Gcc-bugs
mailing list