Fwd: Call for Topics and Sponsors -- Workshop on Open Source Development Tools 2015

2015-06-25 Thread Mingjie Xing
* Call for Topics and Sponsors Workshop on Open Source Development Tools 2015 Beijing, China Sep. 12, 2015 (TBD) HelloGCC Work Group (www.hellogcc.org) *

[texi2pod.pl] Handle command @t and embedded form @dfn{@sc{}}

2014-07-08 Thread Mingjie Xing
Hello, As discussed in https://sourceware.org/ml/gdb-patches/2014-07/msg00145.html, I'd like to put the patch for texi2pod.pl here. The patch is necessary to output the gdb man manual correctly for such cases, G@{++} and @dfn{@sc{gdb/mi} interface} contrib/ChangeLog 2014-07-09 Mingjie

Call for Topics and Sponsors -- Workshop on Open Source Development Tools 2014

2014-04-24 Thread Mingjie Xing
* Call for Topics and Sponsors Workshop on Open Source Development Tools 2014 (i.e. HelloGCC Workshop) Beijing, China Sep. 13rd, 2014 (TBD) HelloGCC Work Group (www.hellogcc.org)

proposal to turn on some warnings by default

2014-02-26 Thread Mingjie Xing
Hello, I'm wondering if it's a good idea to turn on some warnings by default (or even promote them to error), such as -Wreturn-type on C. This would help programmers to avoid some mistakes. Regards, Mingjie

Re: [C] Fix PR57258: unused variable warning is emitted for volatile variables

2013-11-08 Thread Mingjie Xing
...@gmail.com wrote: On Fri, Nov 8, 2013 at 5:03 PM, Mike Stump mikest...@comcast.net wrote: On Nov 7, 2013, at 5:13 PM, Mingjie Xing mingjie.x...@gmail.com wrote: Well, it is my understanding that the warning should be emitted for a volatile variable only if it is not accessed. Initialization

Re: [C] Fix PR57258: unused variable warning is emitted for volatile variables

2013-11-07 Thread Mingjie Xing
2013/11/7 Joseph S. Myers jos...@codesourcery.com: On Thu, 7 Nov 2013, Mingjie Xing wrote: 2013/11/6 Richard Biener richard.guent...@gmail.com: You miss a testcase. Also why should the warning be omitted for unused automatic volatile variables? They cannot be used in any way

Re: [C] Fix PR57258: unused variable warning is emitted for volatile variables

2013-11-06 Thread Mingjie Xing
2013/11/6 Richard Biener richard.guent...@gmail.com: You miss a testcase. Also why should the warning be omitted for unused automatic volatile variables? They cannot be used in any way. Richard. Thanks. I've updated the patch with a test case. c/ChangeLog PR 57258 *

[driver] try to fix driver specifies output file twice bug

2013-11-05 Thread Mingjie Xing
Hello, This patch is trying to fix the bug (driver specifies output file twice when compiling header with -S) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31316. Changes: * gcc.c (default_compilers): Update c-header specs. By applying the patch, run command $ gcc -S foo.h will just

[C] Fix PR57258: unused variable warning is emitted for volatile variables

2013-11-05 Thread Mingjie Xing
Hi, Changes: * c/c-decl.c (pop_scope): Skip volatile variables while emit warnings for unused variables. Tested on i686-pc-linux-gnu. OK? Mingjie Index: gcc/c/c-decl.c === --- gcc/c/c-decl.c (revision 204285) +++

[driver] Force options Wa, Wl, Wp, to take a mandatory argument

2013-11-03 Thread Mingjie Xing
Hello, This patch forces options Wa, Wl, Wp, to take a mandatory argument, which can fix the bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55651. Tested on i686-pc-linux-gnu. 2013-11-04 Mingjie Xing mingjie.x...@gmail.com * common.opt (Wa, Wl, Wp,): Change JoinedOrMissing to Joined

HelloGCC 2012 Workshop calls for topic speakers

2012-09-17 Thread Mingjie Xing
Hello, HelloGcc Working Group was set up in 2007 by Chinese free software fans and developers in Beijing. With the goal of constructing a free, open, sharing technical community, we not only discuss and learn about GNU toolchains (such as GCC, GDB, Binutils etc) and QEMU, LLVM, etc, provide helps

[doc] Fix typo in gty.texi

2012-08-23 Thread Mingjie Xing
Hi, A very small patch. OK? 2012-08-23 Mingjie Xing mingjie.x...@gmail.com * doc/gty.texi: Fix typo. Index: doc/gty.texi === --- doc/gty.texi(revision 190611) +++ doc/gty.texi(working copy) @@ -666,7

[MIPS] Fix misspelled macro in t-vxworks

2012-05-10 Thread Mingjie Xing
Hello, This patch fix the misspelled macro in t-vxworks. Is it OK? 2012-05-10 Mingjie Xing mingjie.x...@gmail.com * config/mips/t-vxworks: Change MUTLILIB_EXTRA_OPTS to MULTILIB_EXTRA_OPTS. Index: config/mips/t-vxworks

Re: [MIPS] Fix misspelled macro in t-vxworks

2012-05-10 Thread Mingjie Xing
2012/5/11 Richard Sandiford rdsandif...@googlemail.com: Mingjie Xing mingjie.x...@gmail.com writes: This patch fix the misspelled macro in t-vxworks.  Is it OK? 2012-05-10  Mingjie Xing  mingjie.x...@gmail.com         * config/mips/t-vxworks: Change MUTLILIB_EXTRA_OPTS

[gccint-zh] GCC Internals Chinese Translation Project

2012-02-06 Thread Mingjie Xing
Hello, We (gccint-zh contributors) started to translate GCC internals document into Chinese several years ago. The project has been put on svn (http://code.google.com/p/gccint-zh), which is based on GCC internals .texi files, and can be browsed online (http://www.hellogcc.org/gccint). So far,

Re: [gccint-zh] GCC Internals Chinese Translation Project

2012-02-06 Thread Mingjie Xing
2012/2/7 Mingjie Xing mingjie.x...@gmail.com: I'm wondering whether an introduction of this project with a link can be put on GCC wiki, so that more people can know it and join us. Thanks. Now, around 80% is translated. We are still translating the rest and periodically sync from official gcc

Re: struggling with make inside GCC MELT

2012-01-11 Thread Mingjie Xing
2012/1/10 Ian Lance Taylor i...@google.com: Stamp files in make work like this: FILE: STAMP-FILE; @true STAMP-FILE: DEPENDENCIES        commands to create FILE.tmp        move-if-change FILE.tmp FILE        touch $@ What this says is: if any of DEPENDENCIES change, then run the commands

Odd things when change gcc from 3.3 to 3.4

2011-11-15 Thread Mingjie Xing
Hi, Recently, I run into a very odd things when change my gcc toolchain from 3.3.* to 3.4.*. The compiled application such as a simple hello printing, is unable to redirect into a file. $ ./hello hello $ ./hello log $ cat log $ It's a cross toolchain, using binutils-2.16, glibc-2.3.2, with

Re: Odd things when change gcc from 3.3 to 3.4

2011-11-15 Thread Mingjie Xing
2011/11/15 Mingjie Xing mingjie.x...@gmail.com: Hi, Recently, I run into a very odd things when change my gcc toolchain from 3.3.* to 3.4.*.  The compiled application such as a simple hello printing, is unable to redirect into a file. Here's more information generating by strace. $ strace

[doc] Fix a cross reference

2011-11-05 Thread Mingjie Xing
Hello, This small patch fix a cross reference in gcc document. 2011-11-05 Mingjie Xing mingjie.x...@gmail.com * doc/invoke.texi (Wunused-result): Change @pxref{Variable Attributes} to @pxref{Function Attributes}. Is it OK? Thanks Mingjie Index: doc/invoke.texi

CALL FOR PARTICIPATION: HelloGCC Workshop 2011

2011-09-17 Thread Mingjie Xing
HelloGCC 2011 : The 4th Workshop on Opensource Toolchain Beijing, China. Sep. 24th. Opensource toolchains are rapidly gaining importance in many areas from super computing to embedded system. The growth in popularity of opensource toolchains is further driven by the growth in

Re: A visualization of GCC's passes, as a subway map

2011-07-11 Thread Mingjie Xing
2011/7/12 David Malcolm dmalc...@redhat.com: For fun over the weekend I wrote a python script (using my gcc-python-plugin[1]) to render an SVG diagram of GCC's optimization passes (or, at least, based on my understanding of them). This diagram shows the various GCC optimization passes,

Is it a typo in treestruct.def?

2011-06-08 Thread Mingjie Xing
Hi, I find the printable names are both label decl for TS_LABEL_DECL and TS_TYPE_DECL in treestruct.def (trunk), DEFTREESTRUCT(TS_LABEL_DECL, label decl) DEFTREESTRUCT(TS_RESULT_DECL, result decl) DEFTREESTRUCT(TS_CONST_DECL, const decl) DEFTREESTRUCT(TS_TYPE_DECL, label decl) Is it a typo?

[patch] Committed: Fix the printable name typo in treestruct.def

2011-06-08 Thread Mingjie Xing
Hi, This small patch fixes the printable name typo in treestruct.def. I've committed as it is obvious. (http://gcc.gnu.org/ml/gcc/2011-06/msg00083.html) 2011-06-09 Mingjie Xing mingjie.x...@gmail.com * treestruct.def (TS_TYPE_DECL): Fix the printable name typo. Index: treestruct.def

[PATCH] Committed: fix typo in comment

2011-03-21 Thread Mingjie Xing
Hi, I checked the patch in trunk directly since it is obvious. Committed revision 171206. Thanks, Mingjie 2011-03-21 Mingjie Xing mingjie.x...@gmail.com * tree-dfa.c (add_referenced_var): Fix typo in comment. Index: tree-dfa.c

Re: [doc, PATCH] Remove redundant word See before @xref

2011-03-06 Thread Mingjie Xing
2011/3/4 Gerald Pfeifer ger...@pfeifer.com: On Thu, 3 Mar 2011, Mingjie Xing wrote: 2011-03-03  Mingjie Xing  mingjie.x...@gmail.com         * doc/cfg.texi: Remove See before @ref.         * doc/invoke.texi: Likewise. This is fine, thank you.  If you want to apply this to the GCC 4.5

Ping Re: [doc, PATCH] Update the description about ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR

2011-03-06 Thread Mingjie Xing
2011/2/25 Mingjie Xing mingjie.x...@gmail.com: Hi, This patch updates the description about ENTRY_BLOCK_PTR and EXIT_BLOCK_PTR, since their index numbers are no longer negative now. Is it OK? Thanks, Mingjie ChangeLog, 2011-02-25  Mingjie Xing  mingjie.x...@gmail.com        * doc

HelloGcc 2011 Workshop call for topic speakers

2011-02-23 Thread Mingjie Xing
Hello, In case someone is interested with it, I put the notice here. Regards, Mingjie HelloGcc Working Group was set up in 2007 by Chinese free software fans and developers in Beijing. With the goal of constructing a free, open, sharing technical community, we not only discuss and learn about

Does config.h include tm.h for now?

2011-02-21 Thread Mingjie Xing
Hi, I notice that the internals document says The header file config.h includes tm.h and most compiler source files include config.h. in Target Description Macros and Functions section. This may need modification since config.h doesn't include tm.h for now, if I'm not wrong. Thanks, Mingjie

Re: [MIPS] Test case dspr2-MULT is failed

2011-02-17 Thread Mingjie Xing
2011/2/18 Fu, Chao-Ying f...@mips.com: I think your analysis is correct.  We should just delete mips_order_regs_for_local_alloc() in mips.c and delete ADJUST_REG_ALLOC_ORDER in mips.h. Then, 3 accumulators can be used in dspr2-MULT.c and dspr2-MULTU.c now.   Thanks! /*

Re: A problem of our Gcc mirror

2011-02-14 Thread Mingjie Xing
2011/2/15 Harry Wei jiaweiwei.xi...@gmail.com: Hi us,           When i want to download the mirror of Gcc 4.3  from the URL of China it shows broken. The URL is: http://gcc.gnu.org/mirrors.html           You can click China's for a try.  Could anyone do for it. Or i want to take the mirror

Re: [MIPS] Test case dspr2-MULT is failed

2011-01-12 Thread Mingjie Xing
2011/1/7 Chung-Lin Tang clt...@codesourcery.com: I analyzed this testcase regression a while earlier; the direct cause of this is due to mips_order_regs_for_local_alloc(), which now serves as MIPS' ADJUST_REG_ALLOC_ORDER macro. The mips_order_regs_for_local_alloc() function seems to be

[MIPS] Test case dspr2-MULT is failed

2010-12-29 Thread Mingjie Xing
Hi, There are two test cases failed when run 'make check-gcc RUNTESTFLAGS=mips.exp'. The log is, Executing on host: /home/xmj/tools/build-test-trunk-mips/gcc/xgcc -B/home/xmj/tools/build-test-trunk-mips/gcc/ /home/xmj/tools/test-trunk/gcc/testsuite/gcc.target/mips/dspr2-MULT.c

Miss head file diagnostic.h in plugin.h?

2010-11-26 Thread Mingjie Xing
Hi, When I try to build my plugin, I get such errors, In file included from ../../gcc-vcg-plugin/vcg-plugin/gcc-function.c:27:0: /home/eric/install/trunk/lib/gcc/i686-pc-linux-gnu/4.6.0/plugin/include/plugin.h:35:65: error: expected ‘)’ before ‘*’ token In file included from

Change macro SHIFT_COUNT_TRUNCATED to target hook TARGET_SHIFT_COUNT_TRUNCATED?

2010-08-24 Thread Mingjie Xing
Hello, I have a problem about the definition of SHIFT_COUNT_TRUNCATED. MIPS is a SHIFT_COUNT_TRUNCATED target, and has it defined as 1. While loongson-specific vector insns are not SHIFT_COUNT_TRUNCATED. That means that the macro depends on the machine mode. One simple resolution may be,