Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Dan.Pop@mail.cern.ch (Dan Pop)
Subject: Re: What do you think of osf/1?
Date: 1995/06/27	[thread overview]
Message-ID: <danpop.804280995@rscernix> (raw)
In-Reply-To: DSR.95Jun27134327@lns100.lns.cornell.edu

In <DSR.95Jun27134327@lns100.lns.cornell.edu> dsr@lns598.lns.cornell.edu (Daniel S. Riley) writes:


>In article <danpop.803736595@rscernix>, Dan.Pop@mail.cern.ch (Dan Pop) wrote:
>Dan.Pop> It will happen to you if you try to compile this source:
>
>Dan.Pop> ues5:~/tmp 110> uname -a
>Dan.Pop> OSF1 ues5.cern.ch V3.2 17 alpha
>Dan.Pop> ues5:~/tmp 111> cat cc-crash.c 
>Dan.Pop> main()
>Dan.Pop> {
>Dan.Pop>    char **array= {{"Mac"},{"Ed"},{"Edwin"}};
>Dan.Pop> }
>Dan.Pop> ues5:~/tmp 112> cc cc-crash.c 
>Dan.Pop> Fatal error in: /usr/lib/cmplrs/cc/cfe Segmentation fault - core dumped
>
>The compiler shouldn't core dump.  However, this does not look like
>ANSI/ISO 9899-1990 conforming C source code to me, so I have a hard
>time getting excited about it.

I never claimed it's correct code.  I prefer a sensible diagnostic to
a core dump, however.
>
>Dan.Pop> that the support for single precision denormals is broken,
>
>Is this true even with '-ieee_with_inexact' set?

Yes, as far as I can tell:

    ues5:~/tmp 340> uname -a
    OSF1 ues5.cern.ch V3.2 17 alpha
    ues5:~/tmp 341> cat denorm.c
    #include <stdio.h>

    main()
    {
    float x;

    x = 1.2e-38f / 2;
    printf("%g\n", x);
    return 0;
    }
    ues5:~/tmp 342> cc -ieee_with_inexact denorm.c
    ues5:~/tmp 343> ./a.out
    1.17549e-38
    ues5:~/tmp 344> cc -migrate -ieee_with_inexact denorm.c
    cc: Warning: denorm.c, line 7: In this statement, underflow occurs in evaluating the expression "1.2e-38f/2".
    x = 1.2e-38f / 2;
    ----^
    ues5:~/tmp 345> ./a.out
    0

Dan
--
Dan Pop
CERN, CN Division
Email: Dan.Pop@mail.cern.ch 
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland



  reply	other threads:[~1995-06-27  4:00 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-06-16  4:00 What do you think of osf/1? Mark Saltzman
1995-06-17  4:00 ` Mark Charette
1995-06-17  4:00 ` Frank Fabbrocino
1995-06-17  4:00 ` Mark Davis
1995-06-17  4:00   ` Jeff Tyler
1995-06-17  4:00   ` Dan Pop
1995-06-19  4:00   ` oberman
1995-06-19  4:00     ` Mark Davis
1995-06-19  4:00   ` J.Brainard
1995-06-17  4:00 ` Saul Tannenbaum
1995-06-19  4:00   ` Joseph B. Gurman
1995-06-19  4:00     ` Saul Tannenbaum
1995-06-21  4:00     ` Peter Graw
1995-06-21  4:00   ` Jerry Waldorf
1995-06-18  4:00 ` Wuxu Peng
1995-06-19  4:00   ` Mike Iglesias
1995-06-20  4:00   ` McGonagall burst into the room
1995-06-20  4:00     ` Andrew Gallatin
1995-06-20  4:00       ` Dan Pop
1995-06-21  4:00         ` Daniel S. Riley
1995-06-21  4:00         ` Nick Hill
1995-06-21  4:00         ` Andrew Gallatin
1995-06-21  4:00           ` Dan Pop
1995-06-21  4:00             ` Andrew Gallatin
1995-06-21  4:00               ` Dan Pop
1995-06-21  4:00                 ` Andrew Gallatin
1995-06-22  4:00                 ` Joseph B. Gurman
1995-06-22  4:00                 ` Jyrki Havia
1995-06-22  4:00                   ` Dan Pop
1995-06-23  4:00                 ` Peter da Silva
1995-07-01  4:00                   ` evaldas
1995-07-06  4:00                     ` Michael C Tiernan
1995-07-06  4:00                       ` Michael C Tiernan
1995-07-07  4:00                       ` Dan Hildebrand
1995-06-22  4:00             ` Scott J. Kolodzieski
1995-06-25  4:00               ` Mark Newton
1995-06-26  4:00                 ` Mike Iglesias
1995-06-26  4:00                   ` Dan Pop
1995-06-26  4:00         ` John Kohl
1995-06-27  4:00         ` Daniel S. Riley
1995-06-27  4:00           ` Dan Pop
1995-06-20  4:00       ` Saul Tannenbaum
1995-06-21  4:00       ` Kurt M. Hockenbury
1995-06-21  4:00         ` Jay Maynard
1995-06-25  4:00           ` Keith DeLong
1995-06-21  4:00     ` Wuxu Peng
1995-06-21  4:00       ` Mike Iglesias
1995-06-21  4:00         ` oberman
1995-06-22  4:00       ` Peter Mayne
1995-06-26  4:00         ` Wuxu Peng
1995-06-27  4:00     ` Daniel S. Riley
1995-06-27  4:00       ` Dan Pop [this message]
1995-06-19  4:00 ` Christophe MATHIEU
     [not found]   ` <3s4i5m$ff9@jac.zko.dec.com>
1995-06-20  4:00     ` Christophe MATHIEU
1995-06-20  4:00     ` Trin Tantsetthi
1995-06-19  4:00 ` Jason K Fry
1995-06-20  4:00 ` Steve Dale
1995-06-20  4:00 ` Carl Harris
1995-06-20  4:00   ` Tim Lucia
1995-06-28  4:00     ` Jon Jenkins
1995-06-29  4:00       ` Saul Tannenbaum
1995-07-03  4:00         ` John Hascall
1995-07-03  4:00           ` Stephen Mullin
1995-06-20  4:00   ` Ed O'Loughlin
1995-06-20  4:00     ` Sean Donelan
1995-06-20  4:00     ` Matthias Dolder
1995-06-21  4:00     ` Carl Harris
1995-06-23  4:00   ` Peter da Silva
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox