Hi GCC developers,
Today I was trying bootstrapping GCC 7.0.0 and stage 1 compilation
failed because of two missing semicolons. After this patch was applied,
xgcc could be built successfully, although it still failed the self-test.
                                
--------------
Best regards,
lh_mouse
2016-09-23



From 1133ae49102751b24cfd0368986a63f482afe8d0 Mon Sep 17 00:00:00 2001
From: lhmouse <lh_mo...@126.com>
Date: Fri, 23 Sep 2016 19:11:03 +0800
Subject: [PATCH] Fixed up missing semicolons.

Signed-off-by: lhmouse <lh_mo...@126.com>
---
 gcc/config/i386/cygming.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h
index 60e11b4..1d9675e 100644
--- a/gcc/config/i386/cygming.h
+++ b/gcc/config/i386/cygming.h
@@ -111,7 +111,7 @@ along with GCC; see the file COPYING3.  If not see
        assemble_name (FILE, LABEL);                            \
        if ((OFFSET) != 0)                                      \
          fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC,           \
-                  (HOST_WIDE_INT) (OFFSET))                    \
+                  (HOST_WIDE_INT) (OFFSET));                   \
        break;                                                  \
       case 8:                                                  \
        /* This is a hack.  There is no 64-bit section relative \
@@ -123,7 +123,7 @@ along with GCC; see the file COPYING3.  If not see
        assemble_name (FILE, LABEL);                            \
        if ((OFFSET) != 0)                                      \
          fprintf (FILE, "+" HOST_WIDE_INT_PRINT_DEC,           \
-                  (HOST_WIDE_INT) (OFFSET))                    \
+                  (HOST_WIDE_INT) (OFFSET));                   \
        fputs ("\n\t.long\t0", FILE);                           \
        break;                                                  \
       default:                                                 \
-- 
2.9.1

Attachment: 0016-master-Fixed-up-missing-semicolons.patch
Description: Binary data

Reply via email to