public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/61207] [4.9 Regression] Win64 gcc 4.9.0: ICE in in expand_expr_addr_expr_1 at -Os compiling some C++ code Date: Fri, 06 Mar 2015 17:39:00 -0000 [thread overview] Message-ID: <bug-61207-4-tMUsN5muh3@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-61207-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61207 Matthias Klose <doko at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code CC| |doko at gcc dot gnu.org Known to work| |4.8.4, 5.0 Version|4.9.0 |4.9.2 Summary|Win64 gcc 4.9.0: ICE at -Os |[4.9 Regression] Win64 gcc |compiling some C++ code |4.9.0: ICE in in | |expand_expr_addr_expr_1 at | |-Os compiling some C++ code Known to fail| |4.9.2 --- Comment #6 from Matthias Klose <doko at gcc dot gnu.org> --- at least on arm-linux-gnueabihf, this is a regression in 4.9 (seen with -Os and -O3), works on the trunk. $ g++ -c -O3 moc_workplane.ii moc_workplane.ii: In member function 'virtual A C<int>::_ZTv0_n12_NK1CIiE5m_fn1Ev() const': moc_workplane.ii:8:45: internal compiler error: in expand_expr_addr_expr_1, at expr.c:7634 template <typename> class C : virtual B { A m_fn1() const; }; ^ Please submit a full bug report, with preprocessed source if appropriate. $ cat moc_workplane.ii class A { float xp; float yp; }; class B { virtual A m_fn1() const; }; template <typename> class C : virtual B { A m_fn1() const; }; class D : C<int> { virtual const int *m_fn2() const; }; template <typename T> A C<T>::m_fn1() const { return A(); } const int *D::m_fn2() const {}
next prev parent reply other threads:[~2015-03-06 17:39 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-05-17 0:44 [Bug middle-end/61207] New: Win64 gcc 4.9.0: ICE " mingw.android at gmail dot com 2014-05-17 0:45 ` [Bug middle-end/61207] " pinskia at gcc dot gnu.org 2014-05-27 11:25 ` ktietz at gcc dot gnu.org 2014-11-20 11:33 ` ktietz at gcc dot gnu.org 2014-11-20 13:45 ` thomas.petazzoni@free-electrons.com 2015-02-08 10:33 ` public at hansmi dot ch 2015-03-06 17:39 ` doko at gcc dot gnu.org [this message] 2015-03-07 5:54 ` [Bug middle-end/61207] [4.9 Regression] Win64 gcc 4.9.0: ICE in in expand_expr_addr_expr_1 " kugan at gcc dot gnu.org 2015-03-07 11:09 ` mingw.android at gmail dot com 2015-03-07 16:17 ` ktietz at gcc dot gnu.org 2015-03-08 20:40 ` yroux at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-61207-4-tMUsN5muh3@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).