diff mbox

Fixed up missing semicolons.

Message ID 17e1dbbf.eea2b.15757a98ae4.Coremail.lh_mouse@126.com
State New
Headers show

Commit Message

LIU Hao Sept. 23, 2016, 3:28 p.m. UTC
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_mouse@126.com>

Date: Fri, 23 Sep 2016 19:11:03 +0800
Subject: [PATCH] Fixed up missing semicolons.

Signed-off-by: lhmouse <lh_mouse@126.com>

---
 gcc/config/i386/cygming.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.9.1

Comments

Jeff Law Sept. 26, 2016, 4 p.m. UTC | #1
On 09/23/2016 09:28 AM, lhmouse wrote:
> 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_mouse@126.com>
> Date: Fri, 23 Sep 2016 19:11:03 +0800
> Subject: [PATCH] Fixed up missing semicolons.
Thanks.  I've applied this to the trunk.

I don't have your full name for the ChangeLog entry.  If you want to 
pass that along, I'll fix it retroactively.

jeff
Jeff Law Sept. 28, 2016, 4:48 a.m. UTC | #2
On 09/26/2016 07:20 PM, lhmouse wrote:
> My name is Liu Hao. :>
Thanks.  I've updated the ChangeLog entry.
>
> Thanks for your work.
And thanks for the mingw patch -- we're always grateful for any help we 
can get on the lesser used platforms.

Jeff

ps.  Yes, I am law on IRC, but I was away when you tried to reach me.  I 
typically don't ever log off...
diff mbox

Patch

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:							\