🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1434

GCC 2.3.1 config/ns32k.h strangeness

#1434
From: Goeran Uddeborg
Date: Fri, 20 Nov 1992 15:40
24 lines
1253 bytes
The following definitions of TARGET_32332 and TARGET_32532 in the file
config/ns32k.h seem to be confused:

    /* Options to select type of CPU, for better optimization.
       The output is correct for any kind of 32000 regardless of these options.  */
    #define TARGET_32532 (target_flags & 8)
    #define TARGET_32332 (target_flags & 16)

	...

    #define TARGET_SWITCHES  \
	    ...
	{ "32532", 24},				\
	{ "32332", -16},			\
	{ "32332", 8},				\
	{ "32032", -24},			\
	    ...

The code makes me believe that the define TARGET_32332 is intended to
be true for 32332 and 32532 machines, and TARGET_32532 only for 32532
machines.  This would mean that the macro TARGET_32332 ought to have
the current definition of TARGET_32532, and vice versa.

Unless I have misunderstood this code completely...
Technical Details
Message-ID: <199211201340.AA06546@gustaf.sisu.se>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sisug.sisu.SE!uddeborg

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sisug.sisu.SE!uddeborg
From: uddeborg@sisug.sisu.SE (Goeran Uddeborg)
Subject: GCC 2.3.1 config/ns32k.h strangeness
Message-ID: <199211201340.AA06546@gustaf.sisu.se>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 20 Nov 1992 15:40:12 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 25