public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/44878]  New: Build fails when compiling libstdc++
@ 2010-07-08 21:52 sje at cup dot hp dot com
  2010-07-08 21:53 ` [Bug c++/44878] " sje at cup dot hp dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: sje at cup dot hp dot com @ 2010-07-08 21:52 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-22 22:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-08 21:52 [Bug c++/44878] New: Build fails when compiling libstdc++ sje at cup dot hp dot com
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

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).