Patchwork Patch committed: Don't generate float80 in godump.c

login
register
mail settings
Submitter Ian Taylor
Date Jan. 11, 2011, 9:55 p.m.
Message ID <mcrbp3n2jh0.fsf@google.com>
Download mbox | patch
Permalink /patch/78449/
State New
Headers show

Comments

Ian Taylor - Jan. 11, 2011, 9:55 p.m.
The float80 type was removed from the Go language a while back, but I
never took it out of godump.c.  This patch does that.  Bootstrapped and
ran Go testsuite on x86_64-unknown-linux-gnu.  Committed to mainline.

Ian


2011-01-11  Ian Lance Taylor  <iant@google.com>

	* godump.c (go_format_type): Don't generate float80.

Patch

Index: godump.c
===================================================================
--- godump.c	(revision 168679)
+++ godump.c	(working copy)
@@ -1,5 +1,5 @@ 
 /* Output Go language descriptions of types.
-   Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
    Written by Ian Lance Taylor <iant@google.com>.
 
 This file is part of GCC.
@@ -387,9 +387,6 @@  go_format_type (struct godump_container 
 	  case 64:
 	    s = "float64";
 	    break;
-	  case 80:
-	    s = "float80";
-	    break;
 	  default:
 	    snprintf (buf, sizeof buf, "INVALID-float-%u",
 		      TYPE_PRECISION (type));