[PATCH]: Fix PR26734: GCC cannot bootstrap on IA64 HP-UX (repost).
Maxim Kuvyrkov
mkuvyrkov@ispras.ru
Tue Mar 28 20:29:00 GMT 2006
Hi!
GCC fails to bootstrap at ia64-hpux due to wrong computation of the size
of DEPS_LIST rtx. Before my patch any rtx could contain either rtunion
or HOST_WIDE_INT, but not both. DEPS_LIST is defined to hold two
rtunions and one HOST_WIDE_INT. As it wasn't mentioned among special
cases of rtx_code_size its size calculated assuming all its fields are
rtunions.
This problem can be fixed by changing the type of the second operand of
DEPS_LIST rtx to 'int'.
SPECCPU 2000 results don't change with this patch applied.
Bootstrapped and regtested on ia64-unknown-linux, ia64-hp-hpux11.23 and
i686-unknown-linux.
Ok for trunk?
--
Maxim
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: deps-list-fix.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060328/389282c4/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: deps-list-fix.patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20060328/389282c4/attachment-0001.ksh>
More information about the Gcc-patches
mailing list