Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"For the man who has everything... Penicillin." -- F. Borquin


devel / comp.compilers / Re: what is defined, was for or against equality

SubjectAuthor
* Re: for or against equality, was Why are ambiguous grammars usually a bad idea?Martin Ward
`* Re: for or against equality, was Why are ambiguous grammars usually a bad idea?David Brown
 +* Re: what is defined, was for or against equalityThomas Koenig
 |+- Re: what is defined, was for or against equalityDavid Brown
 |`* Re: what is defined, was for or against equalitySpiros Bousbouras
 | `* Re: what is defined, was for or against equalityThomas Koenig
 |  +* Re: what is defined, was for or against equalitySpiros Bousbouras
 |  |`* Re: what is defined, was for or against equalityThomas Koenig
 |  | `- Re: what is defined, was for or against equalitySpiros Bousbouras
 |  +* Re: what is defined, was for or against equalityDavid Brown
 |  |`* Re: what is defined, was for or against equalityThomas Koenig
 |  | `* Re: what is defined, was for or against equalityDavid Brown
 |  |  `* Re: what is defined, was for or against equalityKaz Kylheku
 |  |   `* Re: what is defined, was for or against equalitygah4
 |  |    `* Re: what is defined, was for or against equalityThomas Koenig
 |  |     +- Re: what is defined, was for or against equalityDavid Brown
 |  |     `- Re: what is defined, was for or against equalityThomas Koenig
 |  `- Re: what is defined, was for or against equalitygah4
 +- Re: for or against equality, was Why are ambiguous grammars usually a bad idea?Robert Prins
 +* Undefined behaviour, was: for or against equalityMartin Ward
 |`- Re: Undefined behaviour, was: for or against equalitySpiros Bousbouras
 `* Re: Undefined behaviour, was: for or against equalityDavid Brown
  `* Re: Undefined behaviour, was: for or against equalityAnton Ertl
   +- Re: Undefined behaviour, was: for or against equalityDavid Brown
   `* Re: Undefined behaviour, was: for or against equalityKaz Kylheku
    `- Re: Undefined behaviour, was: for or against equalityGeorge Neuner

Pages:12
Re: what is defined, was for or against equality

<22-01-051@comp.compilers>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=210&group=comp.compilers#210

  copy link   Newsgroups: comp.compilers
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end
From: tkoe...@netcologne.de (Thomas Koenig)
Newsgroups: comp.compilers
Subject: Re: what is defined, was for or against equality
Date: Thu, 13 Jan 2022 11:17:13 -0000 (UTC)
Organization: news.netcologne.de
Lines: 20
Sender: news@iecc.com
Approved: comp.compilers@iecc.com
Message-ID: <22-01-051@comp.compilers>
References: <17d70d74-1cf1-cc41-6b38-c0b307aeb35a@gkc.org.uk> <22-01-016@comp.compilers> <22-01-018@comp.compilers> <22-01-020@comp.compilers> <22-01-027@comp.compilers> <22-01-032@comp.compilers> <22-01-038@comp.compilers> <22-01-041@comp.compilers> <22-01-044@comp.compilers> <22-01-045@comp.compilers> <22-01-046@comp.compilers> <22-01-048@comp.compilers>
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="8599"; mail-complaints-to="abuse@iecc.com"
Keywords: Fortran, debug
Posted-Date: 14 Jan 2022 12:39:30 EST
X-submission-address: compilers@iecc.com
X-moderator-address: compilers-request@iecc.com
X-FAQ-and-archives: http://compilers.iecc.com
 by: Thomas Koenig - Thu, 13 Jan 2022 11:17 UTC

Thomas Koenig <tkoenig@netcologne.de> schrieb:

> [I have used Fortran systems that initialized otherwise undefined
> data to a value that would trap, to help find use-before-set errors.
> -John]

That usually is still available, but optional. An short example:

$ cat a.f90
program main
print *,a
end program main
$ gfortran -g -ffpe-trap=invalid -finit-real=snan a.f90
$ ./a.out

Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.

with a backtrace pointing to the offending line.

It does not necessarily work on COMMON blocks, though.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor