public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/37167] New: C++ gives bogus error message (aliased to undefined symbol) @ 2008-08-19 22:18 sje at cup dot hp dot com 2008-08-24 22:56 ` [Bug c++/37167] [4.4 Regression] " pinskia at gcc dot gnu dot org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: sje at cup dot hp dot com @ 2008-08-19 22:18 UTC (permalink / raw) To: gcc-bugs This seems to be caused by the unit-at-a-time changes, the following program compiled cleanly with -O2 at version 138139 but gives an error message when compiled (with -O2) at version 138140. I found it on IA64 HP-UX but was able to reproduce it on x86_64 Linux. class A { }; class B : public virtual A { }; class C { public: virtual class A* foo() const; }; class D : public virtual C { public: virtual struct B* foo() const; }; class B* D::foo() const { return 0; } ----- x.cpp:7: error: 'B* *.LTHUNK1() const' aliased to undefined symbol '_ZTch0_v0_n24_NK1D3fooEv -- Summary: C++ gives bogus error message (aliased to undefined symbol) Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sje at cup dot hp dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37167 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/37167] [4.4 Regression] C++ gives bogus error message (aliased to undefined symbol) 2008-08-19 22:18 [Bug c++/37167] New: C++ gives bogus error message (aliased to undefined symbol) sje at cup dot hp dot com @ 2008-08-24 22:56 ` pinskia at gcc dot gnu dot org 2008-09-09 20:22 ` jsm28 at gcc dot gnu dot org 2008-09-10 8:34 ` jakub at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: pinskia at gcc dot gnu dot org @ 2008-08-24 22:56 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-24 22:55 ------- Confirmed also on PowerPC 64 GNU/Linux. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2008-08-24 22:55:16 date| | Summary|C++ gives bogus error |[4.4 Regression] C++ gives |message (aliased to |bogus error message (aliased |undefined symbol) |to undefined symbol) Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37167 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/37167] [4.4 Regression] C++ gives bogus error message (aliased to undefined symbol) 2008-08-19 22:18 [Bug c++/37167] New: C++ gives bogus error message (aliased to undefined symbol) sje at cup dot hp dot com 2008-08-24 22:56 ` [Bug c++/37167] [4.4 Regression] " pinskia at gcc dot gnu dot org @ 2008-09-09 20:22 ` jsm28 at gcc dot gnu dot org 2008-09-10 8:34 ` jakub at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: jsm28 at gcc dot gnu dot org @ 2008-09-09 20:22 UTC (permalink / raw) To: gcc-bugs -- jsm28 at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37167 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/37167] [4.4 Regression] C++ gives bogus error message (aliased to undefined symbol) 2008-08-19 22:18 [Bug c++/37167] New: C++ gives bogus error message (aliased to undefined symbol) sje at cup dot hp dot com 2008-08-24 22:56 ` [Bug c++/37167] [4.4 Regression] " pinskia at gcc dot gnu dot org 2008-09-09 20:22 ` jsm28 at gcc dot gnu dot org @ 2008-09-10 8:34 ` jakub at gcc dot gnu dot org 2 siblings, 0 replies; 4+ messages in thread From: jakub at gcc dot gnu dot org @ 2008-09-10 8:34 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from jakub at gcc dot gnu dot org 2008-09-10 08:32 ------- *** This bug has been marked as a duplicate of 37095 *** -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37167 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-09-10 8:34 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-08-19 22:18 [Bug c++/37167] New: C++ gives bogus error message (aliased to undefined symbol) sje at cup dot hp dot com 2008-08-24 22:56 ` [Bug c++/37167] [4.4 Regression] " pinskia at gcc dot gnu dot org 2008-09-09 20:22 ` jsm28 at gcc dot gnu dot org 2008-09-10 8:34 ` jakub 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).