public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/53106] [4.8 Regression] Benchmarks in SPEC CPU 2006 failed to build Date: Tue, 24 Apr 2012 23:13:00 -0000 [thread overview] Message-ID: <bug-53106-4-sH4Ys4PD03@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53106-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53106 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2012-04-24 23:13:19 UTC --- Testcase [hjl@gnu-35 delta]$ cat testcase.cc #include <vector> template <int dim> class FiniteElement { public: FiniteElement ( const std::vector<std::vector<bool> > &nonzero_components); }; template <int dim> class FE_RaviartThomas : public FiniteElement<dim> { public: FE_RaviartThomas (const unsigned int p); static std::vector<bool> get_ria_vector (const unsigned int degree); }; template <int dim> FE_RaviartThomas<dim>::FE_RaviartThomas (const unsigned int degree) : FiniteElement<dim> ( std::vector<std::vector<bool> >(1)) { } template <int dim> std::vector<bool> FE_RaviartThomas<dim>::get_ria_vector (const unsigned int degree) { std::vector<bool> ret_val(degree,false); for (unsigned int i = 0 ; i < degree ; ++i) ret_val[i] = true; return ret_val; } template class FE_RaviartThomas<3>; [hjl@gnu-35 delta]$
next prev parent reply other threads:[~2012-04-24 23:13 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-04-24 21:49 [Bug middle-end/53106] New: " hjl.tools at gmail dot com 2012-04-24 21:50 ` [Bug middle-end/53106] " hjl.tools at gmail dot com 2012-04-24 23:13 ` hjl.tools at gmail dot com 2012-04-24 23:13 ` hjl.tools at gmail dot com [this message] 2012-04-25 11:05 ` rguenth at gcc dot gnu.org 2012-04-25 14:35 ` hubicka at gcc dot gnu.org 2012-04-25 14:39 ` hjl.tools at gmail dot com 2012-04-25 16:12 ` hubicka at gcc dot gnu.org 2012-04-25 16:22 ` hubicka at gcc dot gnu.org 2012-05-03 15:17 ` wschmidt at gcc dot gnu.org 2012-05-03 19:19 ` hubicka at gcc dot gnu.org 2012-09-07 11:28 ` rguenth 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-53106-4-sH4Ys4PD03@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).