This is the mail archive of the cgen@sourceware.org mailing list for the CGEN 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: or1k/opcodes: ISO C version compatibility issues


On Thu, May 22, 2014 at 12:55:50AM +0300, Stefan Kristiansson wrote:
> On Wed, May 21, 2014 at 04:47:20PM -0400, Peter Gavin wrote:
> > On Wed, May 21, 2014 at 4:44 PM, Maciej W. Rozycki
> > <macro@codesourcery.com>wrote:
> > 
> > > (also for or1k-desc.c).  I have been able to make the files compile with
> > > the change below, however these are generated files and a suitable change
> > > would have to be applied to cpu/or1kcommon.cpu instead.  Unfortunately
> > > that source has been written in Scheme that I have no immediate skills to
> > > correct.  Would you please look into making the correct update to the
> > > Scheme source?
> > >
> > 
> > I think this is actually a bug in CGEN, and needs to be changed there.
> > 
> 
> Without claiming any scheme skills, I think something like the patch below
> should do it.

See also https://sourceware.org/ml/binutils/2014-05/msg00173.html

-- 
Alan Modra
Australia Development Lab, IBM


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