🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6182

Re: gcc 2.7.2 bug on hp machine

#6182
From: Nathan Neulinger
Date: Sat, 23 Nov 1996 00:00
67 lines
2045 bytes
Works fine for me?

| meteor(16)>gcc -v
| Reading specs from
| /afs/umr.edu/software/gcc272/hpux/lib/gcc-lib/hppa1.1-hp-hpux
| 9.05/2.7.2/specs
| gcc version 2.7.2
| meteor(17)>

-- Nathan


In article <199611222247.OAA02902@arcs88.svd.avanticorp.com>,
wsun@avanticorp.com (Wern-Jieh Sun) wrote:

| Hello:
| 
| The following is a small c program showing a gcc 2.7.2 bug on hp machine.
| The routine a() is not called on a hp machine. 
| It works fine on SunOS machine.
| 
| Thanks for your hard work.
| Wern-Jieh Sun
| 
| 
| 
| 
| /*
|         2.7.2 gcc bug on a hp machine.
|         It only happens on hp machine.  The correct program output is 'no
bug'.
| 
|         HP-UX arcs40 A.09.01 A 9000/735
| 
| gcc -v
| Reading specs from
/home/wsun/local/HP-UX/local/lib/gcc-lib/hppa1.1-hp-hpux9.01/2.7.2/specs
| gcc version 2.7.2
| 
| */
| 
| int smode;
| 
| #define FPGA    (1 << 2 )
| #define SMODE( m)      ( smode & (m) )
| 
| a()
| {
|   printf("no bug\n");
| }
| 
| 
| main()
| {
|   smode = 0 ;
| 
|   if( ! SMODE(FPGA) ) {
|   }
| 
|   a();          /* a() is not called on a hp machine */
| }

------------------------------------------------------------
Nathan Neulinger                  Univ. of Missouri - Rolla
EMail: nneul@umr.edu                  Computing Services
WWW: http://www.umr.edu/~nneul      SysAdmin: rollanet.org
Technical Details
Message-ID: <nneul-ya023180002311962036310001@usenet.umr.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <199611222247.OAA02902@arcs88.svd.avanticorp.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,1a44262b230b73c3,start
X-Google-Attributes: gid113d02,public
From: nneul@umr.edu (Nathan Neulinger)
Subject: Re: gcc 2.7.2 bug on hp machine
Date: 1996/11/23
Message-ID: <nneul-ya023180002311962036310001@usenet.umr.edu>
X-Deja-AN: 198354766
sender: bug-gcc-request@prep.ai.mit.edu
references: <199611222247.OAA02902@arcs88.svd.avanticorp.com>
content-type: text/plain; charset=ISO-8859-1
organization: University of Missouri - Rolla
x-gateway: relay3.UU.NET from bug-gcc to gnu.gcc.bug; Sat, 23 Nov 1996 21:37:43 EST
mime-version: 1.0
newsgroups: gnu.gcc.bug