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++/46277] [4.6 Regression] Revision 166167 failed to build 252.eon in SPEC CPU 2000 Date: Tue, 02 Nov 2010 22:47:00 -0000 [thread overview] Message-ID: <20101102224700.Gq4h4z2HE5F6PwcJeoY37wSQqUp_019Jo0jMTFZkIBI@z> (raw) In-Reply-To: <bug-46277-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46277 H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2010.11.02 22:47:40 Ever Confirmed|0 |1 --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2010-11-02 22:47:40 UTC --- [hjl@gnu-35 delta]$ cat pr46277.cc typedef int ggBoolean; class ggRGBE { public: ggRGBE(); }; template <class T> class ggIO { ggBoolean readbody(int, int *); ggRGBE *scanline; }; template <class T> ggBoolean ggIO<T>::readbody(int width, int *type) { int count = -1; switch (*type) { case 0: count = 3; break; case 1: count = 2; scanline = new ggRGBE[width]; break; } return count; } [hjl@gnu-35 delta]$ /export/gnu/import/rrs/166167/usr/bin/gcc -O2 -S pr46277.cc pr46277.cc: In member function ‘ggBoolean ggIO<T>::readbody(int, int*)’: pr46277.cc:21:34: internal compiler error: Segmentation fault 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-02 22:47 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-11-02 20:46 [Bug c++/46277] New: " hjl.tools at gmail dot com 2010-11-02 20:58 ` [Bug c++/46277] " hjl.tools at gmail dot com 2010-11-02 21:08 ` hjl.tools at gmail dot com 2010-11-02 22:47 ` hjl.tools at gmail dot com [this message] 2010-11-02 22:51 ` hjl.tools at gmail dot com 2010-11-03 15:33 ` jason at gcc dot gnu.org 2010-11-04 3:27 ` jason 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=20101102224700.Gq4h4z2HE5F6PwcJeoY37wSQqUp_019Jo0jMTFZkIBI@z \ --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).