Re: [std-discussion] Is this union aliasing code well-defined?

2017-10-28 Thread Yubin Ruan
On 10/27/2017 04:54 PM, Richard Biener wrote: > On Fri, Oct 27, 2017 at 3:00 PM, Yubin Ruan wrote: >> +Cc gcc-list. >> >> Does any gcc developer have any comments? > > See PR82224. The code is valid. > >> On Mon, Sep 25, 2017 at 01:41:55PM -0700, Myr

Re: confirm subscribe to gcc@gcc.gnu.org

2017-10-28 Thread Yubin Ruan
On Sat, Oct 28, 2017, at 12:06 AM, gcc-h...@gcc.gnu.org wrote: > Hi! This is the ezmlm program. I'm managing the > gcc@gcc.gnu.org mailing list. > > To confirm that you would like > >yub...@fastmail.com > > added to the gcc mailing list, please send > an empty reply to this address: > >

Re: [std-discussion] Is this union aliasing code well-defined?

2017-10-26 Thread Yubin Ruan
+Cc gcc-list. Does any gcc developer have any comments? On Mon, Sep 25, 2017 at 01:41:55PM -0700, Myriachan wrote: > This question that "supercat" posted on Stack Overflow ran into an > interesting problem: > > https://stackoverflow.com/questions/46205744/is-this-use-of-unions-strictly-conformi

Potential Bug in GCC5?

2017-06-10 Thread Yubin Ruan
Hi, I don't know whether this bug has been reported(I have check GCC Bugzillia though) or has been resolved: This program: #include int main() { char a = 'a'; printf("Size of char : %d\n",sizeof(a)); printf("Size of char : %d\n",sizeof('a')); return 0; }

Re: what does -fno-pic do

2016-07-11 Thread Yubin Ruan
On 2016年07月11日 16:44, Mason wrote: On 10/07/2016 16:15, Yubin Ruan wrote: I am reading some OS kernel codes, and I find that in the Makefile used to build the kernel, there is a **-fno-pic** flag. I totally don't understand what that mean. I try to find some description from th

what does -fno-pic do ?

2016-07-10 Thread Yubin Ruan
Hi, I am reading some OS kernel codes, and I find that in the Makefile used to build the kernel, there is a **-fno-pic** flag. I totally don't understand what that mean. I try to find some description from the man pages but can find no direct description about that flag(same for the **-fpi