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]

Re: problem compiling libf2c/libI77 library on c4x


Herman ten Brugge wrote:

> I found a problem in the rdfmt.c library file in the libf2c/libI77
> directory. On the c4x sizeof(char) == sizeof(short). This makes the
> case statement fail. I changed the case statement into an if-then-else
> sequence to solve the problem.
> 
>         Herman.
> 
> 2000-06-01 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
> 
>         * rdfmt.c (rd_L): Use if-then-else instead of case statement to
>         solve problems when sizeof(char) == sizeof(short).

This is fine - please install it.

Thanks,

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

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