This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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: multi-arched alpha won't build with OSF1 4.0d's cc


> OSF1 4.0d's cc complains when a non-constant value is used as the
> array size of a formal parameter.  The first patch below fixes the
> problem without removing the documentation value of the array size at
> that point.  I wonder if just commenting out the (variable) array size
> would be a better choice.
> 
> It also rightfully refuses to compile functions containing automatic
> arrays of non-constant sizes.  The second patch below fixes this
> problem.
> 
> With these two patches, GDB mainline builds on this platform again,
> using this picky/dumb compiler.
> 
> Ok to install?
> 

Yes (if you haven't already).
I'll add '\[MAX_REGISTER_{RAW,VIRTUAL}_SIZE\]' to the ARI.

Andrew




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