public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/24602] g++: Internal error: Illegal instruction (program cc1plus) Date: Thu, 17 Nov 2005 11:59:00 -0000 [thread overview] Message-ID: <20051117115915.28909.qmail@sourceware.org> (raw) In-Reply-To: <bug-24602-11622@http.gcc.gnu.org/bugzilla/> ------- Comment #7 from reichelt at gcc dot gnu dot org 2005-11-17 11:59 ------- Here's a sightly simpler testcase. If I remove the copy-ctor from A, I get the failure from PR24606. ========================================= template<typename F> void foo(F f) { f(); } struct A { A(); A(const A&); }; template<int> void bar(A = A()); void baz() { foo(bar<0>); } ========================================= Btw, removing the template from "bar" makes the code compile. So it seems like the code is valid after all. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-valid-code, monitored Last reconfirmed|0000-00-00 00:00:00 |2005-11-17 11:59:15 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24602
next prev parent reply other threads:[~2005-11-17 11:59 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-10-31 23:38 [Bug c++/24602] New: " xeon at gmx dot ch 2005-10-31 23:46 ` [Bug c++/24602] " xeon at gmx dot ch 2005-11-01 0:34 ` pinskia at gcc dot gnu dot org 2005-11-01 2:22 ` pinskia at gcc dot gnu dot org 2005-11-01 2:23 ` pinskia at gcc dot gnu dot org 2005-11-01 3:09 ` pinskia at gcc dot gnu dot org 2005-11-01 4:36 ` pinskia at gcc dot gnu dot org 2005-11-17 11:59 ` reichelt at gcc dot gnu dot org [this message] 2007-07-23 22:05 ` reichelt at gcc dot gnu dot org 2007-07-23 22:08 ` reichelt at gcc dot gnu dot org 2007-11-01 12:53 ` reichelt at gcc dot gnu dot org 2008-03-29 17:33 ` reichelt at gcc dot gnu dot 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=20051117115915.28909.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).