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

LONG_TYPE_SIZE in mips.h is wrong



Richard,

here's one more problem for mips-linux with your recent change:

In file included from /home/sites/home/users/aj/builds/gcc/gcc/f/com.c:200:
/home/sites/home/users/aj/builds/gcc/gcc/f/com.h:130:18: syntax error in #if
<command line>: unterminated `#if' conditional
/home/sites/home/users/aj/builds/gcc/gcc/f/com.h:140:18: syntax error in #if
<command line>: unterminated `#if' conditional
In file included from /home/sites/home/users/aj/builds/gcc/gcc/f/com.c:200:
/home/sites/home/users/aj/builds/gcc/gcc/f/com.h:179:53: `#endif' not within a conditional
In file included from /home/sites/home/users/aj/builds/gcc/gcc/f/com.c:200:
/home/sites/home/users/aj/builds/gcc/gcc/f/com.h:392:6: `#endif' not within a conditional
make[3]: *** [com.o] Error 1

mips.h has:
#define LONG_TYPE_SIZE ((unsigned int) (TARGET_LONG64 ? 64 : 32))

line 130 (140 is also uses LONG_TYPE_SIZE) of f/com.h is:
#if LONG_TYPE_SIZE == FLOAT_TYPE_SIZE

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

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