🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #614

another cross compilation floating point bug (minor)

#614
From: Peter R. Ham
Date: Thu, 21 Sep 1989 20:41
25 lines
1212 bytes
*** print-tree.c	Thu Sep 21 13:28:29 1989
--- ../dist/print-tree.c	Mon Aug  7 17:10:17 1989
***************
*** 574,581 ****
  #else
  	  {
  	    int i;
- 	    char *p = (char *) &TREE_REAL_CST (node);
  	    fprintf (outfile, " = 0x");
  	    for (i = 0; i < sizeof TREE_REAL_CST (node); i++)
  	      fprintf (outfile, "%02x", *p++);
  	    fprintf (outfile, ";");
--- 574,581 ----
  #else
  	  {
  	    int i;
  	    fprintf (outfile, " = 0x");
+ 	    char *p = (char *) &TREE_REAL_CST (node);
  	    for (i = 0; i < sizeof TREE_REAL_CST (node); i++)
  	      fprintf (outfile, "%02x", *p++);
  	    fprintf (outfile, ";");
--
Peter Ham			PO Box 3430	(h)(415) 324-9645
MS Computer Science Student	Stanford, CA	ham@polya.stanford.edu
Stanford University 		94309		(o)(415) 723-2067
Technical Details
Message-ID: <HAM.89Sep21134105@Neon.Stanford.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!shelby!polya!Polya.Stanford.EDU!ham

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!shelby!polya!Polya.Stanford.EDU!ham
From: ham@Neon.Stanford.EDU (Peter R. Ham)
Newsgroups: gnu.gcc.bug
Subject: another cross compilation floating point bug (minor)
Message-ID: <HAM.89Sep21134105@Neon.Stanford.EDU>
Date: 21 Sep 89 20:41:05 GMT
Sender: USENET News System <news@Polya.Stanford.EDU>
Distribution: gnu
Organization: Stanford University
Lines: 25