This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/10229] [3.3/3.4 regression] [IA-64 HP-UX 11.22] Internal compiler error in emit_move_insn


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10229



------- Additional Comments From sje@cup.hp.com  2003-06-09 22:24 -------
Subject: Re:  [3.3/3.4 regression] [IA-64 HP-UX 11.22] Internal compiler error in emit_move_insn

There are two bugs here, one is that the test case you sent will not
compile, and this is because of the use of __builtin_ia64_bsp.  The
second bug is that a build/bootstrap of GCC should not be compiling
unwind-ia64.c.

In GCC 3.3, the issue of compiling unwind-ia64.c is fixed and
unwind-ia64.c is not compiled.  When I configure GCC for
ia64-hp-hpux11.22, I specify --enable-libunwind-exceptions to use the HP
unwind library when building the ia64-hp-hpux11.22 GCC.  The GCC unwind
part of libgcc (unwind-ia64.c) has never been properly ported to HP-UX
and probably wouldn't work even if it compiled.  With GCC 3.3 and later
it shouldn't try to compile it.

In terms of the small test case, the problem is that __builtin_ia64_bsp
doesn't work properly with ILP32 mode.  It could be fixed but the only
use of it is in the unwind library (which we don't use) so I am not too
excited about fixing it.  Note that fixing the bug in the test case
(making it compile) would not necessarily make the code in unwind-ia64.c
work, it would probably need more changes to work properly on HP-UX.

While working on the GCC port to HP-UX IA64 we made a decision to use
the HP-UX unwind library instead of porting the GCC one in order to
maximize the compatibility between the HP-UX compilers and GCC, that is
why we never dealt with this issue.

Also, I don't think GCC 3.2.2 works properly on ia64-hp-hpux11.22.  Most
of it is there, but it might have other problems.  I would use GCC 3.3
along with one patch I submitted after release, See
http://gcc.gnu.org/ml/gcc-patches/2003-05/msg01937.html for the patch I
submitted and checked in on the main line and on the GCC 3.3 branch.

Steve Ellcey
sje@cup.hp.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]