🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41558

gcc fails Paranoia (numeric) test under Linux

#41558
From: Dean Schulze
Date: Thu, 07 Mar 1996 00:00
20 lines
1547 bytes
    The evidence against gcc 2.7.2 under Linux continues to mount.  I would
appreciate it if some of you can try this test on your Linux machines.

    I compiled the paranoia test program (netlib.att.com, netlib/paranoia)
both with and without optimization using gcc 2.7.2 on Linux 1.2.13.
With optimization off paranoia detected a flaw in the arithmetic
rounding mode (perhaps controlled by a compiler switch).  This is not
considered a serious flaw, and paranoia pronounced the arithmetic to
be OK.  However, when I compiled with -O2 paranoia found some serious
flaws and hung before completing the test.

    I compiled paranoia on the same machine using Visual C++ under
Windows 95 both with and without optimization and in both cases
paranoia found no problems and pronounced the arithmetic to be perfect.

    This doesn't prove that my hardware works correctly in all cases, but
it does show that gcc's optimization is seriously flawed.


Dean Schulze
Technical Details
Message-ID: <4hn916$ejs@news.ccit.arizona.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,fbe8ee8d82a9766b,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1103af,fbe8ee8d82a9766b,start
X-Google-Attributes: gid1103af,public
From: schulze@lpl.arizona.edu (Dean Schulze)
Subject: gcc fails Paranoia (numeric) test under Linux
Date: 1996/03/07
Message-ID: <4hn916$ejs@news.ccit.arizona.edu>
X-Deja-AN: 142133962
distribution: world
organization: Lunar and Planetary Laboratory - West
reply-to: schulze@asgard.lpl.arizona.edu
newsgroups: gnu.gcc.help,comp.os.linux.misc