home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2798 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.2 KB  |  38 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sisug.sisu.SE!uddeborg
  3. From: uddeborg@sisug.sisu.SE (Goeran Uddeborg)
  4. Subject: GCC 2.3.1 config/ns32k.h strangeness
  5. Message-ID: <199211201340.AA06546@gustaf.sisu.se>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Fri, 20 Nov 1992 15:40:12 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 25
  12.  
  13. The following definitions of TARGET_32332 and TARGET_32532 in the file
  14. config/ns32k.h seem to be confused:
  15.  
  16.     /* Options to select type of CPU, for better optimization.
  17.        The output is correct for any kind of 32000 regardless of these options.  */
  18.     #define TARGET_32532 (target_flags & 8)
  19.     #define TARGET_32332 (target_flags & 16)
  20.  
  21.     ...
  22.  
  23.     #define TARGET_SWITCHES  \
  24.         ...
  25.     { "32532", 24},                \
  26.     { "32332", -16},            \
  27.     { "32332", 8},                \
  28.     { "32032", -24},            \
  29.         ...
  30.  
  31. The code makes me believe that the define TARGET_32332 is intended to
  32. be true for 32332 and 32532 machines, and TARGET_32532 only for 32532
  33. machines.  This would mean that the macro TARGET_32332 ought to have
  34. the current definition of TARGET_32532, and vice versa.
  35.  
  36. Unless I have misunderstood this code completely...
  37.  
  38.