🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #150

HP9000 series 340 problem (GCC 2.1)

#150
From: Tim Irvin
Date: Mon, 06 Apr 1992 13:32
28 lines
1387 bytes
I get the following error when compiling GCC 2.1 on an HP 9000 series 340
running HP/UX 7.0:

        cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300 -c    -g     -I. -I. -I
./config ./genattrtab.c
"./genattrtab.c", line 399: operands of + have incompatible types
"./genattrtab.c", line 419: operands of + have incompatible types
"./genattrtab.c", line 439: operands of + have incompatible types
"./genattrtab.c", line 459: operands of + have incompatible types
*** Error code 1

Stop.


The lines in question are:

399: hashcode = (code + RTL_HASH (arg0));
419: hashcode = (code + RTL_HASH (arg0) + RTL_HASH (arg1));
439: hashcode = (code + RTL_HASH (arg0));
459: hashcode = (code + RTL_HASH (arg0) + RTL_HASH (arg1));

code is declared as:     enum rtx_code code;
RTL_HASH is defined as: #define RTL_HASH(RTL) ((int) (RTL) & 0777777)

Tim Irvin
Systems Administrator
Project NORTHSTAR
Dartmouth College
Technical Details
Message-ID: <9204061332.AA05164@northstar.dartmouth.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!betelgeuse.dartmouth.edu!irvin

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!betelgeuse.dartmouth.edu!irvin
From: irvin@betelgeuse.dartmouth.edu (Tim Irvin)
Subject: HP9000 series 340 problem (GCC 2.1)
Message-ID: <9204061332.AA05164@northstar.dartmouth.edu>
Sender: gnulists@ai.mit.edu
Reply-To: irvin@northstar.dartmouth.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Mon, 6 Apr 1992 13:32:33 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 30