public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "sje at cup dot hp dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/44878] New: Build fails when compiling libstdc++ Date: Thu, 08 Jul 2010 21:52:00 -0000 [thread overview] Message-ID: <bug-44878-3107@http.gcc.gnu.org/bugzilla/> (raw) The patch to PR 44813 broke the build on ia64-hp-hpux11.23. The patch went in at r161898. Attached is a test case which causes an ICE when compiled with GCC on ia64-hp-hpux11.23. No options are needed during the compile. The failure is: x.cc: In function 'std::__exception_ptr::exception_ptr std::current_exception()': x.cc:19:1: internal compiler error: in emit_move_insn, at expr.c:3397 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. In the debugger I see: (gdb) p mode $1 = DImode (gdb) p debug_rtx(x) (reg/f:DI 341 [ <retval>+-4 ]) $2 = void (gdb) p debug_rtx(y) (subreg/s/v:SI (reg/f:DI 341 [ <retval>+-4 ]) 4) so the problem is the mismatch in the modes. IA64 generates 32 bit pointers by default but they need to be extended to 64 bits before being dereferenced. -- Summary: Build fails when compiling libstdc++ Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sje at cup dot hp dot com GCC build triplet: ia64-hp-hpux11.23 GCC host triplet: ia64-hp-hpux11.23 GCC target triplet: ia64-hp-hpux11.23 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44878
next reply other threads:[~2010-07-08 21:52 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-07-08 21:52 sje at cup dot hp dot com [this message] 2010-07-08 21:53 ` [Bug c++/44878] " sje at cup dot hp dot com 2010-07-08 21:54 ` [Bug middle-end/44878] [4.6 Regression] " pinskia at gcc dot gnu dot org 2010-07-09 16:11 ` sje at cup dot hp dot com 2010-07-22 18:15 ` sje at gcc dot gnu dot org 2010-07-22 22:29 ` sje at cup dot hp 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-44878-3107@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).