public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug ipa/64538] New: [4.9/5 Regression] Devirt ICE in possible_polymorphic_call_targets @ 2015-01-08 11:57 jakub at gcc dot gnu.org 2015-01-08 12:06 ` [Bug ipa/64538] " jakub at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: jakub at gcc dot gnu.org @ 2015-01-08 11:57 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64538 Bug ID: 64538 Summary: [4.9/5 Regression] Devirt ICE in possible_polymorphic_call_targets Product: gcc Version: 4.9.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org struct A {}; template <typename> struct I; struct P { virtual ~P(); }; template <typename> struct B; struct J : P { friend I<B<double>>; virtual B<int> &foo(int); }; struct L : virtual J, virtual P {}; struct C { P &c; C(P &p1) : c(p1) {} }; template <typename B> struct I : C { typedef typename B::template F<0>::t R; J &c; I(J &p1) : C(p1), c(p1) {} R &bar(int) { c.foo(0); } }; template <int, typename T> struct K : A { typedef typename T::S S; bool baz(const int &, I<S> &p2, I<S> &p3); }; struct D { virtual void foo(); }; template <typename> struct B { template <int> struct F { typedef int t; }; }; struct M : P, virtual public J {}; struct N : public M, virtual L {}; struct O : public N, D { O(int); }; struct G { typedef B<double> S; template <int> struct H { typedef O t; }; }; template <int N, typename T> bool K<N, T>::baz(const int &, I<S> &p2, I<S> &p3) { typedef typename T::template H<0>::t W; typedef typename S::template F<0>::t R; W a(0); I<S> b(a); R &c = b.bar(0); } template struct K<0, G>; with -std=c++0x -O2 started to ICE with r201836 and while the exact spot where it ICEd changed several times, it continues to ICE with current 4.9 branch and latest trunk. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ipa/64538] [4.9/5 Regression] Devirt ICE in possible_polymorphic_call_targets 2015-01-08 11:57 [Bug ipa/64538] New: [4.9/5 Regression] Devirt ICE in possible_polymorphic_call_targets jakub at gcc dot gnu.org @ 2015-01-08 12:06 ` jakub at gcc dot gnu.org 2015-01-13 12:51 ` rguenth at gcc dot gnu.org 2015-01-27 17:11 ` hubicka at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: jakub at gcc dot gnu.org @ 2015-01-08 12:06 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64538 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-01-08 CC| |hubicka at gcc dot gnu.org Target Milestone|--- |4.9.3 Ever confirmed|0 |1 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ipa/64538] [4.9/5 Regression] Devirt ICE in possible_polymorphic_call_targets 2015-01-08 11:57 [Bug ipa/64538] New: [4.9/5 Regression] Devirt ICE in possible_polymorphic_call_targets jakub at gcc dot gnu.org 2015-01-08 12:06 ` [Bug ipa/64538] " jakub at gcc dot gnu.org @ 2015-01-13 12:51 ` rguenth at gcc dot gnu.org 2015-01-27 17:11 ` hubicka at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu.org @ 2015-01-13 12:51 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64538 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Priority|P3 |P2 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug ipa/64538] [4.9/5 Regression] Devirt ICE in possible_polymorphic_call_targets 2015-01-08 11:57 [Bug ipa/64538] New: [4.9/5 Regression] Devirt ICE in possible_polymorphic_call_targets jakub at gcc dot gnu.org 2015-01-08 12:06 ` [Bug ipa/64538] " jakub at gcc dot gnu.org 2015-01-13 12:51 ` rguenth at gcc dot gnu.org @ 2015-01-27 17:11 ` hubicka at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: hubicka at gcc dot gnu.org @ 2015-01-27 17:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64538 Jan Hubicka <hubicka at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |DUPLICATE --- Comment #1 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Also fixed by fix for PR60871 *** This bug has been marked as a duplicate of bug 60871 *** ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-01-27 17:11 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-01-08 11:57 [Bug ipa/64538] New: [4.9/5 Regression] Devirt ICE in possible_polymorphic_call_targets jakub at gcc dot gnu.org 2015-01-08 12:06 ` [Bug ipa/64538] " jakub at gcc dot gnu.org 2015-01-13 12:51 ` rguenth at gcc dot gnu.org 2015-01-27 17:11 ` hubicka at gcc dot gnu.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).