🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #6373

Re: [andy@hyperparallel.com: Re: Apparent problem with Ghostscript 3.60 and gcc 2.7.x]

#6373
From: Chris Torek
Date: Wed, 06 Dec 1995 00:00
26 lines
1763 bytes
In article <199512050212.MAA12826@gauss.adelaide.maptek.com.au>
Rusty Russell <Rusty.Russell@adelaide.maptek.com.au> writes:
>Why not just replace the construct with "x" ...

(He posted a followup agreeing that there is in fact a bug here.)

It is probably worth noting several things:

 a) The example program was pointless in itself, serving only to
    provoke the bug.
 b) The bug does not occur on some classes of machines, e.g., i386,
    or at least not from the example submitted.
 c) A sufficiently smart compiler could have optimized as gcc did
    anyway (the function that received &x always set it to the same
    value, and the optimizer could conceivably propagate that
    value), so the example program probably should have been somewhat
    different.

Point (b) is really a reminder to those sending in bug reports: too
little information is generally worse than too much.  Points (a) and
(c) are more for those investigating bugs: sometimes the example has
been boiled down a bit *too* much.  (Of course, sometimes the example
is just plain bogus, too. :-) )
-- 
In-Real-Life: Chris Torek, Berkeley Software Design Inc
El Cerrito, CA	Domain:	torek@bsdi.com	+1 510 234 3167
Technical Details
Message-ID: <199512061030.CAA06596@elf.bsdi.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <m0tMfIe-0000c9C@aladdin.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 113d02,663e2e15612b617a
X-Google-Attributes: gid113d02,public
From: torek@elf.bsdi.com (Chris Torek)
Subject: Re: [andy@hyperparallel.com: Re: Apparent problem with Ghostscript 3.60 and gcc 2.7.x]
Date: 1995/12/06
Message-ID: <199512061030.CAA06596@elf.bsdi.com>
X-Deja-AN: 121063377
distribution: gnu
sender: daemon@cis.ohio-state.edu
references: <m0tMfIe-0000c9C@aladdin.com>
organization: Berkeley Software Design, Inc.
reply-to: torek@bsdi.com
newsgroups: gnu.gcc.bug