This is the mail archive of the gcc-patches@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]

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


Andrew Pinski <pinskia@physics.uc.edu> writes:

> On Sep 21, 2005, at 3:20 PM, Ian Lance Taylor wrote:
> 
> > Joern RENNECKE <joern.rennecke@st.com> writes:
> >
> >> 2005-09-21  J"orn Rennecke <joern.rennecke@st.com>
> >>
> >> 	* final.c (get_attr_length_1): In !HAVE_ATTR_length case, define as
> >> 	macro.  Don't attach ATTRIBUTE_UNUSED to arguments.
> >> 	(get_attr_length, get_attr_min_length): Add ATTRIBUTE_UNUSED.
> >
> > Ick, don't do that.  Suppose you just #define insn_default_length and
> > insn_min_length as macros ifndef HAVE_ATTR_length.
> 
> 
> Of course both insn_default_length and insn_min_length are used as
> functions
> in this situation.

Hmmm, right.  Bother.  Still doable, but uglier.

Ian


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