public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] ICE after error: anonymous struct not inside named type Date: Tue, 22 Jun 2010 11:08:00 -0000 [thread overview] Message-ID: <20100622110803.2758.qmail@sourceware.org> (raw) In-Reply-To: <bug-44625-11764@http.gcc.gnu.org/bugzilla/> ------- Comment #3 from rguenth at gcc dot gnu dot org 2010-06-22 11:08 ------- Reduced testcase (but with more and slightly different errors) template<typename FP_> class Vec { Vec& operator^=(Vec& rhs) { union { struct {FP_ x,y,z;}; }; X = y*rhs.z() - z*rhs.y(); } Vec& operator^(Vec& rhs) { return Vec(*this)^=rhs; } }; Vec<double> v(3,4,12); Vec<double>V(12,4,3); Vec<double> c = v^V; -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |3.4.6 Summary|ICE after error: anonymous |[4.3/4.4/4.5/4.6 Regression] |struct not inside named type|ICE after error: anonymous | |struct not inside named type http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44625
next prev parent reply other threads:[~2010-06-22 11:08 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-06-22 8:35 [Bug c++/44625] New: " doko at ubuntu dot com 2010-06-22 8:36 ` [Bug c++/44625] " doko at ubuntu dot com 2010-06-22 9:21 ` manu at gcc dot gnu dot org 2010-06-22 11:08 ` rguenth at gcc dot gnu dot org [this message] 2010-06-24 21:32 ` [Bug c++/44625] [4.3/4.4/4.5/4.6 Regression] " rguenth at gcc dot gnu dot org 2010-06-24 21:58 ` rguenth at gcc dot gnu dot org 2010-07-05 11:05 ` paolo dot carlini at oracle dot com [not found] <bug-44625-4@http.gcc.gnu.org/bugzilla/> 2011-03-05 0:26 ` steven at gcc dot gnu.org 2011-03-05 0:33 ` paolo.carlini at oracle dot com 2011-06-23 17:01 ` paolo.carlini at oracle dot com
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=20100622110803.2758.qmail@sourceware.org \ --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).