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 c++/46670] ICE with 4.6.0 2010-11-26 with c++0x, in TBB's <atomic> header Date: Fri, 26 Nov 2010 15:55:00 -0000 [thread overview] Message-ID: <bug-46670-4-3hb3QVchxA@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-46670-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46670 --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-26 15:46:03 UTC --- [hjl@gnu-35 delta]$ cat testcase.cc extern unsigned char __TBB_ReverseByte(unsigned char src); extern unsigned char *reversed; template<typename T> T __TBB_ReverseBits(T src) { unsigned char *original = (unsigned char *) &src; for( int i = sizeof(T)-1; i--; ) reversed[i] = __TBB_ReverseByte( original[sizeof(T)-i-1] ); } [hjl@gnu-35 delta]$ /export/gnu/import/rrs/166167/usr/bin/gcc -std=c++0x -S testcase.cc testcase.cc: In function \u2018T __TBB_ReverseBits(T)\u2019: testcase.cc:7:62: internal compiler error: in dependent_type_p, at cp/pt.c:17553 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. [hjl@gnu-35 delta]$
next prev parent reply other threads:[~2010-11-26 15:46 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-26 4:27 [Bug c++/46670] New: " jeffrey.donner at gmail dot com 2010-11-26 15:46 ` [Bug c++/46670] " hjl.tools at gmail dot com 2010-11-26 15:55 ` hjl.tools at gmail dot com [this message] 2010-11-29 11:12 ` [Bug c++/46670] [4.6 Regression] ICE in dependent_type_p, at cp/pt.c:17553 redi at gcc dot gnu.org 2010-12-15 19:22 ` redi at gcc dot gnu.org 2010-12-17 17:47 ` jason at gcc dot gnu.org 2010-12-18 4:08 ` jason at gcc dot gnu.org 2010-12-18 9:36 ` 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=bug-46670-4-3hb3QVchxA@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).