[Bug middle-end/23991] [4.1 Regression]: Gcc failed to build on ia64

Joern RENNECKE joern.rennecke@st.com
Wed Sep 21 14:08:00 GMT 2005


pinskia at gcc dot gnu dot org wrote:

>------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-21 11:28 -------
>Confirmed, it is kinda of interesting that IA64 is one of the few targets which does not have the length 
>attr (or have HAVE_ATTR_length defined).
>
>The easy fix is the following:
>int
>get_attr_length (rtx insn)
>{
>#ifdef HAVE_ATTR_length
>  return get_attr_length_1 (insn, insn_default_length);
>#else
>  return get_attr_length_1 (insn, 0);
>#endif
>}
>
>  
>
We have to cover both get_attr_length and get_attr_min_length.
I think the attached patch is a cleaner solution.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tmp
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050921/d2c8509d/attachment.ksh>


More information about the Gcc-patches mailing list