[PATCH] Fixed up missing semicolons.

2016-09-23 Thread lhmouse
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 
Date: Fri, 23 Sep 2016 19:11:03 +0800
Subject: [PATCH] Fixed up missing semicolons.

Signed-off-by: lhmouse 
---
 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


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


Re: Re: [PATCH] Fixed up missing semicolons.

2016-09-26 Thread lhmouse
In case my previous mail is swallowed by mailman:

I am not familiar with your convention. Elsewhere, I usually
don't use my full name. If people suggest I use a full name
when submitting patches, I am glad to go with that.

My name is Liu Hao (LH for short). The word 'Mouse' is
a homophony joke in Chinese and does not mean anything
significant.

--   
Best regards,
lh_mouse
2016-09-27



Re:Re: [PATCH] libstdc++-v3: Check for TLS support on mingw

2021-08-31 Thread lhmouse via Gcc-patches
在 2021-08-31 17:02, Jonathan Wakely 写道:
> It looks like my questions about this patch never got an answer, and
> it never got applied.
> 
> Could somebody say whether TLS is enabled for native *-*-mingw*
> builds? If it is, then we definitely need to add GCC_CHECK_TLS to the
> cross-compiler config too.
> 
> For a linux-hosted x86_64-w64-mingw32 cross compiler I see TLS is not enabled:
> 
> /* Define to 1 if the target supports thread-local storage. */
> /* #undef _GLIBCXX_HAVE_TLS */
> 

I have been disabling it with `--disable-tls` for years, but... I couldn't 
remember why. Thread-local storage is implemented with emutls, no matter with 
or without this option.

Does 'thread-local storage' mean to access thread-local objects via the FS or 
GS register on x86? If so, then it is definitely not supported yet.


-- 
Best regards,
LIU Hao